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.

TM4C1290NCPDT: Fault ISR

Part Number: TM4C1294NCPDT

Hello,

I am working on Datalogger project and I am publishing  digital data  on MQTT .

I have CCS version 9.2.0. I have created workspace within the original workspace. 

I have connected Ethernet to the Tm4c129 board  and run the Enet_lwip code .

It worked fine for 2,3 days,I have published the data through my datalogger project too.

After 2,3 days I am getting the issues while debugging these project , I run my project it goes into NMI ISR and the Fault ISR.

I debug enet_lwip example code also then also I am getting same issues going in Fault ISR.

also The code sometimes goes into the file tivaif.c (the file is located in -third party/lwip1.4.1/ports/tiva-tm4c129  in tivaware series 2.1.4.178)

Please suggest me solution for this problems. I am new to the  Ethernet ,LWIP stack and MQTT.

thanks and Regards

Deoyani

 

  • Hello Deoyani,

    For Fault ISR, can you go through this User Guide to help diagnose what the fault is and then we can delve further into this? https://www.ti.com/lit/pdf/spma043

    Also make sure your stack size is sufficient. Usually for Ethernet, you will want 512 or 1024 bytes of stack space allocated.

  • Stack size is sufficient it is 2048 by default in the example code enet_lwip.

    also I have gone through the document i got the NVIC_FAULT_STAT register address 0x00008200  that is PRECISE and BFARV bits are set. but I am no getting how to resolve this issue . I have tried the solution as given in the document . but It is not resolving my problem.

    Please suggest me any solution.

     Example code of TI work Correctly . I am worry about  How the example code is also not working . 

    Thank You for your response , Please suggest me any solution

    thanks and regards

    Deoyani

  • Hello Deoyani,

     Example code of TI work Correctly . I am worry about  How the example code is also not working . 

    I want to clarify here first, are you observing this issue with enet_lwip example without making any modifications to it?

  • Hello Deoyani,

    also I have gone through the document i got the NVIC_FAULT_STAT register address 0x00008200  that is PRECISE and BFARV bits are set. but I am no getting how to resolve this issue . I have tried the solution as given in the document . but It is not resolving my problem.

    Can you provide the Address you are getting inside of the Bus Fault Address Register (FAULTADDR) register?

    What steps did you take so far to address this?

    I'd be happy to guide you along but I need as much information about what the results of your debug steps were and what you have tried to do to resolve this in order to help guide you.