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?