MC3190 Cold Boot.exe

// Expert user has replied.
R Richard Baker 3 years 7 months ago
15 6 0

Is there a coldboot.exe file  or an API that will initiate a cold boot on the MC3190. The current version of CB.exe found here does not function on the 3190.

Please Register or Login to post a reply

6 Replies

Y Yanis Dalabiras

Hi, The cold boot exe provided works fine. Nevertheless, the developer wants to integrate the cold boot code in his own source code. He tells me IOCTL_HAL_COLD_BOOT variable needs to be initialized with a value only Motorola can provide, probably defined in "oemioctl.h" file Harty Neville has requested earlier. Can someone help here please? A+ David

R Richard Linsley-Hood

The recomended way to reboot the OS (and has been since WM 5.0) is to call BOOL WINAPI ExitWindowsEx(UINT uFlags, DWORD dwReserved);
with
uFlags = EWX_REBOOT 0x00000002, dwReserved = 0 See the MSDN at http://msdn.microsoft.com/en-us/library/bb416523.aspx

D David Meyer

Can people please explain why customers are looking for ways to programatically cold boot?  Cold boots are NOT recommended for any time except if the device is locked up and cannot be recovered via a warm boot (which would also mean you would not have the ability use a function call to cold boot). A cold boot is equivelent to removing power unexpectedly, just like pulling the plug out of a desktop, or pulling the battery out of your laptop while in the middle of use.  This could lead to issues such as file corruption. Dave

N Neville Harty

Have you found an answer to this query yet? I have the same issue.

H Hemamalini Subramanian

Hi, Here is the code that does a cold boot. Attached the code and exe file for reference. // WinCE_ColdBoot.cpp : Defines the entry point for the application. // int WINAPI WinMain(HINSTANCE hInstance,                    HINSTANCE hPrevInstance,                    LPTSTR    lpCmdLine,                    int       nCmdShow) {   // ***************BELOW IS THE COLD BOOT CODE************************    if(!KernelIoControl(IOCTL_HAL_COLD_BOOT, NULL, 0, NULL, 0,NULL))   {  MessageBox(NULL,L"Cold boot failed", L"", MB_OK);   } return 0; }

N Neville Harty

Thanks for the exe and source. Works fine. Developer is now asking for where he can get the include file "oemioctl.h" from?

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