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.

TM4C129 JTAG 引脚误配置导致 JTAG失联

Other Parts Discussed in Thread: TM4C1294NCPDT, LMFLASHPROGRAMMER

配置TM4C1294NCPDT芯片的GPIO时,误将PC0-PC3的PCTL寄存器配置为0了,导致芯片的JTAG接口无法连接。请问有什么方法可以恢复JTAG吗?我使用的时XDS110调试器。

code:

HWREG(GPIO_PORTC_BASE + GPIO_O_PCTL) = 0

我看到手册中有提到用LMFLASHPROGRAMMER可以解锁Flash,但是使用XDS110无法探测到设备,因此无法解锁。

另外,手册中有提到commit Control 寄存器似乎可以包括JTAG的引脚不会被误配置,但是我并没有配置这个寄存器。他好像没有起到保护作用。