Re: Help! kernel cannot startup with mainstone III
- From: "Blake" <blake29.chang@xxxxxxxxx>
- Date: Tue, 15 May 2007 00:59:28 +0800
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,
.
- Follow-Ups:
- Re: Help! kernel cannot startup with mainstone III
- From: Kelvin Leung
- Re: Help! kernel cannot startup with mainstone III
- Prev by Date: CE6 and device driver development with emulator
- Next by Date: Re: 128 x 128 display support in Windows CE
- Previous by thread: RE: Help! kernel cannot startup with mainstone III
- Next by thread: Re: Help! kernel cannot startup with mainstone III
- Index(es):
Relevant Pages
|