VS Arduino | |
Visual Micro >> Hardware Debugging (GDB, GDB WiFi, GDB Stub) >> VS2017 STM32 "Unable to start debugging... "
https://www.visualmicro.com/forums/YaBB.pl?num=1565367711 Message started by Indrid kold on Aug 9th, 2019 at 4:21pm |
Title: VS2017 STM32 "Unable to start debugging... " Post by Indrid kold on Aug 9th, 2019 at 4:21pm
I'm working to get GDB working with an STM32F103C8 board. I can successfully program the board using an STLinkV2. My vMicro version is 1908.5.1. STLink upgraded to latest via STCubeProgrammer. When I attempt to start debug a dialog stating "...Unable to establish a link to GDB..." appears. Build text is attached, thanks for any assistance.
![]() ![]() |
Title: Re: VS2017 STM32 "Unable to start debugging... " Post by Visual Micro on Aug 10th, 2019 at 10:14am
Thanks for the info. Can you also please see if there are any .log files in
[code]C:\Users\Wilmore\AppData\Local\Temp\VMBuilds\STLinkV2DebugTest\stm32duino_genericSTM32F103C\Debug[/code] |
Title: Re: VS2017 STM32 "Unable to start debugging... " Post by Indrid kold on Aug 12th, 2019 at 1:32pm
Good morning and thanks for your response. The .log file is attached.
![]() |
Title: Re: VS2017 STM32 "Unable to start debugging... " Post by Simon Hopkinson on Aug 12th, 2019 at 7:08pm
Testing on my setup it currently reports as below in the output when its all connected correctly, but fails as yours does when either my USB Lead is bad, or when the VID/PID being searched for is incorrect (they normally prompt more clearly about this).
[code]Info : STLINK v2 JTAG v29 API v2 SWIM v7 VID 0x0483 PID 0x3748[/code] A few more questions:- 1) Can you confirm what the source / instructions to update the STLink if possible? 2) Would you be able to confirm the successful upload was using the "STLinkv2 + OpenOCD (VMicro)" Menu option? 3) If (2) = YES - does it still works since updating the STLink? (please attach output if this works) 4) Finally, what does it report as in Device Manager > USB devices > STM32 STLink > Details > Hardware IDsĀ (something like USB\VID_0483&PID_3748) |
VS Arduino » Powered by YaBB 2.6.12! YaBB Forum Software © 2000-2025. All Rights Reserved. |