GDB / OpenOCD unable to halt K60 target

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

GDB / OpenOCD unable to halt K60 target

1,353件の閲覧回数
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

ラベル(2)
0 件の賞賛
返信
1 返信

893件の閲覧回数
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 件の賞賛
返信