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.

TM4C - TIRTOS project execution failure.

Hi 

I have a simple UART based TI- RTOS project ( see attachment) for TM4C123G ( I used the lauchpad).

Issue is , when I download the program, by default it goes to main, when I run , it exit's ( gets stuck in loader_exit) 

FSR = 0x0000
HFSR = 0x40000000
DFSR = 0x00000009
MMAR = 0x40038014
BFAR = 0x40038014
AFSR = 0x00000000
Terminating execution...

Same thing when I do a CPU reset in the CCS, and restart without downloading, everything works fine.
Again if I do a System reset and restart or reload the program it shows same failure. 

What could be the cause for this behavior? 

5707.TM4C_BLE_RF_Node.zip

  • Prathap,

    We will have to debug your application to find the cause.  Firstly, your application is printing partial execution core dump.  This generally can happen when "SysMin.bufSize" is small. Open the application .cfg and adjust the "SysMin.bufSize" value. Rebuild the application and run. You should see the entire exception core dump. Please refer to this wiki for debugging the execution core dump using the CCS Register View.

    Also, I recommend using Tools > RTOS Object View (ROV) tool. It provides information about the RTOS internal objects. The module views that are of importance for this issue are: Task > Detailed View (Look at Stack Values), Hwi > Exception (Look at the Exception Call Stack), HeapMem > Module (Look at Heap Values) and BIOS > Scan for Errors (General TI-RTOS errors)

    I would also recommend power cycling your board and then connect, load and debug your application.


    Vikram