Hello,
I am trying to use my ASIX PRESTO Programmer with the OpenOCD 0.4.0.
I was able to compile the OpenOCD with FTDI drivers.
When I tried to connect to the Olimex STM32-P103 board, the autoprobe found two TAPs. (This seems OK for the processor).
But when I configured the TAPs and tried to connect to the board, I ended up in and endless loop of warnings about invalid ACK 0 in JTAG-DP transaction.
The JTAG probes are connected, but accessing the processor is not possible.
I have found that ASIX compiled old version (Open On-Chip Debugger 1.0 (2008-06-20-09:52) svn:724) that seems to work, but I would prefer to have single up-to-date version of OpenOCD for all my projects.
The OpenOCD output is following:
Open On-Chip Debugger 0.4.0 (2011-01-29-19:15)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
1000 kHz
jtag_nsrst_delay: 100
jtag_ntrst_delay: 100
20 kHz
jtag_nsrst_delay: 100
jtag_ntrst_delay: 100
jtag_nsrst_assert_width: 100
jtag_ntrst_assert_width: 100
srst_only srst_pulls_trst srst_gates_jtag srst_open_drain
Info : PRESTO open, serial number 'A6017049'
Info : setting speed to 50, max. TCK freq. is 20 kHz
Info : clock speed 20 kHz
Info : JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x3)
Info : JTAG tap: stm32.bs tap/device found: 0x16410041 (mfg: 0x020, part: 0x6410, ver: 0x1)
Warn : Invalid ACK 0 in JTAG-DP transaction
Warn : Invalid ACK 0 in JTAG-DP transaction
Warn : Invalid ACK 0 in JTAG-DP transaction
Warn : Invalid ACK 0 in JTAG-DP transaction
Warn : Block read error address 0xe000ed00, count 0x1
Warn : Invalid ACK 0 in JTAG-DP transaction
Warn : Invalid ACK 0 in JTAG-DP transaction
...
The OpenOCD configuration is:
interface presto
source [find target/stm32.cfg]
#interface
jtag_khz 20
jtag_nsrst_delay 100
jtag_ntrst_delay 100
jtag_nsrst_assert_width 100
jtag_ntrst_assert_width 100
#use combined on interfaces or targets that can't set TRST/SRST separately
reset_config srst_only srst_pulls_trst
I am running Windows 7 x64 with PRESTO drivers 2009-08-27. I was able to reproduce the same problem on Windows XP x86 and Ubuntu x64.
The OpenOCD for Windows was compiled using Cygwin with --enable-presto_ftd2xx --with-ftd2xx-win32-zipdir=…//.
Can somebody please help me out? Thanks.