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....
  • 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
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
FT2232H + ESP32 Devkit 1 - can't start debugging (Read 84 times)
Yordan
Newbies
*
Offline



Posts: 8
FT2232H + ESP32 Devkit 1 - can't start debugging
Jun 6th, 2021 at 7:15pm
 
Hello.
I have the follow debugger
...

I've connected pins 12, 13, 14 and 15, and I just saw that in some configurations have EN connected as well. ( not sure if i have to connect it )
Both boards have connected with own USB.
I've switched the driver with Zadig.
anyway I got the follow results :

Quote:
Uploading 'PumpControl' to 'DOIT ESP32 DEVKIT V1' using 'F2232H Dual RS232'
Open On-Chip Debugger  v0.10.0-esp32-20190313 (2019-03-13-09:57)
Licensed under GNU GPL v2
For bug reports, read
     http://openocd.org/doc/doxygen/bugs.html
debug_level: 0
adapter speed: 2000 kHz
esp32 interrupt mask on
****[vMicro]**** Uploading App :Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: esp32.cpu0: IR capture error; saw 0x1f not 0x01
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: esp32.cpu0: IR capture error; saw 0x1f not 0x01
Error during upload using programmer
The uploader process failed

The uploader process failed
The uploader returned an error


Please help.
Back to top
 
 
IP Logged
 
Yordan
Newbies
*
Offline



Posts: 8
Re: FT2232H + ESP32 Devkit 1 - can't start debugging
Reply #1 - Jun 6th, 2021 at 8:24pm
 
PS. Found out the issue - I were using ALL of the debugging pins  Embarrassed Embarrassed Embarrassed
So - I've reprogrammed with empty sketch, and then programmed with the real sketch with changed pin numbers.

PS : Visual Micro is awesome !

Still - I would like to know - is there some sort of definition or something which pointing that I am currently using hardware debugger, so I can distinguish when I am on it and switch the pins ?
Back to top
 
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline



Posts: 11074
United Kingdom
Re: FT2232H + ESP32 Devkit 1 - can't start debugging
Reply #2 - Jun 6th, 2021 at 9:13pm
 
Great to hear that and thanks for the update.

If you switch on verbose compile (see yellow box near the top of this page) then you can see what -D defines are passed to the compiler.

For GDB hardware debug you will see this one

Code:
VM_DEBUG_GDB 



Other tips: If you need more control, you can also add your own configuration defines in the vMicro>Project Properties>Micro General(Configuration)>Configuration Defines. That supports a semicolon ; seperated list of defines such as define1=a;define2=b. You can also create new configurations other than Debug and Release by clicking into the Configuraions combo box and add your own configurations using the toolbar at the top of the IDE. The debugger choices are also saved per configuration.

Back to top
 

Tim Leek
home
WWW  
IP Logged
 
Yordan
Newbies
*
Offline



Posts: 8
Re: FT2232H + ESP32 Devkit 1 - can't start debugging
Reply #3 - Jun 7th, 2021 at 5:13pm
 
<3 Thank You !!! <3
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print