16.2.1. Writing the image to Flash

To program an image into Flash using RealView Debugger:

  1. Assign the BCD file that describes the memory map and specifies the FME file to the target connection.

  2. Build your Flash image using the linker setting Link_advanced.Ro_base. Make sure that this points to a valid Flash address.

  3. Connect to the target.

  4. Queue your Flash image for programming into the Flash device. You can do this using one of the following methods:

    • Load the Flash image using the Load File to Target dialog box, or select an image from the Target → Recent Images list. See Chapter 3 Working with Images for instructions on how to load an image.

    • Load the Flash image using the Upload/Download file from/to Memory dialog box.

    In both cases, the Flash Memory Control dialog box is displayed.

  5. Click Write on the Flash Memory Control dialog box to write the image to the Flash device. RealView Debugger uses the information and Flash routines in the FME file that is specified in the BCD file.

See Chapter 8 Reading and Writing Memory, Registers and Flash for instructions on how to use the following dialog boxes:

Copyright © 2005, 2006 ARM Limited. All rights reserved.ARM DUI 0281C
Non-Confidential