Getting Started with the LPCXpresso845-MAX Evaluation Board | NXP Semiconductors

Getting Started with the LPCXpresso845-MAX Evaluation Board

Last Modified: 2022-11-16 14:33:11Supports LPCXpresso845-MAX Board for LPC84x MCU family

1. Plug It In

Let's take your LPCXpresso845-MAX board for a test drive! You have the choice of watching the sequence in a short video orfollowing the detailed actions list below.

1.1 Get Started with LPCXpresso845-MAX Development Platform - Demo

Video Player is loading.
Current Time 0:00
Duration 2:47
Loaded: 0%
Stream Type LIVE
Remaining Time 2:47
 
1x
  • Chapters
  • descriptions off, selected
  • captions off, selected
  • en (Main), selected

    1.2 Install drivers and update debug probe firmware

    Before using your board, it is recommended that you download update the firmware for the LPC11U35 debug probe on the board. Start by downloading the firmware and driver package and from here.

    If using Windows 7 or 8, run the device driver installation executable file that is included in this package.

    Install JP1 then plug in the board:

    845_plug_in

    845_plug_in

    You will see a device called CRP_DISABLED appear in your computer file manager. Go to this drive and delete the file “firmware.bin” from that drive. Drag and drop the firmware.bin file from the firmware and driver package you just downloaded onto the CRP_DISABLED drive. Remove JP1 then disconnect and reconnect the USB cable, then wait a few seconds for the new device driver to install.

    You will notice that once you power the board, blue user LED at the top left of the board will flash. This is a basic program that comes pre-programmed on the LPC845 device to show it is working.

    2. Get Software

    2.1 Jump Start Your Design with the Code Bundles

    Want to learn more about SDK?

    LPC8xx Family Code Bundles are easy to understand drivers and examples, with full source code provided.

    Get Code Bundle Go to Software Tab

    2.2 Install your toolchain

    NXP offers a free, GNU/Eclipse based toolchain called MCUXpresso IDE.

    Get MCUXpresso IDE

    Want to use a different toolchain?

    No problem! The MCUXpresso SDK includes support for other tools such as IAR and Keil .

    2.3 Serial terminal

    Some Code Bundle UART examples set up for IAR and Keil tools use the MCU UART for print 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:

    3. Build, Run

    3.1 Build, Run

    Note that MCUXpresso IDE has built-in knowledge of the LPC84x part family, so does not require any SDK installation steps. Follow the steps below to build and run a simple example from the LPC84x Code Bundles provided by NXP. 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). (Note that MCUXpresso IDE has a link to the Code Bundle Page in the Help → Additional Resources menu).

    1. Open a new workspace in the IDE.

    2. In the Quickstart panel of the IDE, click in “Import project(s) from the file system”.

    3. In the “Import project(s) from file system...” dialog box that opens, click “Browse...” in the Project Archive (from zip) section, and select the LPC84x 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.

    4. You will see several projects listed in the Code Bundle; click “Finish” to import them all.

    5. 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.

    6. Ensuring the LPCXpresso845MAX 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.

    7. 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.2 Building and debugging with MCUXpresso IDE

    Video Player is loading.
    Current Time 0:00
    Duration 3:53
    Loaded: 0%
    Stream Type LIVE
    Remaining Time 3:53
     
    1x
    • Chapters
    • descriptions off, selected
    • captions off, selected
    • en (Main), selected