Re: Help! kernel cannot startup with mainstone III



Hi Blake,

Thanks a lot of your help. Your suggestion seems solve the problem (There is
still no problem until now).

However, your code do not work with my DOC (disk on chip). It stucks with
the following code below:

Press [ENTER] to launch image stored in flash or [SPACE] to cancel.

Initiating image launch in 0 seconds. DiskOnChip Initialization Done...
PartitionSize (Hex): 2400000
RealPartitionSize (Hex): 2000000
UnitSize (Hex): 40000
Loading... Please wait...
System ready!
Preparing for download...
INFO: Using device name: 'MAINSTN52394'
Download successful! Jumping to image at 0x80300000 (physical 0xA0300000)...

How can I solve the boot up with DOC? since my software skill is not so
good.....

Thanks a lot.

Regards,




"Blake" wrote:

Hi Kelvin,

Try to clean memory first in the bootloader because your memory may still
keep some data when you turn on/off the machine quickly.
I put the code for your reference.

void OEMLaunch(DWORD dwImageStart, DWORD dwImageLength, DWORD dwLaunchAddr,
const ROMHDR *pRomHdr)
{
.............
// Wait for PB connection...
//
if (g_DownloadImage)
{
................
}
// Clean Boot : Clean RAM space
memset((LPVOID)pRomHdr->ulRAMStart, 0, pRomHdr->ulRAMEnd -
pRomHdr->ulRAMStart);
..............
SpinForever();
}


--
I hope it is useful ^_^

Best Regards,

Blake Chang


"Kelvin Leung" <KelvinLeung@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7389B1FB-8AC1-415A-A65B-B65B8B8037C5@xxxxxxxxxxxxxxxx
Hi all,

I have a urgent problem with my mainstone III board that I cannot startup
Windows CE 5.0 after download NK.bin through Ethernet.

The message is shown on the hyperterminal in startup:
****** OEMVerifyMemory checking physical range [ 0xA0300000 ==> 0xA1A25FFF
]...
****** RAM address ******

rom_offset=0x0.
ROMHDR at Address 80300044h
Download successful! Jumping to image at 0x80301000 (physical
0xA0301000)...
Got EDBG_CMD_JUMPIMG
Got EDBG_CMD_CONFIG, flags:0x00000000

Windows CE Kernel for ARM (Thumb Enabled) Built on Jun 24 2004 at 18:25:00
ProcessorType=0411 Revision=4
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable =
8030699c
XSCDBG:Trace initialized: CFG:81a50d0c Buffer: 81a4f7f8, 14f0
Sp=ffffc7cc



After Sp=ffffc7cc, the startup procedure stops. What is my problem with my
image??

Thanks a lot of your help.

Regards,



.



Relevant Pages

  • Re: Help! kernel cannot startup with mainstone III
    ... Try to clean memory first in the bootloader because your memory may still ... I have a urgent problem with my mainstone III board that I cannot startup ... Download successful! ...
    (microsoft.public.windowsce.embedded)
  • Re: Correcting Errors in Registry
    ... If the computer is clean, trim your startup - ... If the software looks good, test the hardware, particularly checking to see if the hard drive is in PIO mode: ... If the procedures look too complex - and there is no shame in admitting this isn't your cup of tea - take the machine to a professional computer repair shop. ...
    (microsoft.public.windowsxp.general)
  • Re: running processes
    ... After the system is clean if you're still having problems here is a link ... startup up first step should be to check in the options for the program you ... Make sure you have a backup of the registry using a program like ERUNT ... After it's clean look at these links for how to protect your computer from getting infected again. ...
    (microsoft.public.windowsxp.general)
  • Re: my vista works slowly!
    ... The First Question Of Troubleshooting: what changed between the time things ... If you think it is clean, ... manage your Startup: ... The free Autoruns program is very useful for managing your Startup - ...
    (microsoft.public.windows.vista.performance_maintenance)
  • RE: Adware
    ... They are not "locked" but are in use by apps activated during startup. ... Clean your startup and then you can delete them. ... "Dee" wrote: ... > What is the best software to get rid of adware and/or viruses. ...
    (microsoft.public.windowsxp.general)