infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

Dave

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 11 to 15 of 15

Thread: Default Handler disrupting FreeRTOS program

  1. #11
    New Member New Member adriano_m will become famous soon enough
    Join Date
    Oct 2015
    Posts
    10
    Points
    70
    Update:

    After upgrading to DAVE 4.2.4 and rebuilding the apps and the application the bug is gone: the application works as intended.

    My advice to anyone using DAVE is to upgrade ASAP

    best regards,
    Adriano,

  2. #12
    New Member New Member Fretar is on a distinguished road
    Join Date
    Jan 2017
    Posts
    5
    Points
    115
    Old thread but i have the similar problem using XMC4300. The programm stucks at the Default_Handler. In my case at the VADC0_G1_3_IRQHandler.
    I don't use any ADC but as some of you wrote the problem can be somewhere else. Could anyone provide me some hints how to solve this?

    Thanks

  3. #13
    Advanced Advanced
    Infineon Employee
    Infineon Employee
    jferreira will become famous soon enough
    Join Date
    Oct 2012
    Posts
    204
    Points
    3713.1640625
    Hi,

    Could you add to your project the CPU_CTRL_XMC4 APP and enable hardfault debugging support in the "Exception Settings"?
    If the program generates a fault, the debugger will break the execution and we can investigate the possible root cause after looking to the _CFSR variable.

    Regards,
    Jesus
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  4. #14
    New Member New Member Fretar is on a distinguished road
    Join Date
    Jan 2017
    Posts
    5
    Points
    115
    Thank you Jesus.
    It is an INVPC-Event which causes that Problem "Invalid PC load Usage Fault. Seems to happen sometimes when i use sprintf() function. I will check that in detail now.

  5. #15
    Advanced Advanced
    Infineon Employee
    Infineon Employee
    jferreira will become famous soon enough
    Join Date
    Oct 2012
    Posts
    204
    Points
    3713.1640625
    Hi,

    If the destination string of sprintf is a local variable, you maybe running out of stack.

    Regards,
    Jesus
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

+ Reply to Thread

Tags for this 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.