User manual
LPCXpresso Experiment Kit - User’s Guide
Page 142
Copyright 2013 © Embedded Artists AB
9.3 Debugging a Project and Downloading
When the project compiles and links without any errors it is time to start debugging – to download the
code to the LPC111x and start executing!
Before starting to debug, make sure the LPCXpresso board is connected (via USB) to the PC. The
code is downloaded to the board via this cable. The LPCXpresso board consists of two parts, one is
the LPC111x processor and the other is the LPC-Link™ side, which is an embedded debug interface.
Click (to select) the project to work with. Click on debug in the Quickstart menu (Start here), see
picture below.
Figure 78 – LPCXpresso IDE Debug Project
In case flashing fails, an error message like below will be displayed. This is an indication that the
debugger could not connect to the LPC111x. The most common reason is that the microcontroller is in
a low-power mode where the debug connection is disabled. Make sure the microcontroller is in
ISP/bootload mode and try again. This is accomplished by pulling pin PIO0_1 low (via 100-1000 ohm
resistor to ground).
Figure 79 – LPCXpresso IDE Program Failing to Flash
1) Click (to select) main project
2) Debug project