PrabuKumar's WinCE Blog

June 11, 2008

OEMInit Hang

Filed under: WinCE 6.0 — Prabu Kumar @ 7:34 am
Tags: , , , , ,

In our boot loader we always use SDRAM read & write check before copying the boot loader from Flash to SDRAM.But it will take few seconds to do this SDRAM check. In order to increase the bootup time of the Windows Embedded CE 6.0 OS we have removed this SDRAM check from the boot loader. After doing this we found the OS is hanging after OEMInit function. This will not happen at all condition. Whenever the board is powered ON immediately after PowerOFF,say within second this condition will happen.

It is purely due to the cleaning of the SDRAM. To workaround for this issue we need to call NKForceCleanBoot() API function in the OEMInit() function. This function will tell filesys.exe that we want a clean boot.

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Create a free website or blog at WordPress.com.