Author |
Topic |
|
dcx
35 Posts |
Posted - 19 Jul 2006 : 10:35:00
|
I was doing some testing using Entrek software. At some point I rebooted, now I can only get to the main ADS screen and not into Win CE.
I tried reloading the OS to see if this would help, it didn't. Here is the output from the debug port (GCX board with CE 4.20.5):
Reading Flash ...(from 0x40004 to 0x4099b) Reading Hardware Table(ADSLOAD.HWT) from Copyright (c) 2001 Microsoft Corporation Copyright (c) 2001 Intel Corporation Copyright (c) 2002,2003 Applied Data Systems Inc.
GCX Bootloader (Ver 1.01 ) (Built at 15:36:00 on Feb 23 2004)
CPLD Version = 0x5 Board Revision = 0xb DipSwitch(S1) = 0x5 BootOption : Read CE Image from Flash and Start Windows CE
Booting from Flash. Reading Flash ...(from 0x200008 to 0xe37d04)
CE starts From DRAM(0x800B80 Windows CE Kernel for ARM (Thumb Enabled) Built on May 3 2005 at 14:03:22 ProcessorType=02d0 Revision=6 sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 800b9170 Sp=ffffc7cc Datalight FlashFX Pro v1.11 Build 856 Copyright (c) 1993-2004 Datalight, Inc. Patents: US#5860082, US#6260156. FFX: B9300000 = CreateStaticMapping( 1000000, 1000000 ) FlashFX SDK License ID #5B2C08D8 Created Thread A3ECAFB6 Datalight Reliance v1.13.0337 Copyright (c) 2003 - 2005 Datalight, Inc. Registered to #6A48B493
Reading Flash ...(from 0x40004 to 0x4099b) Reading Hardware Table(ADSLOAD.HWT) from Copyright (c) 2001 Microsoft Corporation Copyright (c) 2001 Intel Corporation Copyright (c) 2002,2003 Applied Data Systems Inc.
GCX Bootloader (Ver 1.01 ) (Built at 15:36:00 on Feb 23 2004)
CPLD Version = 0x5 Board Revision = 0xb DipSwitch(S1) = 0xd BootOption : Copy CE image and Config Files from ATA to Flash and Start Windows CE
ADSLOAD.ROM : Reading ... Writing... Failed to load ADSLOAD.ROM from an ATA Fl
ADSLOAD.HWT : Reading ... Writing... Programming flash (this will also take a few seconds). File Size = 2455(0x997) bytes . Erasing flash... Successfully Erased !!!! Writing Flash Header Size...(0x997 bytes) . Writing Flash...(from 0x40004 to 0x4099b). Compare Memory with Flash, Successfully Done !!!
ADSLOAD.REG : Reading ... Writing... Programming flash (this will also take a few seconds). File Size = 2871(0xB37) bytes . Erasing flash... Successfully Erased !!!! Writing Flash Header Size...(0xb37 byt Writing Flash...(from 0x80004 to 0x80b3b). Compare Memory with Flash, Successfully Done !!!
ADSLOAD.EXE : Reading ... Writing... Failed to load ADSLOAD.EXE from an ATA Flash Card.
ADSLOAD.BMP : Reading ... Writing... Programming flash (this will also take a few seconds). File Size = 17286(0x4386) bytes . Erasing flash... Successfully Erased !!!! Writing Flash Header Size...(0x4386 bytes) . Writing Flash...(from 0x100004 to 0x10438a). Compare Memory with Flash, Successfully Done !!!
NK.BIN : Reading ... Programming flash (this will also take a few minutes). File Size = 12811516(0xC37CFC) bytes . Erasing flash... Successfully Erased !!!! Writing Flash Header Size...(0xc37cfc bytes) . Writing Flash Header Size...(0x800b8000 bytes) . Writing Flash...(from 0x200008 to 0xe37d04). Compare Memory with Flash, Successfully Done !!!
RegBackup : Erasing... Reading Flash ...(from 0x40004 to 0x4099b) Reading Hardware Table(ADSLOAD.HWT) from Flash.
Booting from Flash. Reading Flash ...(from 0x200008 to 0xe37d04)
CE starts From DRAM(0x800B80 Windows CE Kernel for ARM (Thumb Enabled) Built on May 3 2005 at 14:03:22 ProcessorType=02d0 Revision=6 sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 800b9170 Sp=ffffc7cc Datalight FlashFX Pro v1.11 Build 856 Copyright (c) 1993-2004 Datalight, Inc. Patents: US#5860082, US#6260156. FFX: B9300000 = CreateStaticMapping( 1000000, 1000000 ) FlashFX SDK License ID #5B2C08D8 Created Thread A3ECAFB6 Datalight Reliance v1.13.0337 Copyright (c) 2003 - 2005 Datalight, Inc. Registered to #6A48B493
Any ideas on how I can get the OS back? |
|
akidder
1519 Posts |
Posted - 19 Jul 2006 : 11:34:28
|
It looks like the flash disk driver (Reliance) is hanging up the boot for some reason. You might try dropping to the CE boot loader (on the GCX, it's DIP switch 3 ON, others OFF) and erasing the range of flash used for the start of the flash disk.
It looks like you might be using a 13 MiB CE build ("File Size = 12811516(0xC37CFC) bytes"). If so, erase the region 0x00F00000 to 0x01200000 (15 to 18 MiB), which should wipe out the start of the flash disk and trigger a reformat on the next boot. If I got the size of the CE image wrong, you will need to reload the CE image. Hopefully that will get you going again with your system.
The Reliance file system has been a solid performer as far as we can tell, so I'm thinking that this is an anomaly that occurred during development. Let us know if you have further trouble with it! |
|
|
dcx
35 Posts |
Posted - 19 Jul 2006 : 12:51:12
|
I am trying to do this on my system, but once I get into the bootloader menu via hyperterminal I can't enter anything.
I see the following menu-> Ethernet Boot Loader Configuration:
0) Display Register 1) Set Register 2) Dump Memory 3) Boot delay: 0 seconds 4) DHCP: Disabled 5) Erase Flash Memory 6) ST16C554 UART Test 7) Program RAM image into FLASH (Disabled) 8) Program SMSC MAC address 9) Boot device order: PCMCIA -> CF -> SMSC A) Download image from ATA card B) Copy CE Files from ATA card to Flash Memory C) Launch Existing Flash resident Image now D) Download image now (Ethernet) E) Test Memory (DRAM) f) IP address: 0000 g) Subnet mask: 0000 h) # bootme's: 0
Enter your selection:
I try entering any number and nothing, am I doing something wrong? |
|
|
akidder
1519 Posts |
Posted - 19 Jul 2006 : 13:30:36
|
Looks like an issue with your terminal app or cable. Take a look at the troubleshooting tips on topic 26. Maybe handshanking or scroll lock is an issue.
If there are cabling problems, you should be able to pick them up with the paperclip test. |
|
|
dcx
35 Posts |
Posted - 19 Jul 2006 : 14:09:58
|
I tried these things and it looks like I have everything good...is there something else it could be?
I see debug port output on my PC, but I can't type any commands at the debug menu.
> Make sure PC terminal handshaking is set to "None". I set the configuration to 38400 - 8 - N - 1
> Turn off Scroll Lock. Num Lock can also cause trouble. (ref: Hilgraeve support forum)
Both are off
> Make sure you have a good serial cable
I have tried 2 different cables that I know work.
> After making changes, try a cold boot of your PC (sometimes the PC's serial hardware doesn't get reinitialized fully by software)
I have tried rebooting the pc. I have tried this on 2 different pcs, I think the serial ports are working properly.
|
|
|
akidder
1519 Posts |
Posted - 19 Jul 2006 : 14:24:17
|
Hmmm....I guess you're going to make us actually look at a board now. We'll check and let you know what we see.
I guess the paperclip test worked? Passing that test is sufficient to connect to the debug menu. |
|
|
dcx
35 Posts |
Posted - 19 Jul 2006 : 14:37:04
|
I figured it out, it was my error. I thought I had set flow control to none, but I had set parity to none.
Thanks, sorry about the confusion. |
|
|
|
Topic |
|
|
|