This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1294KCPDT: Hardfault stranger

Part Number: TM4C1294KCPDT

Hi everyone,

I am developing my project on MCU TM4CKCPDT. Now I am meeting hardfault interrupt but I can't define what type fault.

I get value of 2 register:

NVIC_FAULT_STAT (0xE000ED28): 0x00008200 ( bus fault scenario 1)
NVIC_FAULT_ADDR(0xE000.ED38):0x0101002d
When refer the value of NVIC_FAULT_ADDR to the Memory Map table 0x0008.0000 to 0x01FF.FFFF, It is reserved.

The issue happen after completing function  read data from eeprom by SPI.
Please help me define this Hardfault.

Thank all.

  • Huy,
    HW Faults need some effort to debug, there's no easy magic available.
    You need to follow www.ti.com/.../spma043
    Sometimes, following it leads nowhere - and that's usually related to causes that are actually NOT apparently a fault of one particular peripheral, for example - I've seen times when the MCU goes there because the program is trying to write data outside the expected size of an array, which eventually points it to a non-existing location. Consider this possibility if the more obvious ones are excluded.
    Regards
    Bruno