Then I have a timer to restart the device every day using SetSystemPowerState (Reset). You normally can use the option to force the powerstate change but I don't think it works on this device (iMX6).
I see that most of the time this works and occasionally the device screen turns black and doesn't come back (it does not reboot). The application can hang on shutdown, but is it also possible that WinCE hangs (e.g. low level connections not purged)?
How to force the soft reset?