Aug 21, 2019
12:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 21, 2019
12:18 AM
Hi,
how can I configure Trap handlers?
So far I can see only this in debugger:

I saw that there are some functions in iLLD that handle traps, what is its's class or type:
How can I use this functions to retrieve information about trap I've enter ?
Working on Tc222L
how can I configure Trap handlers?
So far I can see only this in debugger:
I saw that there are some functions in iLLD that handle traps, what is its's class or type:
IFX_INLINE IfxCpu_Trap IfxCpu_Trap_extractTrapInfo(uint8 trapClass, uint32 tin);
void IfxCpu_Trap_memoryManagementError(uint32 tin);
void IfxCpu_Trap_internalProtectionError(uint32 tin);
void IfxCpu_Trap_contextManagementError(uint32 tin);
void IfxCpu_Trap_assertion(uint32 tin);
void IfxCpu_Trap_systemCall_Cpu0(uint32 tin);
...
How can I use this functions to retrieve information about trap I've enter ?
Working on Tc222L
- Tags:
- IFX
1 Reply
Aug 21, 2019
02:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 21, 2019
02:36 AM
Found the solution,
1. Go to Program Files\TASKING\TriCore v6.3r1\ctc\lib\src
2. run unpack-tc-libc-sources.exe
3. select all files starting with "trap..."
4. copy-paste it somwere to the project and compile.
1. Go to Program Files\TASKING\TriCore v6.3r1\ctc\lib\src
2. run unpack-tc-libc-sources.exe
3. select all files starting with "trap..."
4. copy-paste it somwere to the project and compile.
This widget could not be displayed.