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.

RTOS/TM4C1290NCPDT: Definitions of fault registers

Part Number: TM4C1290NCPDT

Tool/software: TI-RTOS

TI-RTOS.  I'm getting a fault error in my code, it prints out the FSR, HFSR, DFSR, MMAR, BFAR and AFSR values.  Those registers don't seem to be documented in the CPU manual, there's a Fault Exceptions tutorial from armKEIL that lists a few of these registers.  Where is the documentation on these registers?

Thanks

  •   Please find below in the datasheet. The names may not exactly match what is printed in the TI-RTOS message. The names that are printed out in TI-RTOS are the direct names used in ARM Cortex-M4 processor TRM. You can find the TRM at http://infocenter.arm.com/help/topic/com.arm.doc.ddi0439b/DDI0439B_cortex_m4_r0p0_trm.pdf

      Many of times when you get a fault, it is because you are accessing a peripheral that is not yet enabled. This can lead to a hard fault. It is also possible that you get a memory fault because your stack overflows. Normally, you can increase the stack size just to see if it makes the fault go away and confirm if the fault was indeed due to a memory. In TI-RTOS you can use the ROV to see if your task overflow the allocated stack size. 

    The below two links will be also helpful.

    http://processors.wiki.ti.com/images/2/27/DebuggingExceptions.pdf

      To give a heads-up, it is a US holiday tomorrow and I will be out of office for a week. Hopefully you will be able to resolve your issue with the provided information. If your problem is not resolved, I will suggest you open another thread so that our support team can assist you. If you respond here, our support team may miss it. 

  • Hi Doug,

      I hope the information i provided earlier will clear you questions and hope your issue is resolved. I will close this thread for now. If the issue is not resolved please just reply to this thread again to share your updates.