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.

DK-TM4C129X: After Downloading Demo Code to uC & Launching Debugger (IAR Embedded Systems) & Pressing HW Reset Button, uC keeps on Resetting and Unable to Re-Upload FW

Part Number: DK-TM4C129X

Hi,

I did the following:

1) In IAR Embedded Workbench, pressed "Download & Launch Debugger" for TI example code "grlib_demo"

2) I didn't see the grlib_demo program appear on the touchscreen. In fact it seemed like my old code was still being run by the uC despite the Debug Log stating that it loaded "grlib_demo" and performed a software reset.

3) I decided that maybe I needed to manually reset the uC so it could load the just uploaded FW and display grlib_demo. Pressed the RESET button located next to the touchscreen

4) grlib_demo program appears on touchscreen but uC eternally resets (the touchscreen kept flashing from a white screen to the grlib_demo and back again). I can't stop the resetting.

5) When trying to upload new FW to get out of this eternal reset state, programs say something to the effect of "target cannot be initialized"

I finally got out of this eternal reset state by holding down the reset button, and immediately after releasing it I began uploading new FW. In that narrow window of time, my computer can still see the USB connection so it can initiate a FW update.

But for future reference, I'd like to better understand:

(1) Why did the uC enter this eternal reset state when I was in debugger mode and pressed the HW reset button?

(2) Why didn't grlib_demo appear when I pressed "Download & Launch Debugger" in IAR Embedded Workbench (this might be a question for them, but I thought I'd throw it out there anyways)?

Thank you for the input,

Kevin