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.
Solved! Go to Solution.