• 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
  • Installing LPCXpresso on Linux

    Due to the huge variation in capabilities of different Linux distributions, LPCXpresso is only tested and supported on recent distributions of Ubuntu and Fedora. The LPCXpresso IDE *may* work on other distributions bu...
    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
  • Freemarker Linker Script Templates

    Freemarker Linker Script Templates  By default, LPCXpresso IDE projects use a managed linker script mechanism which automatically generates a linker script file without user intervention - allowing the project c...
    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
  • itoa() and uitoa() in Redlib

    itoa() is non-standard library function which is provided in many other toolchains to convert an integer to a string. To ease porting, the LPCXpresso IDE provides two variants of this function in the Redlib C library....
    LPCware Support
    last modified by LPCware Support
  • What upgrades to LPCXpresso (Pro Edition) are available for existing Red Suite users?

    Following the release of LPCXpresso (Pro Edition), an number of upgrade offers were made available to users of the Code Red "Red Suite" family of products who still had valid support and maintenance entitlement. As al...
    LPCware Support
    last modified by LPCware Support
  • 02: Failed on connect: Ep(01). Target marked as not debuggable

    If the error "02: Failed on connect: Ep(01). Target marked as not debuggable" is seen when trying to start a debug connection, this normally means one of:   The cable between the debug probe (e.g. Red Probe+, LP...
    LPCware Support
    last modified by LPCware Support
  • "Connection Refused" error when starting a debug session on Linux

    On some Linux systems, when starting a debug session a "Connection refused" error may be displayed. This is because a critical system library is not installed where we expect to find it. The location of the library de...
    LPCware Support
    last modified by LPCware Support
  • 10: Could not start execution from stop

    Sometimes, when start a debug session - typically when a CMSIS-DAP probe, you may see an error message of the form: 10: Could not start execution from stop ACK Fault In this situation, try modifying the "Reset Handlin...
    LPCware Support
    last modified by LPCware Support
  • 15: Target error from Commit Flash write

    Errors of the form "15: Target error from Commit Flash write" are typically reported when the debugger is attempting to write to the flash, and the verify fails.   The most common cause for this error is insuffi...
    LPCware Support
    last modified by LPCware Support
  • 15: Target error from Register access: Ee(FF). Undocumented error.

    Occasionally when terminating a debug connection, you may see an error message of the form:   15: Target error from Register access: Ee(FF). Undocumented error.   The cause of this is under investigation fo...
    LPCware Support
    last modified by LPCware Support
  • 53: License does not permit flash operations from the command line

    If you try to directly use the GUI flash programmer, or the command line flash programmer, but have not activated your LPCXpresso license, then you will see an error such as:   53: License does not permit flash o...
    LPCware Support
    last modified by LPCware Support
  • 16: Target error from status-poll: Ee(02). Not connected to emulator

    During a debug session, whilst your target is executing , the debug tools will poll the target to determine whether it has halted on a breakpoint or event. A "16: Target error from status-poll: Ee(02). Not connected t...
    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
  • All SWD targets are currently connected to other debug sessions

    In LPCXpresso IDE if you attempt to start a debug session whilst there is already an existing debug session made, then you will see the error of the form:   All SWD targets are currently connected to other debug ...
    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
  • Booting LPC-Link

    Normally, LPC-Link is booted automatically when starting a debug session via the LPCXpresso IDE. However, under certain circumstances - such as when using the command line flash utility, you may need to boot it manua...
    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