WinCE6 - Strategies for finding origin of call to OEMSWReset() RRS feed

  • Question

  • Hi,

    I have a WinCE6 OS that I've had working for several years now but I don't have KITL working on it. There's one outstanding issue that occurs only very occasionally in that the board resets and the serial console logs show that it was a commanded reset through OEMSWReset(). So that's probably either something like SetSystemPowerState(null, POWER_STATE_RESET, POWER_FORCE) or the reset IOCTL - IOCTL_HAL_REBOOT.  I've checked my own BSP code and drivers but haven't seen anything that would call this. However I may need to look at some of the driver dll binaries to see if they make use of these reset functions.

    The console logs entry to OEMSWReset so is there anyway I can log the call stack or some other method to help narrow down where the call may be coming from? If it's passing through the Kernel is the call stack even useful?

    Any ideas would be appreciated.  Thanks.


    Friday, July 26, 2019 12:08 PM