- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.