invalid command name "jtag_ntrst_delay"

Hi,

I’m just trying to set up OpenOCD as a flash programming tool for some ARM parts (AT91SAM7, STM32F1xx and STM32F2xx), but when I run as below, it objects to a command in the .cfg files, as below. Can anyone advise, please?

Thanks,

Gordon.

gordon@gordon-CoolLED /cygdrive/C/Program Files/OpenOCD/openocd-0.6.1
$ bin-x64/openocd-x64-0.6.1.exe -f scripts/target/stm32f2x.cfg -f scripts/interface/turtelizer2.cfg
Open On-Chip Debugger 0.6.1 (2012-10-07-10:39)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.sourceforge.net/doc/doxygen/bugs.html
adapter speed: 1000 kHz
adapter_nsrst_delay: 100
Runtime Error: scripts/target/stm32f2x.cfg:32: invalid command name "jtag_ntrst_delay"
in procedure 'script'
at file "embedded:startup.tcl", line 58
at file "scripts/target/stm32f2x.cfg", line 32

Make sure the interface script is before the target script.

Spen

That seems to fix that problem. Thanks Spen.

Now I have:

Error: unable to open ftdi device: device not found

in procedure ‘init’

which I’ve seen elsewhere as likely a problem with drivers on Win7 (x64), possibly not resolvable :frowning:

Ho Hum.

Where did you get your OpenOCD from?

Generally you will need either the closed ftdi drivers, libusb-win32 or libusbx drivers.

Should work fine on win7 64 if the correct drivers are installed.

Cheers

Spen

The Freddie Chopin site, 0.6.1.

I’ll explore the drivers.

Maybe I don’t have the right ones.