Hi,

Something for the specialists...

I am having a problem very early in CE 5.0 boot on PXA255 - new
hardware and I am using an in-circuit debuggger to start.
KernelInit > SchedInit > MDCreateThread
and inside MDCreateThread the call "KSTKBASE(pTh) = (DWORD)lpStack"
causes havoc. Program Counter ends up in the 0xFFFF0000 region.
Until this point I can send debug messages but the kernel debugger is
not yet connected.

For a while I have gotten past this and then CE booted all the way and
seemed to have no problem at all, and now the problem is back and I
have no idea what has changed. I have been working on the same hardware
all the time so I don't think there is a hardware problem.

Could anyone point me somewhere, because at the moment I am nowhere.

Regards,
Piet

Re: Problem inside KernelInit by Piet

Piet
Thu Sep 29 04:40:33 CDT 2005

I've actually found it myself, it had to disable some functionality of
the ICD before starting CE. I've been looking at it for days and after
throwing it to the group I find it in an hour.

Well done, guys ;-)

Piet


Re: Problem inside KernelInit by mobilevil

mobilevil
Thu Sep 29 04:50:40 CDT 2005

well done. thank to everyone's will power LOL
actually when you try to make a post, you are writing down all the
findings... and complex problem will become clear when you sort things out.
from time to time i cancel my post which is written half way... i found the
problem during the writing of the post.

"Piet" <pietdesomere@yahoo.com> wrote in message
news:1127986833.640329.240150@g43g2000cwa.googlegroups.com...
> I've actually found it myself, it had to disable some functionality of
> the ICD before starting CE. I've been looking at it for days and after
> throwing it to the group I find it in an hour.
>
> Well done, guys ;-)
>
> Piet
>