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: Any drivers required for LPC-Link2 are automatically installed during an LPCXpresso IDE installation.
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. If you wish to program a debug firmware image into flash please see the LPCScrypt tool.
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.
Note: For LPC-Link2 to DFU boot: ensure there is no link on JP1 (nearest USB) and power cycle
Note: For LPCXpresso V2/V3 to DFU boot: make DFU link (near debug USB port) and power cycle
Before boot, LPC-Link 2 appears as a USB device with details:
Device VendorID/ProductID: 0x1FC9/0x000C (NXP Semiconductors)
and will appear in Windows -> Devices and Printers similar to below (as of LPCXpresso IDE v8.1, the NXP CMSIS-DAP version number is V5.147):
and will appear in Windows -> Devices and Printers, as below:
From LPCXpresso IDE v7.8 onwards: After boot, LPC-Link2 will by default appear as a USB device with details:
Device VendorID/ProductID: 0x1FC9/0x0090
and will appear in Windows -> Devices and Printers similar to below (as of LPCXpresso IDE v8.1, the NXP CMSIS-DAP version number is V5.147):
Note: LPCXpresso IDE prior to v7.8: After boot, LPC-Link2 will by default appear as a USB device with details:
Device VendorID/ProductID: 0x21BD/0x0006
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:
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:
Ensure CMSIS-DAP is selected and click OK:
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.