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 Fatal error when hardware debugging esp32 wroom D1 mini with FT2232H Mini Modul (Read 1345 times)
Christoph
Junior Member
**
Offline


Posts: 32
Joined: Sep 4th, 2020
Fatal error when hardware debugging esp32 wroom D1 mini with FT2232H Mini Modul
Nov 24th, 2020 at 12:45pm
Print Post  
Hello,

I have this output:

Uploading 'Blink' to 'WEMOS D1 MINI ESP32' using 'COM12'
esptool.py v2.6
Serial port COM12
___
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
esptool.py v2.6
Serial port COM12
___
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

when trying to hardware debug my blink.ino example on my esp32 wroom d1 mini.

Connection is like in the two added pictures. I only missed the 3.3V connection because if I do there is nothing blinking at all.

I see my debugger FT2232H Mini Modul in my device manager and I also used the zading wizzard for setting up my driver. I downloaded the vtp driver available on

https://www.ftdichip.com/Drivers/VCP.htm ;

and run the setup wizard.

When I connect the debugger to esp32 modul also compiling with arduino ide gets failed.

Many thanks in advance for any help Smiley

Other picture and output with verbose in next comments
  

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


Posts: 32
Joined: Sep 4th, 2020
Re: Fatal error when hardware debugging esp32 wroom D1 mini with FT2232H Mini Modul
Reply #1 - Nov 24th, 2020 at 12:45pm
Print Post  
Picture from VS and the output Smiley
  

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


Posts: 2145
Joined: Feb 13th, 2019
Re: Fatal error when hardware debugging esp32 wroom D1 mini with FT2232H Mini Modul
Reply #2 - Nov 24th, 2020 at 1:15pm
Print Post  
Thanks for the report, and all of the detail.

Have you made all of the power connections around the Mini Module itself from the datasheet?
These are also pictured here

I assume that COM12 on your machine is for the FT2232H Mini Module?
If Yes - to upload via the Mini Module, it needs to be selected as a Programmer from the vMicro > Upload > Hardware Programmer menu.
Doc: https://www.visualmicro.com/page/User-Guide.aspx?doc=Upload-and-Run.html
« Last Edit: Nov 24th, 2020 at 1:19pm by Simon@Visual Micro »  
Back to top
 
IP Logged
 
Christoph
Junior Member
**
Offline


Posts: 32
Joined: Sep 4th, 2020
Re: Fatal error when hardware debugging esp32 wroom D1 mini with FT2232H Mini Modul
Reply #3 - Nov 24th, 2020 at 2:05pm
Print Post  
Its working, step by step debugging awesome Kiss thank you for the connection picture!!
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: Fatal error when hardware debugging esp32 wroom D1 mini with FT2232H Mini Modul
Reply #4 - Nov 24th, 2020 at 2:49pm
Print Post  
No problem and glad it has resolved the issue.

There are some additional links shown in the Output Window when you select the debugger with the connection diagrams and guides on the options to select.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint