
UM11082
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2018. All rights reserved.
User Manual
Rev. 1.1 — 12 January 2018
12 of 18
NXP Semiconductors
LPC8N04 Development Board
User Manual
Note that in the demo application (app_demo) from the Code Bundle (and
pre-programmed into the board, as described earlier) P0_10 and P011 are set up for SWD
functionality when the board starts up, but if/when NFC is activated, the I/O functionality
changes to GPIO mode. To allow debugging when NFC is activate, the code to switch this
I/O functionality should be removed.
The rest of this section describes specific setup steps for MCUXpresso IDE, and provides
guidelines for using other IDEs, using the on-board debug probe. When using an external
debug probe the steps are identical except for the selection of the target probe (which will
vary by IDE use). See
Section 4.1
for more information on using an external debug probe.
3.3.1 Using MCUXpresso IDE (using on-board debug probe)
Note that MCUXpresso IDE has built-in knowledge of the LPC8N04 part family, so does
not require any SDK installation steps. Follow the steps below to build and run the
application example from the LPC8N04 Board support package provided by NXP.
1. LPC8N04 driver firmware and the demo application for the LPC8N04 can be
downloaded from nxp.com: http://www.nxp.com/demoboard/OM40002 (look under
Software and Tools tab.) Select the MCUXpresso IDE version when downloading.
2. Open a new workspace in the MCUXpresso IDE.
3. In the Quickstart panel of the IDE, click in “Import a new project from the file system”
4. In the “Import project(s) from file system...” dialog box that opens, click “Browse...” in
the Project Archive (from zip) section, and select the LPC8N04 code zip file
downloaded in step (1) above. Click “Next >” on the “Import project(s) from file
system...” dialog to continue.
5. You will several projects listed in the project bundle; click “Finish” to import them all.
6. The dialog box will close, and you will see the imported projects in the Project tab at
the upper left window of the IDE. Click on app_demo to select it, then select Build
from the Quickstart panel. This is the same firmware as pre-loaded in the Board
during manufacture. You will see the build processing in the Console window to the
right of the Quickstart panel. The projects are set up to include dependency checking,
so the build process will automatically build the utility and peripheral libraries as well
as the example program.
7. Ensuring the LPC8N04 Development Board is connected to the host computer, click
Debug in the Quickstart panel. The IDE will search for available debug probes. Select
the debug probe that appears for your board, then click OK. Note that the IDE will
remember your selection for the next time you debug this project, so will not prompt
for this again, unless it cannot find the board.
8. The code will execute to main. Press F8 to resume and run the program. You will now
be able to interact with the demonstration, as described in
Section 3.2
.
3.3.2 Using 3rd Party IDEs
LPC8N04 driver firmware and the demo application for the LPC8N04 can be downloaded
(from February 2018) from nxp.com: http://www.nxp.com/demoboard/OM40002 (look
under Software and Tools tab.) Projects are provided with Keil MDK and IAR EWARM
projects.