Yarns JTAG upload process

Hey guys,
I am trying to upload the code on a Yarns but it gives the following error:
Open On-Chip Debugger 0.9.0 (2016-03-27-11:27)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag’
adapter speed: 1000 kHz
adapter_nsrst_delay: 200
jtag_ntrst_delay: 200
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst
Warn : Using DEPRECATED interface driver 'ft2232’
Info : Consider using the ‘ftdi’ interface driver, with configuration files in interface/ftdi/…
Info : max TCK change to: 30000 kHz
Info : clock speed 1000 kHz
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway…
Error: stm32.cpu: IR capture error; saw 0x0f not 0x01
Warn : Bypassing JTAG setup events due to errors
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Error: Target not examined yet

stmlib/makefile.inc:452: recipe for target ‘upload_jtag’ failed
make: ***** [upload_jtag] Error 1

Any help would be greatly appreciated

Check first that your adapter is detected by the USB subsystem.

Do you see it when you run lsusb?

Yes of course it reacts differently when I remove the adapter and lsusb also displays it.

Is it a factory-made unit? Is the cable connected with the right orientation?

Sounds to me like you don’t have the right adapter set up in the Makefiles. What adapter are you using and what are the PGM_INTERFACE and PGM_INTERFACE_TYPE variables set to?

I am trying the VM box next with my arm-usb-ocd-h adapter.The problem is its a DIY board but the chip gets 3.3V and has all the JTAG pins connected correctly the only explanation is that the chip is broken, is there a easy way to test it?

No support for DIY boards here.