6.1.4. Basic procedure for programming a binary into Flash

The basic procedure for programming a binary into Flash, includes the following steps:

  1. Configure a target connection to define a memory map that includes a Flash memory area.

  2. Connect to the target.

  3. Load the binary in preparation for writing to the Flash device.

  4. Write the binary to the Flash memory region that you have defined in the memory map.

    For example, the ARM® Integrator™/CP Flash starts at address 0x24000000.

Note

If you program the Flash on an ARM Integrator board using this release of RealView Debugger, you bypass the ARM Firmware Suite (AFS) Flash library system information blocks. These blocks are used by the AFS Flash Library, and are stored at the end of each binary written to Flash. If you rely on these blocks to keep track of what is in the Flash memory of your target, keep a record of the state and recreate it after working through the example.

See also

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0153N
Non-ConfidentialID052111