If the flash becomes corrupt and the board no longer runs the Boot Monitor, the Boot Monitor must be reprogrammed into flash.
Because the debugger does not initialize DRAM, the Boot Monitor
image cannot be loaded and run directly. Use the
progcards utility to setup the board:
Power off the board
Set all User Switches to OFF
Connect a cable from the JTAG device (RealView ICE for example) to the JTAG box header.
Power on the board.
Connect to the target:
For RVD, select Tools → Include Commands From File
DRAM is now initialized and the memory is remapped. To load Boot Monitor into flash:
From the debugger, load and execute the file
at the Boot Monitor prompt enter:
Flash> WRITE IMAGE
where path is the
to the version of the Boot Monitor that is being loaded and
is the name of the target system.
Loading the image into flash takes a few minutes to complete. Wait until the prompt is displayed again before proceeding.
Turn the board off and then on.
Boot Monitor starts automatically.