cancel
Showing results for 
Search instead for 
Did you mean: 

32F7 JTAG and openocd

Franzi.Edo
Senior
Posted on September 19, 2016 at 19:01

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?

Regards

  Edo

1 REPLY 1
Amel NASRI
ST Employee
Posted on September 22, 2016 at 18:11

Hi franzi.edo,

1- Is it possible for you to use STLink instead of ftdi? Test is done without any issue (at higher frequencies) using STLink.

2- Could you please share the warning messages displayed when you set 1800 KHz clock?

-Mayla-

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.