Note that while this method may work on your product, bootloaders since the mid-2000s have supported simpler ways to accomplish this task, as listed above.
IMPORTANT: The following instructions are for a Bitsy system with 32MB flash and a flash disk that starts at 16MB.
Every CE build has a different starting location, as determined in the registry. E.g.:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\FlashFX]
"Start"=dword:1400000
"Length"=dword:C00000
Make sure to use the correct start and ending addresses, or you may erase the CE image, boot code, or both.
You'll have to erase the Flash using the boot ROM itself. Follow these steps:
- Power down the device then set your boot switches as follows:
1-ON 2 OFF
- Restart the device and you will get this menu out the debug port:
*********************************************************************
* ADS Bitsy Loader *
*********************************************************************
1] Display Register
2] Set Register
3] Dump Memory
4] Set Memory
5] Erase the block of Flash.
6] Display Files in the Flash.
7] Move an Image from Flash to RAM
8] Display Ethernet Information
9] Set Up Ethernet Information
0] Download Image Via Ethernet(ESHELL)
A] Download over Serial (XModem)
B] Execute HWT(Hardware Table) from Flash
C] Start Windows CE @ c3800000
D] Fill Memory with a Pattern.
E] Set MAC(Media Access Control) Address.
F] SA1111 Test.
G] Find PCMCIA Card.
R] Erase Saved Registry.
U] Unlock Flash.
T] Memory Speed Test.
- Select 5 (erase Block of Flash) and you will get the following response:
1] Select by Block Address(Minimum 256KB, 40000h) 2] Select by the file name.
- Select 1 (erase by address) and you will get the following response:
You can use the address range(000000h ~ 2000000h) Address(000000h ~ 800000h) : ADSLOAD Files Address(800000h ~ 2000000h) : FLASH Disk
Please Enter Beginning Address for Erasing in Hex ==>
- Enter 100000 (5 zeros) and hit return and you'll get the following response:
Please Enter Ending Address for Erasing in Hex ==>
- Enter 2000000 (6 zeroes; for 32MiB flash) and hit return. It will take a few minutes to complete. When the menu appearas again, reload NKLOAD.BIN, ADSLOAD.REG, ADSLOAD.HWT as before.
Edited by akidder 20-Aug-2003: Correct final step: Value C000000 to 200000.
Edited by akidder 5-Dec-2011: Add warning with reference registry keys.