MCU: TM4C1294NCPDT
TI-RTOS: v2.01.00.03
CCS: v6.0.1.0040
-
Hello,
Often I find that the CPU lands up into a HARD FAULT. How can I figure out (during run time) that which particular task was running when the HARD FAULT occured? To figure this out, I would prefer that upon a HARD FAULT an error code be written to a particular location in the eeprom memory of the MCU, so that, later on the system can figure out the cause (or probable cause) of the fault. How to implement this?
Thanks
Regards
Soumyajit