![NXP Semiconductors LPCXpresso804 Скачать руководство пользователя страница 7](http://html1.mh-extra.com/html/nxp-semiconductors/lpcxpresso804/lpcxpresso804_user-manual_1722049007.webp)
UM11083
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2018. All rights reserved.
User Manual
Rev. 1.1 — 24 September 2018
7 of 16
NXP Semiconductors
LPCXpresso804
User Manual
Follow the steps below to build and run a simple example from the LPC804 Code Bundles
provided by NXP.
1. Code Bundles for the LPC8xx family are included in the MCUXpresso IDE installation.
These can also be downloaded from nxp.com (in case of any updates between IDE
releases):
http://www.nxp.com/products/software-and-tools/software-development-tools/softwar
e-tools/lpc800-code-bundles:LPC800-Code-Bundles.
2. Open a new workspace in the 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 LPC804 Code Bundle zip file
from the Code Bundles directory in the MCUXpresso IDE installation (or select a
version downloaded from nxp.com, as described in Step 1 above.) Click “Next >” on
the “Import project(s) from file system...” dialog to continue.
5. You will see several projects listed in the Code 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 Example_Multi_Timer_Blinky to select it,
then select Build from the Quickstart panel. 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 LPCXpresso804 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
see the User LEDs light, each color in turn.
3.3 Using LPCXpresso804 with 3rd Party IDEs
Once the board device drivers have been installed (as described at the start of this
section), the board can be used with 3rd party development tools. Set up will vary
between Development Tools, but the board debug probe should supported as a
CMSIS-DAP probe in all cases).
Code Bundles, including sample projects for Keil MDK and IAR EWARM, are available
from NXP’s website at
http://www.nxp.com/products/software-and-tools/software-development-tools/software-to
ols/lpc800-code-bundles:LPC800-Code-Bundles. Refer to the readme files provided with
each code bundle in order to build/debug.
When using Keil MDK, install the Device Pack for the LPC804 (available for download
from within the Keil IDE) before attempting to use the board.
When using IAR EWARM, ensure that you have version 8.20.3 or later in order to have
LPC804 device family support.