2.6. Downloading using RealView-ICE and the RealView Debugger

To download the ethernet bootloader to Versatile/PB926EJ-S using RealView-ICE and the RealView Debugger:

  1. Make sure the VGA monitor or LCD panel is plugged in correctly.

  2. 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.

  3. Set up the hardware connection:

    1. Turn off the Versatile board and connect RealView-ICE.

    2. Make sure the following switches are set on the Versatile board:

      S1-1

      ON

      S1-2

      OFF

      S6-1

      OFF

      S6-7

      OFF

      S6-8

      OFF.

    3. Turn on the Versatile board.

    4. Launch RVD and select Connection → Connect to Target from the File menu.

    5. Right click on the RealView-ICE entry in the Connection Control dialog and  select Configure Device Info.

    6. Configure your connection type and connect to RealView-ICE.

    7. Click Auto Configure Scan Chain in the Scan Chain Configuration view.

    8. Select Exit from the File menu.

    9. Click Yes to save the changes.

    10. Expand the RealView-ICE entry in the Connection Control dialog.

    11. Click the box next to the name of the ARM core to connect. This displays a tick if the connection succeeds.

    12. Close the Connection Control dialog.

  4. Select Go from the Debug → Execution Control menu.

  5. Press the reset switch on the Versatile board. The boot monitor output appears in the debugger output window on the StdIO tab.

  6. Enter flash in the debugger output window on the StdIO tab to enter the flash programming mode of the boot monitor.

  7. Enter list images, then enter the following on each image apart from the BOOT_MONITOR.AXF image:

    erase image_name

  8. Enter the following to program in the Ethernet Bootloader image:

    write image c:\eboot.nb0 eboot 0x34080000 
    
  9. Return to the main boot monitor menu by entering exit.

  10. Create a new boot script by entering:

    bootscript set
    
  11. Finish the boot script by entering the go instruction and two carriage returns:

    go 0x34080000 <RETURN> <RETURN>

  12. Select Stop from the Debug → Execution menu to stop execution.

  13. Close RVD.

  14. 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.

  15. Change ARM Versatile DIP S6-1 to on.

  16. 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.

Copyright © 2004 ARM Limited. All rights reserved.ARM DUI 0274A
Non-Confidential