VS Arduino
Visual Micro >> Hardware Debugging (GDB, GDB WiFi, GDB Stub) >> Black Magic Probe V2.1 best option for easy debugging
https://www.visualmicro.com/forums/YaBB.pl?num=1562497801

Message started by RogerW on Jul 7th, 2019 at 11:10am

Title: Black Magic Probe V2.1 best option for easy debugging
Post by RogerW on Jul 7th, 2019 at 11:10am
Hi all

I'm looking for a simple and easy way to debug ESP32 code with the Breakpoints, Stepping and live value change.

Is there any documentation on how to use the Black Magic Probe V2.1 with VS2019 and Visual Micro? Is it a good solution or would you suggest another setup?


Many thanks for your suggestions


Title: Re: Black Magic Probe V2.1 best option for easy debugging
Post by Visual Micro on Jul 7th, 2019 at 12:22pm
If you select the black magic probe from the debug menu the output window should show connection guide etc.

Title: Re: Black Magic Probe V2.1 best option for easy debugging
Post by RogerW on Jul 7th, 2019 at 2:25pm
Do you mean the Black Magic Probe does appear in the menu as soon as it is installed? 
From your point of view is the Black Magic Probe the best / easiest option for Hardware JTAG debugging on ESP32?

Title: Re: Black Magic Probe V2.1 best option for easy debugging
Post by Visual Micro on Jul 7th, 2019 at 2:37pm
I think I confused things. I see the Black Magic is missing from the Esp32 debuggers list. We will add it during next week.

Here is some info for later. We are expanding the docs all the time but here are a few links

Main Documentation Index (see Gdb Debug Section)

Esp32 Debugging Configuration

Using the Gdb Debugger




Title: Re: Black Magic Probe V2.1 best option for easy debugging
Post by RogerW on Jul 7th, 2019 at 2:45pm
Thx, looking forward to the add on for ESP32 debugging with black magic probe. Will read through the doc in the meantime. I'll report back as soon as the new version is available and I've tried it out.

Title: Re: Black Magic Probe V2.1 best option for easy debugging
Post by Visual Micro on Jul 7th, 2019 at 3:21pm
I added a test definition for the BMP on COM for esp32 to the 1907.6.2 release here
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES

The BMP using UART does need your code to be configured correctly.

The debug team will look at this more next week but this one should work okay if that's what you wanted.

Title: Re: Black Magic Probe V2.1 best option for easy debugging
Post by Visual Micro on Jul 9th, 2019 at 3:00pm
The black magic probe does not support the ESP32. What led you to believe that it did?

Title: Re: Black Magic Probe V2.1 best option for easy debugging
Post by RogerW on Jul 11th, 2019 at 4:17pm
Oh, sorry about that. I‘m new to Jtag debugging and thought the black magic probe is a universal ARM probe. Hope I didn‘t cause to much trouble.

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.