In debugger, how to find out what reset occurred ?

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

cross mob
Not applicable
Our Electronic Control Unit (ECU) is based on Infineon Aurix Tricore TC29x Microcontroller.

Let's assume my Lauterbach Trace32 debugger has off chip trace capability.

I'm running under control of the debugger. Instruction Trace is getting collected. Suddenly, watchdog reset occurs. Let's assume trace collection will continue when we come out of reset. Another words, trace recording that started before the reset continues during and after the reset.

Will I able to use this trace to find out what was the source of reset. If yes, how ? Do I look at some register ?

What are some other ways to find out which reset occurred (with and without debugger), for example, ignition ON reset or watchdog reset ?
0 Likes
1 Reply
User77504
Employee
Employee
10 sign-ins 5 sign-ins 5 replies posted
Hi jani

the last reset request is stored in RSTSTAT.

BR, Martin
0 Likes