GDB / OpenOCD unable to halt K60 target

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

GDB / OpenOCD unable to halt K60 target

1,341 次查看
norton256
Contributor III

Hello,

I have been developing with GDB + OpenOCD on K60s for a couple of years, and this is the first time I've had a time where OpenOCD and GDB were unable to halt the micro. The device is going off into some odd and unresponsive state (it is not even blinking its LED anymore). No exceptions are being caught, and the device is not resetting. When it gets into this state, I attempt to ^C in GDB to see where in the code it is. OpenOCD responds with the following:

Info : Halt timed out, wake up GDB.

Warn : target not halted

Warn : target not halted

Has anyone encountered this before? JTAG is not broken, since I can reset the device with a NVIC SYSRESETREQ, as opposed the the SRST line from the pod.

Thanks

0 项奖励
回复
1 回复

881 次查看
norton256
Contributor III

Near as I can tell, OpenOCD is requestiong the CPU to halt through the MDM-AP register, and it times out looking for core halted in the status register.

I'm running bare metal, no low power modes.

0 项奖励
回复