How to initiate a cold start on WT41N0 by software

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  

Anonymous (not verified)
Try this:   int IOCTL_HAL

Try this:

   int IOCTL_HAL_REBOOT = 0x01014668;

   SetCleanRebootFlag();

   KernelIoControl(IOCTL_HAL_REBOOT, NULL, 0, NULL, 0,NULL);

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Hans-Ulrich Stocker
Thanks!It works ☺Hans-Ulrich

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 Launchpad<https://developer.motorolasolutions.com/>

How to initiate a cold start on WT41N0 by software

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

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments