MC75A - Detect a Cold Boot

K Kenneth Ryan 3 years 6 months ago
3 6 0

1.  March 8, 2011 1:27 PM 2.  3 Day 3.  MC75A BSP 37 4.  2333885 What is the best way to detect a cold boot?  The clock on the device is not reset on cold boot, and that was previously the best way to detect a cold boot. Customer looking to do this programatically.

Please Register or Login to post a reply

6 Replies

Y Yanis Dalabiras

Yes, manually merge then warm boot or put it in /application and clean boot.

K Kenneth Ryan

Thanks John.

K Kenneth Ryan

John, Thanks for the update.  I looked in the BSP 37 update for MC75A and it does not seem the file to enabled cache disk persistence on warm boot is present. What is the best option to get it? Ken

Y Yanis Dalabiras

Did you try this:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RAMDisk]

"RetainDataThroughWarmBoot"=dword:00000001

K Kenneth Ryan

John, How does this take effect?  Manually merge this and warm boot?  Cold boot?

Y Yanis Dalabiras

WM doesn't really know the difference between the two so there's no real way to request it from the OS. One thing that may work is writing an app that creates a file on the cache disk.  On startup the app could check if the file exists.  If not then a cold boot happened and it can re-create the file.  They would have to enable the "persist cache disk on warm boot" feature for this to work.

CONTACT
Can’t find what you’re looking for?