Dear All,

We are porting WinCE .NET 4.1 on to Intel PXA255(XScale Core) platform. We
are compiling the OS using Microsoft Platform Builder. We are using Intel
PXA250 BSP as the reference platform. While running with debugger (MAJIC)
connected to the board, it is running fine and application comes up. But
when running without debugger the OS is hanging in the ARMInit function.

The problem is when a function like NKwvsprintfW is called, it is working
successfully for some 5 or 6 times and then it is hanging.

When we dumped the stack contents, we found that, when the arguments that
are passed to functions like NKwvsprintfW, when being stored they are not
getting stored properly sometimes.

The arguments which are coming in registers(like r0, r1, r2), when being
stored in stack, are not getting stored properly. Sometimes even the link
register (containing the return address) is not getting stored properly.

When we by-passed the function (NKwvsprintfW, SP_GetFmtValue) it is hanging
in a different function for the same reason. We tried this in three
diferrent boards with the same result.

Could you please help us to solve this problem.

Regards,
Saravana Pandian S.A.