All Forums
 Microsoft Windows CE
 General CE
 Problem with erasing flash
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

mmp

31 Posts

Posted - 26 Aug 2003 :  13:59:42  Show Profile  Email Poster
Hi,

I am using the Graphics Client Plus; I was trying to load the Win CE image on a system but I encountered a problem; I copied the ADSLOAD.HWT, ADSLOAD.REG and NKLOAD.BIN files in the root of a flash card, I changed the switch positions to "Open Box Upgrade" and I was monitoring the debug output on a terminal.

This is the output:

====

ADSLOAD.HWT : Reading ... Writing...
Programming flash (this will also take a few seconds).
File Size = 4352(0x1100) bytes .
Erasing flash...
Successfully Erased !!!!
Writing Flash Header Size...(0x1100 bytes) .
Writing Flash...(from 0x40004 to 0x41104).
Compare Memory with Flash, Successfully Done !!!

/ the same for ADSLOAD.REG /

Here is the problem:

NKLOAD.BIN : Reading ... Writing...
Programming flash (this will also take a few minutes).
File Size = 9534399(0x917bbf) bytes .
Erasing flash...
LdrEraseFlash : Error (0xa20080)
return FALSE from LdrMoveRamToFlash()
Failed to load NKLOAD.BIN from an ATA flash PC card.
Reading Flash Header Size...(0x1100 bytes)
Reading Flash ...(from 0x40004 to 0x41104)
Reading Hardware Table values from Flash.

====

I tried erasing the NKLOAD.BIN from the flash using the debug menu, but I got the exact same problem:

====
>>Please select the way to erase Flash.
1] Select by Block Address(BlockSize:256KB, 40000h)
2] Select by the file name.
1] ADSLOAD.BMP (The BMP File)
2] ADSLOAD.HWT (The hardware register table)
3] ADSLOAD.REG (The registry file)
4] ADSLOAD.EXE (The startup application)
5] NKLOAD.BIN (The WINCE image)
You seleted 5
You seleted NK.BIN
Erasing flash...
LdrEraseFlash : Error (0xa20080)
====
THe file NKLOAD.BIN, as I mentioned before is located in the root of a flash card.

What could the problem be?

The build number for the image is 3.50 (the 10MB image.) I would also like to mention that the ADSLOAD.REG and ADSLOAD.HWT correctly reflect the 10 MB image in conjunction with a 32mb ram system.

Thank you,
Marius

ctacke

877 Posts

Posted - 26 Aug 2003 :  14:03:32  Show Profile  Email Poster
What BootROM version are you using?
Go to Top of Page

mmp

31 Posts

Posted - 26 Aug 2003 :  14:09:53  Show Profile  Email Poster
ADS Graphics Client Plus Rom Ver. 1.81 (DRAM : 32 MB)
(Build at 12:04:46 on Jul 5 2002)
Go to Top of Page

ctacke

877 Posts

Posted - 26 Aug 2003 :  14:17:20  Show Profile  Email Poster
As you can see on the Image Download Page, builds 3.49 and above require boot ROM version 1.83. This is because the memory map has changed to accomodate a persistent registry feature.

The boot ROM on the GC Plus is a socket Atmel part, so you will have to order a replacement part from our Sales staff.
Go to Top of Page

mmp

31 Posts

Posted - 26 Aug 2003 :  14:24:11  Show Profile  Email Poster
I am trying to load my old image of Win CE which is:

Microsoft Windows CE Ver. 3.0 (build 126)
ADS GCPlus Windows CE Ver.(3.42)

I still can't load it. I have the exact same problem; Booting from the ATA card itself using "Boot from ATA" switch positions results in a successful boot. However, when I am trying to use the "Sealed Box Upgrade" I get the problem with erasing the flash for the NKLOAD.BIN file. The other files get transfered correctly.

Marius


Go to Top of Page

mmp

31 Posts

Posted - 26 Aug 2003 :  15:07:13  Show Profile  Email Poster
So, this function seems to be the problem:
LdrEraseFlash : Error (0xa20080)

It only happens when it's erasing the flash for the NKLOAD.BIN file; as I mentioned, it works as it should for the other files (ADSLOAD.HWT, ADSLOAT.REG) since it reports "Successfully Erased !!!!"

Does anybody know what the error code from the LdrEraseFlash could mean?
Go to Top of Page

mmp

31 Posts

Posted - 26 Aug 2003 :  15:15:52  Show Profile  Email Poster
I came across this following message:
topic.asp?TOPIC_ID=866

Maybe Drew can help? This is a Graphics Client Plus system.
Marius
Go to Top of Page

mmp

31 Posts

Posted - 04 Sep 2003 :  08:26:00  Show Profile  Email Poster
in case someone is interested, the problem was that a block of the flash was somehow damaged; addr 100 000 - 140 000 [256kb] so no erasing was possible in this area (used by the actual CE image.)
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000