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
Turn off the ARM Integrator AP SDB.
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 Turn on the ARM Integrator AP SDB.
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 >
Run the Multi-ICE Probe Server application.
On the File menu in the Multi-ICE Probe Server application, choose Select Auto Configure.
Run the ARM Debugger for Windows (ADW) application.
The ADW is packaged with the Multi-ICE probe.
If you are running the ADW for the first time, on the Options menu in the ADW, choose Configure Debugger, and then choose Add.
Navigate to the directory where the Multi-ICE Probe Server application was installed, and choose Multi-ICE.dll.
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.
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.
On the Execute menu, choose Go.
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.
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
At the
AFU>
prompt, typelist
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>
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.After typing
delete 0
you will be asked for confirmation.At the
AFU>
prompt, enterprogram 0 eboot c:\<eboot.rom location>\eboot.rom
.At the
AFU>
prompt, typequit
.Close the Multi-ICE Probe Server software and the ADW.
Turn off the ARM Integrator AP SDB.
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.
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.