Aug 07, 2020
02:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 07, 2020
02:54 AM
Hi,
I was wondering what happens in following situation:
1. I uploaded .hex file into Aurix 2G (tricore 1.6 architecture) microcontroler via memetool
2. I ran program
3. Program crash ( null pointer or other trap)
what system do next ?
It goes to reset state or, its doing nothing ( NOP operation) or reset itself ?
I was wondering what happens in following situation:
1. I uploaded .hex file into Aurix 2G (tricore 1.6 architecture) microcontroler via memetool
2. I ran program
3. Program crash ( null pointer or other trap)
what system do next ?
It goes to reset state or, its doing nothing ( NOP operation) or reset itself ?
- Tags:
- IFX
1 Reply
Aug 10, 2020
01:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 10, 2020
01:35 PM
It depends on what your trap handler does. Most compilers just enter an infinite loop after a DEBUG trap. If no debugger is connected, it depends on whether your application has disabled the watchdogs:
- with watchdogs disabled, the CPU will stay stuck in the trap handler infinite loop
- with watchdogs enabled, the watchdogs will eventually time out, and unless you've reprogrammed the alarm registers, this will eventually cause a system reset.
- with watchdogs disabled, the CPU will stay stuck in the trap handler infinite loop
- with watchdogs enabled, the watchdogs will eventually time out, and unless you've reprogrammed the alarm registers, this will eventually cause a system reset.
This widget could not be displayed.