I’ve tried all the suggestions found on web, but nothing worked… 😥
When I Start Debugging with GDB, this is the error I have:
Open On-Chip Debugger 0.8.0 (2014-05-02-12:11)
Licensed under GNU GPL v2
For bug reports, read
… hyperlink snipped…
Info : This adapter doesn’t support configurable
speed
Info : STLINK v2 JTAG v23 API v2 SWIM v6 VID 0x0
483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 3.269291
Info : stm32f4x.cpu: hardware has 6 breakpoints,
4 watchpoints
target state: halted
target halted due to debug-request, current mode
: Thread
xPSR: 0x01000000 pc: 0x08002390 msp: 0x20000560
Info : accepting ‘gdb’ connection from 3333
Info : device id = 0x10006431
Warn : Cannot identify target as a STM32 family.
Error: auto_probe failed
Error: Connect failed. Consider setting up a gdb
-attach event for the target to prepare target f
or GDB connect, or use ‘gdb_memory_map disable’.
Error: attempted ‘gdb’ connection rejected
But if I test the OpenOCD settings, all is fine:
C:UsersGuidoAppDataLocalVisualGDBEmbeddedDebugPackagescom.sysprogs.arm.openocdbinopenocd.exe -f interface/stlink-v2-1.cfg -f target/stm32f4x_stlink.cfg -c init -c “reset init”
Open On-Chip Debugger 0.8.0 (2014-05-02-12:11)
Licensed under GNU GPL v2
For bug reports, read
… hyperlink snipped…
Info : This adapter doesn’t support configurable speed
Info : STLINK v2 JTAG v23 API v2 SWIM v6 VID 0x0483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 3.267717
Info : stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpoints
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08002390 msp: 0x20000560
Info : accepting ‘gdb’ connection from 3333
Is there someone that could help me to make VisualGDB work with ST-Link v2-1?
Thanks and best regards
Guido