OpenOCD "Dropped 'gdb' connection"
Hello All,
I am attempting to establish connections with my STM32H753I-EVAL2 evaluation board through OpenOCD on Eclipse.
For my OpenOCD config options I am using the board script designated for my board;
-f board/stm32h7x3i_eval.cfg
Every time I run this I get an error in final launch sequence:
Error message from debugger back end:
Load failed
Failed to execute MI command:
-f board/stm32h7x3i_eval.cfg
Error message from debugger back end:
Undefined MI command: f
Undefined MI command: f
Failed to execute MI command:
load C:\Users\user\eclipse-workspace\blinky\Debug\blinky.elf
Error message from debugger back end:
Load failed
Load failed
With a console output as follows:
GNU MCU Eclipse OpenOCD, 64-bitOpen On-Chip Debugger 0.10.0+dev-00593-g23ad80df4 (2019-04-22-20:25)
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: 1800 kHz
adapter_nsrst_delay: 100
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
Started by GNU MCU Eclipse
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 1800 kHz
Info : STLINK V3J3M2 (API v3) VID:PID 0483:374E
Info : Target voltage: 3.272148
Info : stm32h7x.cpu: hardware has 8 breakpoints, 4 watchpoints
Info : Listening on port 3333 for gdb connections
Info : accepting ‘gdb’ connection on tcp/3333
Info : Device: STM32H7xx 2M
Info : flash size probed value 2048
Info : STM32H flash has dual banks. Bank (0) size is 1024kb, base address is 0x8000000
Info : Device: STM32H7xx 2M
Info : flash size probed value 2048
Info : STM32H flash has dual banks. Bank (1) size is 1024kb, base address is 0x8100000
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x080226dc msp: 0x24004000
Info : Unable to match requested speed 4000 kHz, using 3300 kHz
Info : Unable to match requested speed 4000 kHz, using 3300 kHz
adapter speed: 3300 kHz
semihosting is enabled
Info : dropped ‘gdb’ connection
I can at least tell that the debugger is talking to the board because whenever I run the debugger it interrupts the program currently on the evaluation board. I haven’t been able to move past this point however. Can someone please tell me what it is I am doing wrong?