
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
14 of 34
3.2 Starting a debug session using an external Debug Probe
Code running on the LPC54S018J4M target can be debugged using an external Debug
Probe that conforms to the standard ARM debug connector. To use an external Debug
Probe connect the probe to the SWD connector (P1) and connect power via the micro
USB connector J1.
Note: The Debug link connector J8 must be left unconnected so that the Link2 Debug
Probe is left unpowered and does not contend with the SWD interface signals from the
external Debug Probe.
4. Self-test demo application
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 (as described earlier in this manual). The self-test application is
available for download from the LPCXpresso54S018M board page under the software
and tools tab.
4.1 Self-test application and VCOM driver installation
The self-test application uses the VCOM port for control and to report self-test results.
For Windows 7 or 8 host platforms, the LPC-Link2 serial port driver must be installed
before attempting to use this feature (unless previously installed). If MCUXpresso IDE or
LPCScrypt has been used on the Host system being employed then this driver will
already have been installed; if not then please download and install LPCScrypt from
https://www.nxp.com/LPCScrypt
. Note that it is not necessary to install these drivers
when using Window 10, MacOS or Linux.
4.1.1 Serial terminal setup
The self-test application is controlled via a serial link to a host computer. You may either
use the VCOM port or attach a serial to USB cable to header P4 and installing a jumper
on JP6.
When using the VCOM option, after completing any necessary VCOM driver installation,
connect the board to a host computer over USB using connector J8 on the Board. The
Board should enumerate on the host computer as several devices, including a VCOM
device called LPC-LinkII VCOM. Note the port number of this device using your host
computer device manager (see Section 5.3 for more details).
Use a serial terminal emulation program (such as PuTTY or TeraTerm), open a
connection to the VCOM port or USB serial cable and set the baud rate to 115200, 8 bits,
not parity and no flow control.
4.1.2 Running self-tests
When the board powers up or reset, the spirit level demo will run. To enter self test
mode, press the User button (SW5). The spirit level demo will stop running, the test
menu will be displayed on the serial terminal and a prompt to enter the test name will be
displayed, as shown in Fig 4. Type the name of the test you wish to run, then press
enter. Tests will return to the prompt after running in most cases, but some tests require
the User button to be pressed to be terminated. Reset can also be pressed to exit test
mode.