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.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: