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

cross mob
abhishek1a
Level 1
Level 1
5 likes given 5 questions asked 10 sign-ins

The most common behaviour when a trap occurs is the controller resets and starts running the user software from the start address. 

Is it possible that when the controller encounters an error condition, the trap is generated, it undergoes a reset and does not recover from it to be run user software? 

If yes, what traps (TIN) are those?

The controller in question is Aurix 387.

0 Likes
1 Solution
Nambi
Moderator
Moderator
Moderator
500 replies posted 50 likes received 5 likes given

Hi,

When a Trap occurs, the execution will jump to configured Trap Handler. The user code in the Trap handler decides if a reset is triggered or if any other action is taken.

You can also refer to the TRAP example https://www.infineon.com/dgdl/Infineon-AURIX_CPU_Trap_Recognition_1_KIT_TC397_TFT-Training-v01_00-EN...

Best Regards.

View solution in original post

1 Reply
Nambi
Moderator
Moderator
Moderator
500 replies posted 50 likes received 5 likes given

Hi,

When a Trap occurs, the execution will jump to configured Trap Handler. The user code in the Trap handler decides if a reset is triggered or if any other action is taken.

You can also refer to the TRAP example https://www.infineon.com/dgdl/Infineon-AURIX_CPU_Trap_Recognition_1_KIT_TC397_TFT-Training-v01_00-EN...

Best Regards.