ARM ARM DUI 0224I Computer Hardware User Manual


 
Getting Started
2-20 Copyright © 2003-2007 ARM Limited. All rights reserved. ARM DUI 0224F
2.6.3 Loading Boot Monitor into NOR flash
If the flash becomes corrupt and the board no longer runs the Boot Monitor, the Boot
Monitor must be reprogrammed into flash.
Note
The Boot Monitor is normally located in Disk-on-Chip flash instead of NOR flash (see
Loading Boot Monitor into Disk-on-Chip on page 2-21). You can, however, load the
Boot Monitor into NOR flash instead of Disk-on-Chip flash if this is requiredfor a
specific application.
Because the debugger does not initialize SDRAM, the Boot Monitor image cannot be
loaded and run directly. Use the scripts in the
BoardFiles
directory on the CD to setup
the board:
1. Power off the board
2. Set switch S1-1 to ON to select booting from NOR flash
Set all other S1 switches to OFF
Set all S6 switches to OFF.
3. Connect a RealView ICE or Multi-ICE to the JTAG port or a debug cable to the
USB debug port.
4. Power on the board.
5. Connect the debugger to the target
For ARM eXtended Debugger, from the Command Line Interface
Debug > Obey VPB926EJS_SDRAM_Init_axd.li
For RealView Debugger:From the Debug menu Include Commands
From File
Select VPB926EJS_SDRAM_Init_rvd.li
6. SDRAM is now initialized and the memory is remapped. To load Boot Monitor
into flash:
a. From the debugger, load and execute the file
Boot_Monitor.axf
b. at the Boot Monitor prompt enter:
>FLASH
Flash> WRITE IMAGE path\Boot_Monitor.axf NAME boot_monitor
FLASH_ADDRESS 0x34000000
where path is the directory (
C:\temp
for example) that contains the boot
monitor image.