Keil Logo

Downloading to Flash with CMSIS-DAP

Download using the CMSIS-DAP driver. The steps to setup CMSIS-DAP for Programming Flash within µVision IDE for the mcb54110 board are:

  1. Connect to USB LINK connector of the mcb54110 Board. This applies powers the mcb54110 board.

    mcb54110 Board Connected via CMSIS-DAP Adapter

  2. Configure Flash Programming in the Project — Options for Target — Utilities dialog.

    Use Target Driver Option Set the Use Target Driver for Flash Programming option, then select the CMSIS-DAP Debugger as the Flash programming tool.

    Update Target Option Check the Update Target before Debugging option to ensure that the Flash ROM gets programmed whenever the debugger starts.

    Settings Button Click the Settings button to open the Flash Download Setup dialog for the next step.

  3. Configure the Flash Download Setup dialog as follows:

    Flash Download FunctionSet the Download Function options by first selecting Erase Sectors used by the application, then check Program and Verify to verify the Flash contains the downloaded application.

    RAM for Algorithm SettingIn the RAM for Algorithm section, set the Start location for for the flash programming algorithm to 0x20000000 in RAM and set the Size to 0x1000.

    Programming AlgorithmClick the Add button and find the LPC5411x IAP 256kB Flash programming algorithm in the list of available algorithms. Select it, then click the Add button to add it to your target.

    Finally, click the OK button to save the Flash Download settings, then OK again to save the target options.

  4. Download to Flash

    Download To Flash ButtonClick the Download to Flash toolbar button. This executes the Flash download program (Target Driver or External) selected in Project — Options for Target — Utilities and downloads the application program into the LPC1549 device.


    Use the µVision command Flash — Download to download the application program into the LPC54114 device.

    CMSIS-DAP can be also used for application code debugging in Flash ROM or RAM of the LPC54114 microcontroller.

More information about setting up CMSIS-DAP for downloading Flash within µVision IDE can be found at the following page in the CMSIS-DAP Debugger User's Guide.

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.