After having a struggle to get the Jlink GDB server running reliably, someone suggested that I try openOCD.
I used the precompiled version of openOCD (that excludes the FDTI code) with the libusb drivers.
It was easy to install and the pair detected and connected to the jlink without problems, but when I tried to actually debug the SAM3U-EK board it failed very early on with a message about not being able to stop the processor, I suspect when it was doing a “reset init”
I decided to try via telnet and found that “reset init” and “reset halt” both failed in the same way.
I am using interface\jlink.cfg and board\atmel_sam3u_ek.cfg when starting openOCD.
Any idea what the problem is ?? openOCD and telnet logs attached.
I have tried both the 0.4.0 and latest 0.5.0 releases and both are the same
As an openOCD newbie, I suspect that I am missing something … any help welcome.
TIA
Dave