Banner_AURIX_Security-Solution Banner_AURIX_Safety_Products ShieldBuddy TC275 Banner_AURIX_OnzerOS Banner_AURIX_DevelopmentStudio


+ Reply to Thread
Results 1 to 2 of 2

Thread: trap handlers

  1. #1
    Advanced Advanced Lukas_G is on a distinguished road
    Join Date
    Apr 2019
    Posts
    70
    Points
    755

    trap handlers

    Hi,

    how can I configure Trap handlers?

    So far I can see only this in debugger:
    Click image for larger version

Name:	trap instruction.PNG
Views:	0
Size:	3.9 KB
ID:	4103

    I saw that there are some functions in iLLD that handle traps, what is its's class or type:
    Code:
    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

  2. #2
    Advanced Advanced Lukas_G is on a distinguished road
    Join Date
    Apr 2019
    Posts
    70
    Points
    755
    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.

+ Reply to Thread
Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.