• LPC40xx SPIFI Flash Driver

    New In LPCXpresso IDE v8.20 is support for SPIFI flash programming on the LPC407x and LPC408x MCUs.   Introduction  The NXP LPC40xx series of MCUs support the connection of external SPIFI flash devices to e...
    peter.henry
    last modified by ebiz_ws_prod
  • How to use ITM Printf

    Updated: Now also compatible with the newlib nohost library.   ITM Overview  As part of its SWO Trace functionality, LPCXpresso IDE v8.0.0 introduced the ability to make use of the ITM : The Instrumentation...
    LPCware Support
    last modified by LPCware Support
  • Configuring projects to span multiple flash devices

    Background Historically, LPCXpresso IDE could only associate a single flash driver with a particular project. This meant that if the target system had more than one type of flash (typically an LPC18xx / LPC43xx with i...
    LPCware Support
    last modified by LPCware Support
  • Building projects from the command line

    LPCXpresso IDE supports options to control building projects from the command line, enabling a build process to be automated. To perform a command line build, the following steps will need to be followed:   Open...
    LPCware Support
    last modified by LPCware Support
  • Linker script templates

    This FAQ relates to LPCXpresso IDE v 7.8.0 and earlier. For later versions, please see: Freemarker Linker Script Templates    The LPCXpresso IDE makes use of a template linker script which is t...
    LPCware Support
    last modified by LPCware Support
  • Gray folders

    Hi,   I try to implement a Vcom Port (CDC) on an PN7462. I need to use USBD_ROMStack. But this folder is greyed out and strike through. I searched a lot, but wasn't able to find the meanig of the grey folders ...
    Mario Berger
    last modified by Mario Berger
  • Where can I get training resources for LPCXpresso IDE?

    A 3 hour training session on the LPCXpresso IDE was held at FTF 2016, and the training materials from that course are available here: DES-N1973 Hands-On Workshop Master Development on the LPCXpresso Toolchain with Ou...
    Brendon Slade
    last modified by Brendon Slade
  • Changing a project's MCU target

    The project MCU target defines the build and debug settings for your target device - compiler settings, memory layout for linker scripts and debug launch configurations.   For application projects, you should al...
    LPCware Support
    last modified by LPCware Support
  • Debugger disconnect behavior

    When the debugger disconnects from the target, you control the behavior of the target processor using the process described below.   1. Select the project in the Project Explorer     2. Refer to the...
  • Relocating code from FLASH to RAM

    Introduction  In most modern MCUs with built-in flash memory, code is normally executed directly from flash memory.  Various techniques, such as pre-fetch buffering, are used to ensure that code will execut...
    LPCware Support
    last modified by LPCware Support
  • CMSIS support in LPCXpresso IDE

    The use of LPCOpen is now recommend for most LPC MCUs, rather than the 'old-style' CMSIS-CORE library projects and examples. For more details please see the LPCXpresso IDE User Manual, and visit the LPCOpen webpages. ...
    LPCware Support
    last modified by LPCware Support
  • Newlib-Nano Support

    LPCXpresso v7 introduced a new C library to complement the existing 'Redlib' and 'Newlib' libraries - Newlib-Nano (sometimes written as NewlibNano).   Newlib-Nano was produced as part of ARM's "GNU Tools for ARM...
    LPCware Support
    last modified by LPCware Support
  • Adding Include paths to a project

    When including header files into your project, the compiler must be told which directories must be searched to find those files. To do this: Open the Project properties. There are a number of ways of doing this. For ...
    LPCware Support
    last modified by LPCware Support
  • Application Flash / RAM size

    Size information produced by build  As part of the build process, information on the size of your application will normally be displayed at the end of the build log in the Console view. This is done by a post-bu...
    LPCware Support
    last modified by LPCware Support
  • Build Macros

    A list of available Build Macros (variables) can be found by Selecting the project Opening its properties Select C/C++ Build Click on Build Variables Ensure Show system variables is checked   File-specific m...
    LPCware Support
    last modified by LPCware Support
  • Code Read Protection (CRP)

    Background  NXP's LPC Cortex-M and ARM7 based MCUs which contain internal flash memory contain "Code Read Protection" (CRP) support. This mechanism uses one of a number of known values being placed in a specific...
    LPCware Support
    last modified by LPCware Support
  • Compiler defines for LPC43xx Multicore projects

    Historically the LPCXpresso LPC43xx project wizards created a number of compiler defines at the time a multicore master project was created that could be used to determine what slave projects were linked to the master...
    LPCware Support
    last modified by LPCware Support
  • Compiler Optimization

    The GNU compiler offers a variety of different optimization options. This FAQ considers how these can be used and the effect that they have.   Compiling for better performance  The four basic optimization o...
    LPCware Support
    last modified by LPCware Support
  • Configuring an LPC43xx debug connection to use SWD

    NOTE : In LPCXpresso IDE v7.8.0 and later, when you first debug a project, you will be given the option to select SWD (enabling the use of SWO Trace) or JTAG (to support multicore debugging). This typically avoids the...
    LPCware Support
    last modified by LPCware Support
  • Configuring which LPC-Link2 firmware image to soft-load

    LPCXpresso IDE will normally try to soft-load a firmware image when debugging via an LPC-Link2 debug probe (including those built in to LPCXpresso V2 / V3 boards).   From LPCXpresso IDE v7.8.0, the default is to...
    LPCware Support
    last modified by LPCware Support