This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: RedBoot Error 0x2


On Tue, 2001-10-02 at 00:38, Manos S. Pappas wrote:
> Hello,
> 
> 	I am trying to perform the following steps in order to restore to WindowsCE my iPAQ. These instructions were found in a message published not a long ago in this board and they were suggested by a nice person in this board :)
> 
> Here we go:
> (I've copied osloader and redboot_WinCE.bin on the iPAQ, renamed redboot_WinCE.bin to bootldr, used osloader->Tools->bootldr->runfromfile and RedBoot loads fine. Started a Hyperterminal session with settings: 38400,8,n,1,none)
> 
> RedBoot> load RedBoot.RAM
> 
> Command returns:
> ... Erase from 0x00080000-0x00000000:
> ... Unlock from 0x00040000-0x00093d48: .
> ... Erase from 0x00040000-0x00093d48: Err = 200020
> 
>    initialization failed 0x00040000: 0x2(Error trying to erase)
> ... Lock from 0x00040000-0x00093d48: Err = 500050
> 
> and then RedBoot hangs.
> 
> 	Can someone tell me what I'm doing wrong?
> 
> The complete procedure to restore WinCE is:
> RedBoot> load RedBoot.RAM
> RedBoot> go
> RedBoot> load -r -b 0x00100000 flash_00000000.bin
> RedBoot> load -r -b 0x00500000 flash_00400000.bin
> RedBoot> load -r -b 0x00900000 flash_00800000.bin
> RedBoot> load -r -b 0x00D00000 flash_00c00000.bin
> RedBoot> fis unl -f 0x50000000 -l 0x01000000
> RedBoot> fis wr -f 0x50000000 -l 0x01000000 -b 0x00100000
> RedBoot> reset
> 
> 	Right now my iPAQ behaves as nothing happened and boots happily into PocketPC 2002 beta...
> Unfortunately I do not have a CF sleeve and I have no provisions on owning one for sometime, because this item has a two month backorder :( So, using the serial cable is my only option.
> 

Did you run 'fis init'?  Can you show the result of 'fis list'?  What 
about 'version'?  It seems from these messages that RedBoot is quite
confused about where your FLASH is actually located.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]