LPC-Link2 Debug Probe firmware programming

cancel
Showing results for 
Search instead for 
Did you mean: 

LPC-Link2 Debug Probe firmware programming

4,851 Views
lpcware-support
Senior Contributor I

When using a LPC-Link2 debug probe (including those built in to LPCXpresso V2 / V3 boards) with the LPCXpresso IDE|NXP , the normal mode of operation is to soft-load a suitable debug firmware image when the first debug connection is made.

However in some circumstances - such as when using LPC-Link2 with another toolchain, the debug probe flash memory will need to be programmed with a suitable firmware image.

The recommended way of performing this task is to use the LPCScrypt|NXP flash programming tool.

This tool contains the latest versions of the NXP CMSIS-DAP (v5.112 or later) and Segger J-Link debug probe firmware, along with programming scripts and comprehensive documentation (attached).

The screenshot below shows LPCScrypt programming an LPC-Link2 debug probe:

145150_145150.pngpastedImage_0.png

To use:

  1. Install LPCScrypt
  2. For LPC-Link2: remove link JP1 (nearest USB), for LPCXpresso V2/V3: make DFU link
  3. Connect the probe to the host via USB
  4. Run the desired programming script
  5. For LPC-Link2: restore link JP1 (nearest USB), for LPCXpresso V2/V3: remove DFU link
  6. Re-power the board

For convenience, the programming operation can be performed from LPCScrypt Start Menu short cuts when running under Windows.

Video demonstrating LPCScrypt to program debug probe firm:

LPC Tips & Tricks: LPCScrypt

For more information and LPCScrypt downloads, please see:LPCScrypt|NXP

Additional Information

Labels (1)
0 Replies