Sysprogs forums › Forums › VisualGDB › dropped 'gdb' connection (error -400)
Tagged: gdb openOCB debugging
- This topic has 1 reply, 2 voices, and was last updated 6 years, 5 months ago by
support.
-
AuthorPosts
-
October 18, 2018 at 22:21 #22354
matiase
ParticipantHello,
I create project according to this tutorial https://visualgdb.com/tutorials/arm/stm32/nucleo411re/.
I have pcb NUCLEO F103RB. When I try to upload sample HAL project I can’t connect with microcontroller.
In the attachment I send screen from debugging settings.
Logs from test debugging:
C:\Users\MK\AppData\Local\VisualGDB\EmbeddedDebugPackages\com.sysprogs.arm.openocd\bin\openocd.exe -c “gdb_port 54462” -c “telnet_port 54463” -f interface/stlink-v2-1.cfg -f target/stm32f1x.cfg -c init -c “reset init” -c “echo VisualGDB_OpenOCD_Ready”
Open On-Chip Debugger 0.10.0 (2018-05-24) [https://github.com/sysprogs/openocd]
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
WARNING: interface/stlink-v2-1.cfg is deprecated, please switch to interface/stlink.cfg
Info : auto-selecting first available session transport “hla_swd”. To override use ‘transport select <transport>’.
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 1000 kHz
adapter_nsrst_delay: 100
none separate
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : clock speed 950 kHz
Info : STLINK v2 JTAG v28 API v2 SWIM v17 VID 0x0483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 3.265963
Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : Listening on port 54462 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0xd0024282 msp: 0x4b044800
VisualGDB_OpenOCD_Ready
Info : Listening on port 6666 for tcl connections
Info : Listening on port 54463 for telnet connections
Info : accepting ‘gdb’ connection on tcp/54462
Info : device id = 0x20036410
Info : flash size = 128kbytes
Info : dropped ‘gdb’ connection (error -400)I tried change interface/stlink-v2-1.cfg to interface/stlink.cfg and speed from 1000 to 950 kHz, but I still have the same problem.
-
This topic was modified 6 years, 5 months ago by
matiase.
-
This topic was modified 6 years, 5 months ago by
matiase.
Attachments:
You must be logged in to view attached files.October 19, 2018 at 04:45 #22358 -
This topic was modified 6 years, 5 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.