Hai Greats,

Platform : MIPS.
Platform Builder : Windows CE 5.0

While downloading the Nk.bin (size around 10 MB) from platform builder
through ethernet , the download starts well. In the target, after
receiving some 32 packets, the download hangs and eboot stops
execution. While debugging the code, it was found that Eboot crashes
(no execution further, but the code in the flash is present for next
time boot) in the function "EbootEtherReadData".
All at a sudden the first while loop in this function does not work and
it seems that the Program Counter of the processor is loaded with the
address where no code is present.

It be helpfull if I could get some clue from the gurus.... .

Thanks in advance.

Yours,
Arun.

Re: Ethernet Download Hangs and Eboot Crashes. by Ulrich

Ulrich
Mon Oct 30 09:56:03 CST 2006

Kumar wrote:
> Platform : MIPS.
> Platform Builder : Windows CE 5.0
>
> While downloading the Nk.bin (size around 10 MB) from platform builder
> through ethernet , the download starts well. In the target, after
> receiving some 32 packets, the download hangs and eboot stops
> execution. While debugging the code, it was found that Eboot crashes
> (no execution further, but the code in the flash is present for next
> time boot) in the function "EbootEtherReadData".
> All at a sudden the first while loop in this function does not work and
> it seems that the Program Counter of the processor is loaded with the
> address where no code is present.

Hmmm, could it be that EBOOT is overwriting itself? In the MIPS platform I
have, the primary bootloader is in fact YAMON, which (I think) copies EBOOT
from flash to RAM and runs it there. If you don't setup your memory map to
take these things into account, you will find that EBOOT happily overwrites
anything, including the framebuffer and itself.

Uli