SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By JonathanC
#189754
Hello,

I am trying to debug the board SAMD21 mini breakout with the C232HM debugger and OpenOCD. I connect the pins TCK,TMS, TDI, TDO and GND, I power up the board and I get the following error with OpenOcd :
Open On-Chip Debugger 0.9.0 (2015-08-15-12:41)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 1000 kHz
jtag
Info : clock speed 1000 kHz
Warn : There are no enabled taps. AUTO PROBING MIGHT NOT WORK!!
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Warn : Bypassing JTAG setup events due to errors
Warn : gdb services need one or more targets defined
My cfg file is :
interface ftdi

ftdi_vid_pid 0x0403 0x6014
ftdi_layout_init 0x0008 0x400b
adapter_khz 1000
transport select jtag
I checked several times the wire connection but I don't know what I am doing wrong ? Is there a pin on the board to activate the debug port ?

Thanks for your help.