How to know if the reset reason is watchdog or others

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi Sir,

   There are "mia_isResetReasonPor" to get wake up reason for  PoR or deep sleep,

   additionally, is there any way to get the reset reason for PoR or WatchDog ?

0 Likes
1 Solution
Anonymous
Not applicable

Check the other link under WICED Smart User's Guide -> Watchdog Timer

It should answer your question.

-Kevin

View solution in original post

5 Replies
BoonT_56
Employee
Employee
500 likes received 250 likes received 100 likes received

The current two reset reasons are mia_isResetReasonPor and mia_isResetReasonTimedWake. You may try to ascertain whether a reset is due to watchdog by observing for it when the watchdog is enabled and disabled.

Increasing/Disabling the watchdog timer

Anonymous
Not applicable

Check the other link under WICED Smart User's Guide -> Watchdog Timer

It should answer your question.

-Kevin

Anonymous
Not applicable

frank is this still an issue?

0 Likes
Anonymous
Not applicable

Our device is using with BLE 20737S and when system is reset due to some exception, I try to
query mia_isResetReasonPor() but the reason code = 1 which is the same as normal power-on reason.

Is that correct or wrong; I originally think there will have different reason from normal power-on reason.

0 Likes

The reason is correct. But it did not say what is the trigger to your exception.