The Link2 Debug Probe is implemented using an LPC432x MCU (circuit reference U21),
which provides a high speed USB port interface to the host computer that runs the
development tools. This device is not intended for developer use, and should only be
used with approved firmware images from NXP. The Link2 on-chip flash memory is
factory programmed with a firmware image that supports CMSIS-DAP debug protocol,
but also includes several other USB end point functions:
• Virtual COM (VCOM) port: a serial device that can be used with any host computer
application design for serial port communication (e.g. Teraterm, puTTY, etc.) Set the
terminal program for baud rate to 115200, no parity, 8 bit data, 1 stop bit, no flow
control.
• SWO trace end point: this virtual device is used by MCUXpresso to retrieve SWO
trace data. See the MCUXpresso IDE documentation for more information.
• Power measurement probe: this virtual device is used by MCUXpresso to retrieve
power measurement data from boards that support this feature (e.g. LPCXpresso V3
boards, including the LPCXpresso546x8/540xx.) See Section 8 for more details on
this feature.
• I2S/SPI bridges: bridge device from I2C and SPI ports of the
LPC546x8/540xx/54S0xx target.
All of these devices are independent of each other and of the CMSIS-DAP debug device
that is enumerated when the board is connected to a host computer; for example, the
VCOM port can be used if the board is running an application when no debugger is
running.
In order to correctly install and use the Link2 device on the
LPCXpresso546x8/540xx/54S0xx (required for any debugging purpose) for Windows
host computers, install the drivers first. These drivers will automatically be installed when
MCUXpresso IDE has already been installed. If these IDEs are not being used, it is
recommended LPCScrypt be installed as this also includes the required drivers. All these
tools and utilities are available for free download at www.nxp.com.
The CMSIS-DAP firmware image installed at the factory (and by LPCScrypt) will uniquely
identify itself to the host computer so that more than one board can be connected to that
host computer at any time. Some toolchains cannot discern between multiple debug
devices; refer to your toolchain documentation for more information (note the
MCUXpresso does support multiple LPCXpresso board targets.) It is strongly
recommended that LPCScrypt be used to update the Debug Probe firmware in order to
ensure the latest version is being used (see Section 4.2.)
Note: The Link2 only boots when the board is power cycled; the reset button on the
board does not reset the Link2.
When using MCUXpresso IDE, the Link2 can be automatically booted with the latest /
most appropriate firmware for that IDE version by installing JP5 before powering up the
board. This is the recommended approach for the MCUXpresso IDE. Note that if JP5 is
installed the VCOM port (and other devices mentioned above) device will not appear until
the IDE boots the Debug Probe. The Debug Probe is booted once a debug session is
started (that is, the IDE attempts to download code to the target).