lpcware

HardFault and UsageFault seen by Interrupt Log Summy window (IAR 6.5)

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by ArnaudE on Fri Sep 11 07:57:22 MST 2015
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 (see picture)! 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

Attachments

Outcomes