Datasheet

NXP Semiconductors
UM11121
LPCXpresso51U68
UM11121
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2018. All rights reserved.
User manual
Rev 1.1 27 April 27, 2018
9 of 22
6. Allow about 10 seconds for the LPCXpresso51U68 devices to enumerate for the first
time; the device will appear as “LPC Device”.
7. If the first attempt to debug a project fails in the IDE, cancel the debug session and
repower the board. On some machines the drivers take longer to enumerate for the
first time, so these steps should correct this issue.
The board is now ready to be used with the MCUXpresso SDK examples for
LPCXpresso51U68.
When the board is used for the first time, it is recommended to force the LPC51U68
target into a known state by performing an ISP boot before attempting to run your first
example code. This can be achieved by pressing and holding down one of the ISP
buttons while pressing and releasing the reset button.
Installation steps to use Keil and IAR tools
Using tools other than MCUXpresso IDE require that the debug probe is programmed
with firmware to support the CMSIS-DAP or SEGGER J-link protocols. While the board is
programmed with CMSIS-DAP compatible firmware during manufacture, you may update
to the latest release available from NXP’s website, as described below.
1. Download and install LPCScrypt or the Windows drivers for LPCXpresso boards
(http://www.nxp.com/lpcutilities). This will install required drivers for the board.
2. Ensure JP7 is open to force the Link2 Debug Probe to boot from internal flash.
3. Ensure jumper JP2 is fitted in position 1-2 (local target powered), and JP1 is not
installed (target SWD enabled). These are the default positions set during board
manufacture.
4. Connect the LPCXpresso51U68 board to the USB port of your host computer,
connecting a micro USB cable to connector J8 (“USB Debug-Link”). The board will
boot and run the pre-installed demo.
5. Allow about 10 seconds for the LPCXpresso51U68 devices to enumerate for the first
time. It is not necessary to check the Hardware Manager, however if this is done
there will be five devices; four under Human Interface Devices (CMSIS-DAP, LPC-
SIO, two HID Compliant Devices, and a USB Input Device) and one under Ports
(LPC-LinkII Ucom.)
6. Run either the “Program LPC-Link2 with CMSIS-DAP” or “Program LPC-Link2 with
SEGGER J-link” script provided in your LPCScrypt installation, and follow the on-
screen instructions. These scripts can be seen in the Windows Start menu for the
LPCScrypt installation.
7. After the script has run, remove JP7 and power cycle the board (note that resetting
the board does not reset the Link2, so power cycling is required).
8. Your board is now ready to use with your 3rd party tool. Follow the instructions for
those tools for using a CMSIS-DAP probe.
When the board is used for the first time, it is recommended to force the LPC51U68
target into known state by performing an ISP boot before attempting to run your first
example code. This can be achieved by pressing and holding down one of the ISP
buttons while pressing and releasing the reset button.