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: The MCU gets hanged and reboot the device and the TI RTOS application

Part Number: TM4C129ENCPDT

hi ,

as  you suggested i check the heap size and stack size allocated here is the Screenshot of the config file ,

can you tell how where do i get to see exceptional fault?

here is the old related question link :



  • Hi,

      Do you use watchdog in your application? If increasing heap and stack does not solve the problem then it is due to the application. You said the device will reboot. If the reboot is because of reset event then you can investigate the RESC register. First clear the register to 0x0 in the debugger. Next, run the application. When the device reboot, look a the RESC register and see what caused the reset to happen. This way you can better isolate the problem. If you use watchdog, you must make sure the WD is cleared before the WD timer expires. If you don't service the WD periodically or in time, then it can cause the WD reset to generate. 

  • hi Charles,

    I have added code to check the RESC register and deployed i think this helps me isolate the problem. ill get back if get i didnt get problem with reset.