AnsweredAssumed Answered

K64 ivINT Hard Fault

Question asked by Vu Nguyen on Mar 13, 2020
Latest reply on Mar 17, 2020 by Kerry Zhou

Hi everyone,

 

Once in a while my program would crash and end up in the below function that belongs to the "Vectors.c" file.  Under what situation would cause a program to crash and trigger it to go to the below function.

 

PE_ISR(Unhandled_ivINT_Hard_Fault);
PE_ISR(Unhandled_ivINT_Hard_Fault)
{
   PE_DEBUGHALT();
}

 

Debugging ARM Cortex-M Hard Faults with GDB Custom Command | MCU on Eclipse 

armex
EXEC_RETURN (LR):
lr                      0xffffffe9             4294967273
Uses MSP 0x2002ff38 return.
xPSR                0x5923
ReturnAddress 0xa
LR (R14)           0x0
R12                   0x20
R3                     0x2002ffbe
R2                     0x0
R1                     0x2002ffbe
R0                     0x2002ff40
Return instruction:
0xa <__vect_table+10>: movs r0, r0
LR instruction:
0x0 <__vect_table>: movs r0, r0

 

Best Regards,

Vu

Outcomes