AnsweredAssumed Answered

STM32F7 Debugging in Eclipse

Question asked by Bombadil on Nov 25, 2015
Latest reply on May 22, 2017 by YUCEL.MUHAMMET
Hello,

I need some help with the installation of a STM32F7 Discovery Board.
I would like to debug it via the integrated ST-Link/V2-1 in Eclipse

So far I use the Atollic GDB and OpenOCD (with the STM32F7 support: link )


But when I start OpenOCD I receive following errors:

Open On-Chip Debugger 0.9.0 (2015-08-15-12:41)
Licensed under GNU GPL v2
For bug reports, read
     http://openocd.org/doc/doxygen/bugs.html
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 2000 kHz
adapter_nsrst_delay: 100
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : clock speed 1800 kHz
Info : STLINK v2 JTAG v24 API v2 SWIM v11 VID 0x0483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 3.228947
Info : STM32F746.cpu: hardware has 0 breakpoints, 0 watchpoints
Error: jtag status contains invalid mode value - communication failure
Polling target STM32F746.cpu failed, trying to reexamine
Examination failed, GDB will be halted. Polling again in 100ms
Info : Previous state query failed, trying to reconnect
Error: jtag status contains invalid mode value - communication failure
Polling target STM32F746.cpu failed, trying to reexamine
Examination failed, GDB will be halted. Polling again in 300ms



It seems like there is no JTAG communication. But where can I change it to SWD?
Did anyone managed to debug a STM32F7 with Eclipse?

Outcomes