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.

EK-TM4C123GXL: Problem with OpenOCD and reset signal when trying to debug TM4C123GXL

Part Number: EK-TM4C123GXL

Hi, I have been able to build a Texas Instruments application example for the TMC123GXL and flash it. I have checked that it works as expected.

In addition, I have installed OpenOCD and attached to it with GDB. I have checked that the debug session works printing some variables. However, I'm unable to reset and halt the MCU, reflash the firmware and re-init it.

Specifically, what I do is

sudo ./openocd -f ./ek-tm4c123gxl.cfg

[...]

sudo arm-none-eabi-gdb app.axf
gdb> monitor reset halt
gdb> load
gdb> monitor reset init

The error I obtain all the time (when I execute 'monitor reset halt'), both in the GDB prompt and in the OpenOCD one, is 'SRST error'. It seems that OpenOCD is unable to send the reset signal to the MCU. Currently, I have connected it through the USB connector, as how is done when using Keil uVision.

Do I need to connect the Tiva in any special way so the reset signal can be sent by OpenOCD?