OpenOCD with Olimex in WICED 3.5.2

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
GeSc_2134251
Level 2
Level 2
First like received

Hello Community,

I already have a project running fine in WICED Version 2.4.1

I'm using a murata SN8205-Board with Olimex ARM-USB-TINY-H as JTAG Adapter.

Now I want to migrate to WICED 3.5.2 and it fails in getting OpenOCD running at the moment.

I installed the new libusb-drivers from  libusb-win32 -  Browse /libusb-win32-releases/1.2.6.0 at SourceForge.net  as it was suggested in tools/OpenOCD/Olimex_README.txt. I also tried different drivers such as WinUSB installed via zadig, but nothing I tried leads to success.

Usig the libusb-driver I get the following openocd_log:

Open On-Chip Debugger 0.9.0-00029-gafd5db2-dirty (2015-05-29-18:47)

Licensed under GNU GPL v2

For bug reports, read

    http://openocd.org/doc/doxygen/bugs.html

Info : only one transport option; autoselect 'jtag'

trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst

adapter speed: 1000 kHz

adapter_nsrst_delay: 100

jtag_ntrst_delay: 100

Warn : target name is deprecated use: 'cortex_m'

jtag_init

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: stm32f2xxx.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

embedded:startup.tcl:21: Error:

in procedure 'init' called at file "./tools/OpenOCD/stm32f2x-flash-app.cfg", line 10

in procedure 'ocd_bouncer'

in procedure 'jtag_init' called at file "../../../openocd/src/jtag/core.c", line 1578

in procedure 'stm32f2xxx.cpu' called at file "./tools/OpenOCD/stm32f2x.cfg", line 94

in procedure 'ocd_bouncer'

at file "embedded:startup.tcl", line 21

embedded:startup.tcl:21: Error:

in procedure 'jtag_init' called at file "../../../openocd/src/jtag/core.c", line 1578

in procedure 'stm32f2xxx.cpu' called at file "./tools/OpenOCD/stm32f2x.cfg", line 94

in procedure 'ocd_bouncer'

at file "embedded:startup.tcl", line 21

Anyone who can give me a hint with this?

Regards,

Georg

0 Likes
1 Solution
GeSc_2134251
Level 2
Level 2
First like received

FYI: Meanwhile I solved the Problem. Actually I just had to use the correct driver...

View solution in original post

4 Replies