Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic VS2017 ESP32 Wrover No Hardware Debug Option (Read 1990 times)
Kabron
Full Member
***
Offline


Posts: 170
Joined: Nov 1st, 2015
VS2017 ESP32 Wrover No Hardware Debug Option
Jul 7th, 2019 at 9:15am
Print Post  
I see no " vMicro > Debugger > Hardware Debugger " option at all.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Kabron
Full Member
***
Offline


Posts: 170
Joined: Nov 1st, 2015
Re: VS2017 ESP32 Wrover No Hardware Debug Option
Reply #1 - Jul 7th, 2019 at 9:39am
Print Post  
The options appeared after several restarts. Fantastic...
« Last Edit: Jul 7th, 2019 at 9:40am by Kabron »  
Back to top
 
IP Logged
 
Kabron
Full Member
***
Offline


Posts: 170
Joined: Nov 1st, 2015
Re: VS2017 ESP32 Wrover No Hardware Debug Option
Reply #2 - Jul 7th, 2019 at 10:02am
Print Post  
Options appeared, zadig driver installed,  but debug failed with the message.
I see JTAG port activity with the scope.

The upload was via serial port. Is it correct?
« Last Edit: Jul 7th, 2019 at 10:06am by Kabron »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Kabron
Full Member
***
Offline


Posts: 170
Joined: Nov 1st, 2015
Re: VS2017 ESP32 Wrover No Hardware Debug Option
Reply #3 - Jul 7th, 2019 at 11:44am
Print Post  
Well, all this is not so simple as advertised.
First, to connect to target I have to push EN button before.
Then I got a message:
"Cannot insert breakpoint 2. Cannot access memory at 0x400d11d7"
Next I got: "Exception not processed"
"The current stack frame was not found in the loaded module. Source code cannot be displayed for this location."
etc, etc,etc
In short, nothing works

The most interesting in the attachment
« Last Edit: Jul 7th, 2019 at 11:48am by Kabron »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS2017 ESP32 Wrover No Hardware Debug Option
Reply #4 - Jul 7th, 2019 at 12:26pm
Print Post  
Hi thanks for testing, the GDB is new and will take a week or two for some boards to mature.

Unlike other Visual Micro menus, the debug menus appear only when a project is open, there is also a new toolbar called "Micro Debug Options".

No you should not need to press reset to start the board, we have not found that to be the case but will look at it.

>> The Wrover has more options than other boards however the Optimization setting on the debug menu is very important for esp boards. What have you set it too?

>> Upload using a different option to usb is set using the programmer menu options, should be same as Arduino IDE.

>> Yellow box at the top of this page shows how to get hold of the current config. This shows us the tool chain and compiler optimization settings etc.


« Last Edit: Jul 7th, 2019 at 1:05pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Kabron
Full Member
***
Offline


Posts: 170
Joined: Nov 1st, 2015
Re: VS2017 ESP32 Wrover No Hardware Debug Option
Reply #5 - Jul 7th, 2019 at 2:21pm
Print Post  
Got it working by excluding mistakelly included M5STACK support.
Thanks a lot!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint