openOCD 0.5.0 and STM32VLDISCOVERY

Hi,

I have a problem with my debuger Olimex ARM-USB-OCD-H, when I try connect it with STM32VLDISCOVERY kit (STM32F100RB microcontroller) I getting this message.

C:\Olimex\openocd>openocd -f interface/olimex-arm-usb-ocd-h.cfg -f board/stm3210

0b_eval.cfg

Open On-Chip Debugger 0.5.0 (2011-08-11-13:48)

Licensed under GNU GPL v2

For bug reports, read

http://openocd.berlios.de/doc/doxygen/bugs.html

Info : only one transport option; autoselect ‘jtag’

1000 kHz

adapter_nsrst_delay: 100

jtag_ntrst_delay: 100

cortex_m3 reset_config sysresetreq

Info : max TCK change to: 30000 kHz

Info : clock speed 1000 kHz

Info : JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0xba0

0, ver: 0x3)

Info : JTAG tap: stm32.bs tap/device found: 0x06420041 (mfg: 0x020, part: 0x6420

, ver: 0x0)

Warn : Unexpected idcode after end of chain: 192 0x00000000

Warn : Unexpected idcode after end of chain: 224 0x000000f1

Warn : Unexpected idcode after end of chain: 256 0x1a0000ff

Error: double-check your JTAG setup (interface, speed, missing TAPs, …)

Error: Trying to use configured scan chain anyway…

Error: stm32.bs: IR capture error; saw 0x0f not 0x01

Warn : Bypassing JTAG setup events due to errors

Warn : Invalid ACK 0 in JTAG-DP transaction

Polling target failed, GDB will be halted. Polling again in 100ms

Polling target failed, GDB will be halted. Polling again in 300ms

Polling target failed, GDB will be halted. Polling again in 700ms

Polling target failed, GDB will be halted. Polling again in 1500ms

Polling target failed, GDB will be halted. Polling again in 3100ms

Does anybody know where is the problem?

Personally, I’ve always had an issue with olimex. Seeing as it has connected to the board, and all specs are right (it recognized the device), I have a feeling (It may be biased) that your olimex debugger may be slipping up.