Share via


Flashing the Windows CE Boot Loader for the First Time on the ARM Integrator AP SDB

The Multi-ICE probe is used to flash the Windows CE boot loader on the platform for the first time or when the flash memory image becomes corrupted. Subsequent boot loader updates can be handled by downloading the new Eboot.bin with the current boot loader image.

Note   If you are using Microsoft® Windows® 2000, download the Multi-ICE 1.4 update for Windows 2000 from the Multi-ICE FAQ section on ARM's Web site.

To flash the Windows CE boot loader to the ARM Integrator AP SDB

  1. Turn off the ARM Integrator AP SDB.

  2. Set the S1 DIP switches to the following settings to run the boot monitor.

    S1-1 S1-2 S1-3 S1-4
    On Off X X
  3. Turn on the ARM Integrator AP SDB.

  4. The following message appears in HyperTerminal.

    ARM bootPROM [Version 1.2] Rebuilt on Aug 21 2000 at 22:14:54
    Running on a Integrator Evaluation Board
    Board Revision V1.0, ARM920T Processor
    Memory Size is 32MBytes, Flash Size is 32MBytes
    Copyright (c) ARM Limited 1999 - 2000. All rights reserved.
    Board designed by ARM Limited
    Hardware support provided at http://www.arm.com/
    For help on the available commands type ? or h
    boot Monitor >
    
  5. Run the Multi-ICE Probe Server application.

  6. On the File menu in the Multi-ICE Probe Server application, choose Select Auto Configure.

  7. Run the ARM Debugger for Windows (ADW) application.

    The ADW is packaged with the Multi-ICE probe.

  8. If you are running the ADW for the first time, on the Options menu in the ADW, choose Configure Debugger, and then choose Add.

  9. Navigate to the directory where the Multi-ICE Probe Server application was installed, and choose Multi-ICE.dll.

  10. Choose Open, and then choose OK in any dialog boxes that follow. If there is a problem, try to configure the Multi-ICE target environment that you just created and make sure that Location of Multi-ICE is set to This Computer.

  11. On the File menu, choose Load Image, and then choose the Afu.afx image.

    The Afu.afx image is located in %_WINCEROOT%\Platform\ARMINTEGRATOR\Files. Before downloading the Afu.afx image, move it to a shorter path first. %SystemRoot%\Temp is the recommended directory to store the Afu.afx image.

  12. On the Execute menu, choose Go.

  13. On the Execute menu, choose Go again.

    In the ADW command window, the following message appears.

    ARM Multi-ICE Release 1.4. Copyright (c) ARM Limited 1999.
    Connected to TAP 0, ARM920T on Server "localhost", Little-Endian target.
    ARM Firmware Suite
    Copyright ARM Ltd. 1999 - 2000. All rights reserved.
    ARM Flash Utility
    Program Version 1.1
    Date: 26 Jan 2000
    Searching for flash devices
    Flash device 1 found at 0x20000000 (4 blocks of size 0x20000)
    Flash device 2 found at 0x24000000 (256 blocks of size 0x20000)
    Device 1 found as Boot device - defaulting to Flash device 2
    Scanning Flash blocks for usage
    AFU>
    

    Before downloading Eboot.rom, move it to a directory with a short path name. %SystemRoot%\Temp is recommended. If the path to Eboot.rom is too long, the ARM Debugger for Windows will need to be restarted. You can use Platform Builder to download new Eboot images.

  14. At the AFU> prompt, type ? to display the following message.

    AFU command summary:
    List                - List images in flash
    DiagnosticList <All> | <Section Bn> | <Footer Bn> | <Dump Bn>  Bn = B<Block No.> 
                        - Lists information stored in the Flash by block, footer or block start dump
    TestBlock B<block-number> 
                        - Write a test pattern to a particular flash block (except boot SIB Block)
    Delete <image-number> 
                        - Delete an image in flash
    DeleteBlock B<block-number> 
                        - Deletes a block that appears not to be in an image
    DeleteAll           - Deletes all blocks except block 255 (SIB Block)
    Program <image-number> <image-name> <file-name> [<address> |or| B<block_no>] [noboot] 
                        - Program the given image into flash at address, 0x<hex_addr> or block number
    Read <image-number> <file-name> 
                        - Read the given image from flash into a file
    Quit                - Quit
    Help                - Print this help text
    Identify            - Identify Flash Type
    Swap Device         - Change active flash device
    
  15. At the AFU> prompt, type list to display the following message. The following is sample output from the list command and shows that there is already an image called Eboot at block 0.

    Listing images in Flash
    Image   0 Block   0 End Block   1 address 0x24000000 exec 0x24000000  - name eboot
    Unknown SIB at Block 254 End Block 254 address 0x25fc0000
    AFU>
    
  16. If there is an existing image at Block 0, which there is in this sample, you must enter delete 0 to delete the image before downloading a new one.

  17. After typing delete 0 you will be asked for confirmation.

  18. At the AFU> prompt, enter program 0 eboot c:\<eboot.rom location>\eboot.rom.

  19. At the AFU> prompt, type quit.

  20. Close the Multi-ICE Probe Server software and the ADW.

  21. Turn off the ARM Integrator AP SDB.

  22. Turn on the ARM Integrator AP SDB and verify that you have successfully downloaded the Windows CE boot loader.

    To see the format of the Windows CE boot loader message, see Windows CE Boot Loader Output for the ARM Integrator AP SDB.

  23. Download the OS image to the ARM Integrator AP SDB.

    For more information, see Downloading the OS Image to the ARM Integrator AP SDB.

See Also

How to Use the BSP for the ARM Integrator AP SDB

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.