Keil Logo

Configure Flash Download

The Flash Download dialog controls how Flash memory is programmed in the target device.

Flash Download Setup

Download Function defines the operations that execute when Flash menu commands or Flash download operations are executed in µVision.

Erase settings
Define how the Flash memory is erase before program download.
  • Erase Full Chip: erase the entire Flash memory of the device.
  • Erase Sectors: erase only the sectors used by the program to be downloaded.
  • Do Not Erase: no Flash memory is erased.
Enable this option to execute Flash programming on Flash - Download operations.
Enable this option to verify that Flash memory content matches that program code.
Reset and Run
Start program execution after programming by executing a hardware reset.

RAM for Algorithm defines the memory area where programming algorithms are loaded and executed. This space is usually located in on-chip RAM.

Physical start address of the memory area.
Length of this memory area (in bytes).

Programming Algorithm lists algorithms and memory parameters for Flash download to the target hardware. Select a Flash memory region from the list to change parameters.

Physical start address of the Flash device.
Length of this memory area (in bytes).
Open a dialog to add new programming algorithms to the list.
Remove a selected programming algorithm from the list.

The Add Flash Programming Algorithm dialog shows the available programming algorithms and the origin of the algorithm for the microcontroller device selected in the project. The field at the bottom displays the file location of the selected programming algorithm.

Select a programming algorithm and click Add to insert the algorithm to the list.

Add Flash Programming Algorithm


  • Refer to User Flash Algorithms for information on how to create additional programming algorithms.
  • An Init File may be used to configure the memory BUS for programming of off-chip Flash memory or execute special commands to prepare for Flash downloading.
  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.