How to initiate a cold start on WT41N0 by software

H Hans-Ulrich Stocker 3 years 6 months ago
5 2 0

I made a little C program that makes a WT41N0 with WEC 7 doing a reset.
It is done by calling
KernelIoControl() with IOCTL_HAL_REBOOT from WinAPI.
The warm boot works fine.
 
To initiate a cold boot, SetCleanRebootFlag() is called right before KernelIoControl(), what does not work propper.
The WT41N0 does a warm boot on any case. It seems as if the call of SetCleanReboot Flag() is ignored.
 
How to initiate a cold boot?
 
/Ulli  

Please Register or Login to post a reply

2 Replies

E Efkan YILMAZ

Try this:

   int IOCTL_HAL_REBOOT = 0x01014668;
   SetCleanRebootFlag();
   KernelIoControl(IOCTL_HAL_REBOOT, NULL, 0, NULL, 0,NULL);

H Hans-Ulrich Stocker

Thanks!
It works ☺

Hans-Ulrich Stocker
WITRON Logistik + Informatik GmbH
Neustädter Straße 21
D-92711 Parkstein

Tel.: +49 - (0)9602 600-723
Fax: +49 - (0)9602 600-211
e-Mail: HStocker@witron.de

Geschäftsführer: Helmut Prieschenk Handelsregister: Weiden, HRB 153

Von: Daniel Silva
Gesendet: Montag, 18. August 2014 20:54
An: Stocker, Hans
Betreff: Re: - How to initiate a cold start on WT41N0 by software

Motorola Solutions Launchpadhttps://developer.motorolasolutions.com/>

How to initiate a cold start on WT41N0 by software

reply from Daniel Silvahttps://developer.motorolasolutions.com/people/Dan.Silva%40motorolasolut... in Mobile Computing - View the full discussionhttps://developer.motorolasolutions.com/message/81206?et=watches.email.t...

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