FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [September 2015 Threads]
Hello,
I am using FreeRTOS on LPC1833. I'm using IAR and I-Jet debug probe. My program run well.
By curiosity I found the Interrupt Log window and Interrupt Log Summary while debugging. It shows in which interrupt the software enters and leaves.
The thing is that I'm surprise to see that, according to the Interrupt Log Summary, my program enters/leaves in/from the HardFault and UsageFault interrupt ! and a lot of times! But when i set breakpoints in the respective IRQ handler, the debugger never stops.
I'm wondering if is this just a debugging/display problem from IAR.
It happens after the FreeRTOS scheduler starts. I try to not create my freeRTOS task and let only the Idle task but i have the same strange issue. If i just initialize by board, peripheral, and do a while(1) I don't see HardFault and UsageFault.
Do I have to consider that as a problem from de debugger?
Regards,
Arnaud
FreeRTOS does not expect to enter a hard or usage fault handler. If the fault handler is just a null loop, then if it did enter it, it would never exit again.
I suspect this is either just an error or misinterpretation in the log file, or that the IAR tools themselves are using these exception handlers.
Regards.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.