Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Black Magic Probe V2.1 best option for easy debugging (Read 894 times)
RogerW
Junior Member
**
Offline



Posts: 19
Egnach
Black Magic Probe V2.1 best option for easy debugging
Jul 7th, 2019 at 12:10pm
 
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

Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10561
United Kingdom
Re: Black Magic Probe V2.1 best option for easy debugging
Reply #1 - Jul 7th, 2019 at 1:22pm
 
If you select the black magic probe from the debug menu the output window should show connection guide etc.
Back to top
 
WWW  
IP Logged
 
RogerW
Junior Member
**
Offline



Posts: 19
Egnach
Re: Black Magic Probe V2.1 best option for easy debugging
Reply #2 - Jul 7th, 2019 at 3: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?
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10561
United Kingdom
Re: Black Magic Probe V2.1 best option for easy debugging
Reply #3 - Jul 7th, 2019 at 3: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



Back to top
 
WWW  
IP Logged
 
RogerW
Junior Member
**
Offline



Posts: 19
Egnach
Re: Black Magic Probe V2.1 best option for easy debugging
Reply #4 - Jul 7th, 2019 at 3: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.
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10561
United Kingdom
Re: Black Magic Probe V2.1 best option for easy debugging
Reply #5 - Jul 7th, 2019 at 4: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.
Back to top
 
WWW  
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10561
United Kingdom
Re: Black Magic Probe V2.1 best option for easy debugging
Reply #6 - Jul 9th, 2019 at 4:00pm
 
The black magic probe does not support the ESP32. What led you to believe that it did?
Back to top
 
WWW  
IP Logged
 
RogerW
Junior Member
**
Offline



Posts: 19
Egnach
Re: Black Magic Probe V2.1 best option for easy debugging
Reply #7 - Jul 11th, 2019 at 5: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.
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print