Sep 25, 2020
09:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 25, 2020
09:16 AM
I'm stress testing my system and getting it to fail.
The system stops in the Default Handler. Typically the reference is to VADC0_G3_3_IRQHandler().
I don't think its blowing the stack. I've run uxTaskGetStackHighWaterMark() on several tasks (the most suspect) and the returned values isn't changing.
One thought is to assert an external pin in the default handler.
Any pointers are appreciated.
The system stops in the Default Handler. Typically the reference is to VADC0_G3_3_IRQHandler().
I don't think its blowing the stack. I've run uxTaskGetStackHighWaterMark() on several tasks (the most suspect) and the returned values isn't changing.
One thought is to assert an external pin in the default handler.
Any pointers are appreciated.
- Tags:
- IFX
3 Replies
Sep 29, 2020
06:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 29, 2020
06:09 AM
Hi,
Have you tried using the malloc failed and stack overflow hooks? https://www.freertos.org/a00016.html
Check also the StateViewer plugin tool, https://www.highintegritysystems.com/tools/stateviewer/
Regards,
Jesus
Have you tried using the malloc failed and stack overflow hooks? https://www.freertos.org/a00016.html
Check also the StateViewer plugin tool, https://www.highintegritysystems.com/tools/stateviewer/
Regards,
Jesus
Oct 01, 2020
02:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 01, 2020
02:12 PM
Thanks Jesus.
I avoid malloc as best I can. I do have the stack overflow hooks setup.
I'll try StateViewer.
I avoid malloc as best I can. I do have the stack overflow hooks setup.
I'll try StateViewer.
Nov 16, 2020
01:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 16, 2020
01:24 PM
Hi ,
I have and are using the StateViewer plugin. Everything looks good.
I was testing with the Watchdog and set a breakpoint in the Handler.
I noticed a similar stack trace as above. The " () at 0xfffffd"
Doesn't FreeRTOS use a different stack for each Task?
What I posted above, does that imply that I got a interrupt or an errant interrupt?
Do I somehow have a interrupt with no defined Handler?
I have and are using the StateViewer plugin. Everything looks good.
I was testing with the Watchdog and set a breakpoint in the Handler.
I noticed a similar stack trace as above. The "
Doesn't FreeRTOS use a different stack for each Task?
What I posted above, does that imply that I got a interrupt or an errant interrupt?
Do I somehow have a interrupt with no defined Handler?