标签:
The recommended way to use LPC-Link2 with the LPCXpresso IDE is to boot and soft load a debug firmware image at the start of a debug session.
Normally, LPC-Link 2 is booted automatically, however under certain circumstances - such as when using the command line flash utility, you may need to boot it manually.
Note: Both the LPCXpresso V2/V3 boards and RDB4078 incorporate a built in LPC-Link2 debug probe, so this FAQ equally applies to these boards.
Note: This FAQ only applies to LPC-Link2 hardware when configured to operate in DFU mode, it does not apply if the LPC-Link2 hardware is configured to boot from a debug firmware image held in flash such as CMSIS-DAP.
When powered on, LPC-Link 2 hardware makes use of the DFU mechanism (Device Firmware Update)
to allow the LPCXpresso IDE to download debug firmware into the on-board RAM.
This scheme offers great flexibility and ensures that the latest compatible firmware will be used for a given version of the IDE.
Before boot, LPC-Link 2 appears as a USB device with details:
For LPCXpresso IDE prior to v7.8: After boot, LPC-Link2 will by default appear as a USB device with details:
From LPCXpresso IDE v7.8 onwards: After boot, LPC-Link2 will by default appear as a USB device with details:
For information on setting the LPCXpresso IDE default debug firmware see: Configuring which LPC-Link2 firmware image to soft-load
Note: the standard utilities to explore USB devices on our supported host platforms are:
The procedure to manually boot the probe is shown below.
From LPCXpresso IDE version 7.3x and later, we now supply a boot script for all supported platforms. To make use of this script:
For version of LPCXpresso IDE earlier than version 7.3 - you will need to locate the dfu-util utility and pass the parameters for the device and code etc. as below:
cd <install_dir>\lpcxpresso\bin and run
It is also possible to manually boot LPC-Link 2 from the GUI, on occasion this may be a more convenient solution than using the command line.
To do this, locate the red Boot icon on the Toolbar:
If you have been able to use LPC-Link 2 in a debug session but now see issues such as "No compatible emulator available"
or "Priority 0 connection to this core already taken" when trying to perform a debug operation ...
If your host has never worked with LPC-Link 2, first perform some basic checks with reference to the background information at the beginning of this FAQ.
LPCXpresso range of development boards from NXP which include the LPC-Link 2 interface can be firmware updated to include mbed USB disk programming capabilities.
Below is a quick guide to how to carry out this update.
You should now have an mbed flash disk for drag and drop programming
Booting LPC-Link2, Updating LPCXpresso firmware
标签:
原文地址:http://www.cnblogs.com/shangdawei/p/4775897.html