
NXP Semiconductors
UM11192
User Manual for LPCXpresso54S018M Development Board
UM11192
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2019. All rights reserved.
User manual
Rev. 1.0
— 13th February 2019
12 of 34
3. Getting Started
The LPCXpresso54S018M board is pre-programmed with a spirit level demonstration
and self-test diagnostic program. The spirit level demonstration uses the User LEDs and
on-board accelerometer. Connect a micro USB cable from connector J1 to a power
source (computer or power supply), place the board on a flat surface, and the 3 User
LEDs will all light; tilting the board (rotating about the axis of the horizontal center of the
board) will cause the LED pattern to change to illustrate the angle of tilt.
The pre-programmed application also includes a suite of self-test functions. Please see
Section 4 for full details of that application.
3.1 Starting a debug session using the on-board (Link2) Debug Probe
By default, the LPCXpresso54S018M is configured to use the on-board Debug Probe
(Link2) to debug the on-board target (LPC54S018J4M), using the CMSIS-DAP debug
protocol pre-programmed into the Link2 Flash memory. The MCUXpresso IDE or other
development tools that support the CMSIS-DAP protocol can be used in the default
configuration.
Note that when using the MCUXpresso IDE, the on-board Link2 can also be booted in
DFU mode by installing a jumper on JP5; if this is done then the IDE will download
CMSIS-DAP to the probe as needed. Using DFU boot mode will ensure that the most up-
to-date / compatible firmware image is used with the MCUXpresso IDE. Note that spare
jumpers are provided in the board packaging.
NOTE: if the Debug Probe is set up to boot in DFU mode, the USB bridge functions
(virtual comm port) and Debug Probe features will not be available if the board is not first
initialized by the MCUXpresso IDE.
For further information and tutorial videos please visit the Getting Started tab on the
https://www.nxp.com/demoboard/LPC54S018M-EVK
board page.
3.1.1 Installation steps for use with MCUXpresso IDE
1. Download and install the MCUXpresso IDE.
2. Configure and download an SDK package (with the MCUXpresso IDE tool chain
option selected) from the MCUXpresso SDK Builder utility
(
http://mcuxpresso.nxp.com
), or use the pre-built example available in the online
Getting Started Guide tutorial.
3. Start the IDE, using a new or already created workspace. Drag and drop the SDK
package zip file into the Installed SDK panel at the bottom right of the IDE.
4.
In the Quickstart panel at the bottom right of the IDE, select “Import SDK
example(s)…”. Select the board you are using in the dialog that appears, click Next
then select example(s) from the demo_apps or driver_examples, then click Finish.
5. Click on the project you imported in the Project Explorer at the left panel in the IDE,
the click “Build” in the Quickstart panel. Monitor the Console window at the bottom
right panel of the IDE to see the build process complete.
6. Recommended: Install JP5 to force the Link2 Debug Probe to boot in DFU mode
before powering the board (see notes above).