| |||
| Home > Using the BSP > Downloading using RealView-ICE and the RealView Debugger | |||
To download the ethernet bootloader to Versatile/PB926EJ-S using RealView-ICE and the RealView Debugger:
Make sure the VGA monitor or LCD panel is plugged in correctly.
Copy the bootloader file to an easily accessible
place, for example, C:\. The bootloader file
is in the platform flat release directory and is called eboot.nb0.
Set up the hardware connection:
Turn off the Versatile board and connect RealView-ICE.
Make sure the following switches are set on the Versatile board:
ON
OFF
OFF
OFF
OFF.
Turn on the Versatile board.
Launch RVD and select Connection → Connect to Target from the File menu.
Right click on the RealView-ICE entry in the Connection Control dialog and select Configure Device Info.
Configure your connection type and connect to RealView-ICE.
Click Auto Configure Scan Chain in the Scan Chain Configuration view.
Select Exit from the File menu.
Click Yes to save the changes.
Expand the RealView-ICE entry in the Connection Control dialog.
Click the box next to the name of the ARM core to connect. This displays a tick if the connection succeeds.
Close the Connection Control dialog.
Select Go from the Debug → Execution Control menu.
Press the reset switch on the Versatile board. The boot monitor output appears in the debugger output window on the StdIO tab.
Enter flash in the debugger output
window on the StdIO tab to enter the flash programming
mode of the boot monitor.
Enter list images, then enter
the following on each image apart from the BOOT_MONITOR.AXF image:
erase image_name
Enter the following to program in the Ethernet Bootloader image:
write image c:\eboot.nb0 eboot 0x34080000
Return to the main boot monitor menu by entering exit.
Create a new boot script by entering:
bootscript set
Finish the boot script by entering the go instruction
and two carriage returns:
go 0x34080000 <RETURN> <RETURN>
Select Stop from the Debug → Execution menu to stop execution.
Close RVD.
Optionally, connect a serial cable from your PC to serial port 2 of the Versatile board for serial debug output. See Using Eboot for more information on capturing debug output.
Change ARM Versatile DIP S6-1 to on.
Connect an ethernet cable between the network and the ethernet port on the Versatile board.
You now download the image to the board, as described in Downloading the image to the board.