AnsweredAssumed Answered

32F7 JTAG and openocd

Question asked by franzi.edo on Sep 19, 2016
Latest reply on Sep 22, 2016 by Amel N
opened problem with stm32F7 ?
Dear All,
I am using JTAG openocd to program the stm32f7 flash. I am facing to a strange behaviour. I can program the cpu flash but I have to reduce the clock of the JTAG to 100KHz. Exactly the same hardware works fine with the stm32F4. The scope shows that all the signals have the good levels and the timings seem to be correct. If I set the clock at 1800KHz I can program but I receive a lot of warning messages and it takes approximativly the same time as I use 100KHz.
Here is my openocd script

interface ftdi
ftdi_vid_pid 0x0403 0x6011
ftdi_channel 1
ftdi_layout_init 0x0008 0x000b

source [find target/stm32f7x.cfg]
adapter_khz 1800
reset_config none

# Compiled in 0x00200000 and burned in 0x08000000
# Execution using the ART and the ITCM bus
program ./EPROM.bin 0x08000000 verify reset exit

If I slowdown the clock, everything is OK
adapter_khz 100

I am using the latest openocd downloaded from the repository.
Any advices?