Keil Logo

Program Flash Example

Flash memory can be programmed from the command line or from a batch file using the following command:

UV4.exe -f Programming.UVPROJ -o Prg_Output.txt

Where

UV4.exe µVision executable. Provide the path to the file. The path can be entered in relative or in absolute form.
-f Programming.UVPROJ specifies the µVision project with the application that gets programmed into Flash. Use any project created for developing an application or create a special µVision project for downloading an application to Flash as described in Flash Programming HEX File.
-o Prg_Output.txt

specifies the log file. For example:

Load "Flash\\Blinky.hex"
Erase Done.
Programming Done.
Verify OK.
Application running ...
  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.