• Design Considerations for Debug

    Debug related signals and considerations  JTAG was the traditional mechanism for debug connections for ARM7/9 parts, but with the Cortex-M family, ARM introduced the Serial Wire Debug (SWD) Interface. SWD is des...
    LPCware Support
    last modified by LPCware Support
  • User loadable flash drivers

    NOTE : This FAQ refers to the flash driver interface used by LPCXpresso IDE v7.5.0 and earlier.   LPCXpresso IDE is distributed with various examples of user loadable flash drivers, for a variety of devices. How...
    LPCware Support
    last modified by LPCware Support
  • LPC-Link2 fails to enumerate with CMSIS-DAP firmware

    Notes: This FAQ applies to both the standalone version of LPC-Link2, as well as the version built into LPCXpresso V2/V3 boards. For further background information see the FAQ: Booting LPC-Link2   Introduction&#...
    LPCware Support
    last modified by LPCware Support
  • 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
  • Enabling ROM divide causes hard fault on LPC11U1x

    As described in the FAQ "ROM Divide", the LPCXpresso IDE provides support for making use of the ROM Divide routines contained in certain Cortex-M0 / M0+ MCUs, including the LPC11Uxx family of parts.   However it...
    LPCware Support
    last modified by LPCware Support
  • Using an LPC-Link2 as an LPC4370 evaluation board

    As well as being a standalone debug probe, the LPC-Link2 can also be used as a simple LPC4370 evaluation board. The following notes may assist in such usage.   Debug connection  Make sure that you have conn...
    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
  • make fails with 'Virtual Alloc pointer is null' error

    Very rarely, building a project on Windows may result in an error similar to this:   0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487 AllocationBase 0x0, BaseAddress 0x71110000, RegionSiz...
    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
  • Which debug probes are supported by LPCXpresso IDE with which MCUs?

    Primary debug probes  The following debug probes are directly supported by LPCXpresso IDE for general debug connections:   LPC-Link2  The LPC-Link2 debug probe is available as a standalone debug probe...
    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
  • Activating LPCXpresso Free Edition

    Background    When LPCXpresso IDE is first installed it will initially run with an unregistered license. Although most of the features of the product may be used, the maximum size of application that you ca...
    LPCware Support
    last modified by LPCware Support
  • Activating LPCXpresso Pro Edition

    To enable the features of LPCXpresso (Pro Edition), a activation code must be purchased from the NXP LPCXpresso webstore.   The first time this Activation code is used, the following steps are required:   ...
    LPCware Support
    last modified by LPCware Support
  • CMSIS-DAP support in LPCXpresso

    CMSIS-DAP is an interface defined by ARM that provides a standardized way to access the Coresight Debug Access Port (DAP) of an ARM Cortex microcontroller via USB. For more information on CMSIS-DAP, please visit the A...
    LPCware Support
    last modified by LPCware Support
  • 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
  • Regaining debug access to target MCU

    It is possible to download an image into the flash on the target that will then prevent any further debug access or connections. The classic cases of this are:   The image contains code that sets the MCU clocks ...
    LPCware Support
    last modified by LPCware Support
  • Booting LPC-Link2

    Overview  The recommended way to use LPC-Link2 with the LPCXpresso IDE is to boot and soft load a debug firmware image at the start of a debug session.   Normally, LPC-Link 2 is booted automatically, howev...
    LPCware Support
    last modified by LPCware Support
  • 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