お客様の素早い設計とより早い製品化を実現する、技術情報と専門知識をご紹介します。
1
Plug It In2
Get Software3
Build, RunLet's take your LPCXpresso54018 board for a test drive! You have the choice of watching the sequence in a short video or following the detailed actions list below.
Something went wrong! Please try again.
Your LPCXpresso54018 board comes preloaded with a graphical HMI demo developed using emWIN. Using your finger or a touch stylus, you can select a color from the palette on the left of the LCD screen, and draw freehand pictures. Touch the CLR button to erase your drawings.
Something went wrong! Please try again.
The MCUXpresso Software Development Kit (SDK) is complimentary and includes full source code under a permissive open-source license for all hardware abstraction and peripheral driver software.
Click below to download a pre-configured SDK release for the LPCXpresso54018, which includes versions for MCUXpresso IDE, Keil MDK and IAR EWArm. Use LPCXpresso54018 as the target board.
You can also use the online MCUXpresso web tool to create a custom SDK package for the LPCXpresso54018 using the SDK builder.
Something went wrong! Please try again.
NXP offers a free, GNU/Eclipse based toolchain called MCUXpresso IDE.
Get MCUXpresso IDEWant to use a different toolchain?
No problem! The MCUXpresso SDK includes support for other tools such as IAR and Keil.
To set up your LPCXpresso54018 for use with 3rd party tools, first install LPCScrypt in order to install the board’s device drivers. The video below shows how to use LPCScrypt to program your board’s debug probe using this utility.
The video on this Getting Started section are for LPCXpresso54608, but the steps are the same for LPCXpresso54018.
Something went wrong! Please try again.
The MCUXpresso Config Tool is an integrated suite of configuration tools that guides users in creating new MCUXpresso SDK projects, and provides pin and clock tools to generate initialization C code for custom board support.
Something went wrong! Please try again.
Most of the MCUXpresso SDK examples set up for IAR and Keil tools use the MCU UART for printf output, and this is also an option for the MCUXpresso IDE. If you are not sure how to use a terminal application try one of these tutorials:
Not sure how to use a terminal application? Try one of these tutorials:
Tera Term is a very popular open source terminal emulation application. This program can be used to display information sent from your NXP development platform's virtual serial port.
PuTTY is a popular terminal emulation application. This program can be used to display information sent from your NXP development platform's virtual serial port.
Something went wrong! Please try again.
The MCUXpresso SDK comes with a long list of example applications code. To see what's available, browse to the SDK boards folder of your SDK installation and select LPCXpresso54018 ( /boards/LPCXpresso54018).
To learn more about specific example code, open the readme.txt file in an example’s directory.
Something went wrong! Please try again.
If one or more of the demo applications or driver examples sounds interesting, you're probably wanting to know how you can build and debug yourself. The Getting Started with SDK for LPC540xx guide provides easy, step-by-step instructions on how to configure, build, and debug demos for all toolchains supported by the SDK.
Use the guide below to learn how to open, build and debug an example application using the MCUXpresso IDE.
The video on this Getting Started section are for LPCXpresso54608, but the steps are the same for LPCXpresso54018.
Using a different toolchain?
The following steps will guide you through opening the led_output application. These steps may change slightly for other example applications as some of these applications may have additional layers of folders in their path.
If not already done, open the desired example application workspace. Most example application workspace files can be located using the following path:
Using the hello_world demo as an example, the path is:
Select the desired build target from the drop-down. For this example, select the “hello_world – Debug” target.
To build the application, click the “Make” button, highlighted in red below.
The build will complete without errors.:
The LPCXpresso54018 board comes loaded with the CMSIS-DAP debug interface from the factory. Connect the development platform to your PC via USB cable to J8 “Debug Link”.
Click the "Download and Debug" button to download the application to the target.
The application is then downloaded to the target and automatically runs to the main() function.
Run the code by clicking the "Go" button to start the application.
After the MDK tools are installed, Cortex® Microcontroller Software Interface Standard (CMSIS) device packs must be installed to fully support the device from a debug perspective. These packs include things such as memory map information, register definitions and flash programming algorithms. Follow these steps to install the appropriate CMSIS pack.
Open the MDK IDE, which is called µVision. In the IDE, select the "Pack Installer" icon.
2. In the Pack Installer window, navigate to the section with the LPC packs (they are in alphabetical order). The Kinetis packs start with "Keil::LPC" and are followed by the MCU family name, for example "Keil::LPC54000". Because this example uses the LPCXpresso54018 platform, the LPC54000 family pack is selected. Click on the "Install" button next to the pack. This process requires an internet connection to successfully complete.
After the installation finishes, close the Pack Installer window and return to the µVision IDE.
The following steps will guide you through opening the gpio_led_output application. These steps may change slightly for other example applications as some of these applications may have additional layers of folders in their path.
If not already done, open the desired demo application workspace in:
The workspace file is named
To build the demo project, select the "Rebuild" button, highlighted in red.
The build will complete without errors.
The LPCXpresso54018 board comes loaded with CMSIS-DAP debug interface from the factory.
Something went wrong! Please try again.