Looking for a register that indicates why the processor reset

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

cross mob
Roger_Florida
Level 3
Level 3
5 replies posted 5 questions asked 10 sign-ins

Most processors have a register that can be read on powerup to see why they are vectoring through a power up cycle. This can indicate that a watchdog occurred or a brown-out, or a simple power up for example.

I have not been able to find such a register that I can read for the TC39x.

In the debugger, it is in the middle of writing to flash when the debugger indicates "Unexpected target reset detected". This is happening in code that has been working for a while, so I am trying to figure out what has changed to make this happen.

0 Likes
1 Solution
Nambi
Moderator
Moderator
Moderator
50 likes received 5 likes given 100 solutions authored

Hi,

Can you check the RSTSTAT register?

Best Regards.

View solution in original post

0 Likes
1 Reply
Nambi
Moderator
Moderator
Moderator
50 likes received 5 likes given 100 solutions authored

Hi,

Can you check the RSTSTAT register?

Best Regards.

0 Likes