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.

TM4C129ENCPDT: TM4C129ENCPDT, The controller gets stuck at Fault ISR with error Imprecise Bus Fault

Part Number: TM4C129ENCPDT

Hello All,

Hope all doing good.

I am facing an issue in TM4C129ENCPDT. After I run the controller for more than an hour there would be Imprecise bus fault error as below

Checking the stack pointer points to 0x20001548

The memory browser shows as below and so I checked the disassembly at 000098A6.

At 0098A6 the disassembly looks as below:

Request your help to understand further on the issue that could be.

Thank you in advance.

Regards

Shijin

  • HI Shijin,

    What you need to look is the exception stack frame. In CCS go to the Registers browser window and look at the MSP register under the Core Registers. Find out what MSP value is and go to that location. When an exception occurs the R0-R3, R12, LR, PC and xPSR are saved there. You want to examine the saved PC, not the current PC. Go to the saved PC address and in the disassembly window you should try to find a STR instruction that may have caused the imprecise bus error. That STR instruction should be a little earlier than the saved PC. It may be at the end of a function before the saved PC. Normally, a STR operation that caused a bus error is imprecise due to the processor write buffer.

    Further imprecise fault investigation can be found in section 3.3 of this app note. www.ti.com/.../spma043.pdf
  • Thanks a lot Charles, 

    Appreciate your quick support. I have yet to debug on the issues, but understodd how to debug the fault.