Hi,
I try to detect, if the device did a 'coldboot (gets powered), or if we did a software reset. Therefore I thaught, I can use the nccCheckForSoftwareRestart. But this function returns false all the time.
The restart proces itself is done via customizeRestart() which calls customizeReset() which calls NAReset(). The NAReset function uses the watchdog to restart (example / implementation provided by Digi in BSP)
After the restart, the nccCheck function returns false.
Even if I try to set the software_restart flag, it does not return the correct value. As I told: I need this information in the NetOS context! Anyone experience with this?
Thanks in advance