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 Upload from VMicro go to bootloader while Arduino upload works (Read 1318 times)
WilliamW
Newbies
*
Offline


Posts: 2
Joined: Sep 1st, 2023
Upload from VMicro go to bootloader while Arduino upload works
Dec 17th, 2023 at 11:49pm
Print Post  
I am using an Adafruit Feather ESP32-S3 Reverse TFT.  I am trying to upload the WiFiScan project. When I do this with through VMicro in Visual Studio, after uploading, when I reset it goes into the bootloader (with the associated blue, green, and orange screen, no COM port, and a virtual drive).  This previously worked successfully and stopped working just after I had made a small code change.

So I've gone back to the WiFiScan project which has the same results in Visual Studio.  When I then try it with the Arduino IDE (2.2.1), after the upload, I reset and it runs successfully and I can see the output on its COM port.   

I've tried restarting Visual Studio but that didn't help.

Has anyone seen something like this before?  Any help would be appreciated.
  

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


Posts: 2708
Joined: Feb 13th, 2019
Re: Upload from VMicro go to bootloader while Arduino upload works
Reply #1 - Dec 18th, 2023 at 11:16am
Print Post  
It seems this could be an intermittent issue related to the ESP32 Board Package and upload tools from the below issue on GitHub:
https://github.com/espressif/arduino-esp32/issues/6762

Are you using the exact same code and board package in the Arduino IDE?

Does reversing your small code change help resolve the situation?
  
Back to top
IP Logged
 
WilliamW
Newbies
*
Offline


Posts: 2
Joined: Sep 1st, 2023
Re: Upload from VMicro go to bootloader while Arduino upload works
Reply #2 - Dec 18th, 2023 at 6:55pm
Print Post  
I tried backing out my changes which had no effect.  As I said, I
went back to the WiFiScan example project (with no changes) which previously worked with VMicro in Visual Studio but does not work now.  The WiFiScan example works consistantly with the Arduino IDE (2.2.1).

I am aware of the problem described in the bug referenced by the link you sent.  When I program my ESP32-S3 I need reset the board after uploading to get the code to run.  That's not the problem.

The problem is that after successfully programing using VMicro with Visual Studio it goes into the Bootloader thing.  The display shows (looks like this https://jamesachambers.com/wp-content/uploads/2023/03/ESP32-S3_Bootloader.webp) and I get file share explorer window but not a COM port.

Any ideas how to diagnose this problem?

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint