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 Boards starts after a five second delay when I use Visual Micro to upload code (Read 708 times)
Mars
Newbies
*
Offline


Posts: 1
Joined: Jul 10th, 2019
Boards starts after a five second delay when I use Visual Micro to upload code
Jul 10th, 2019 at 9:04pm
Print Post  
Hello,
 
I am working on a Aadafruit Huzzah board (ESP8266) with the Visual Micro extension for Visual Studio 2019.

I have an issue specific to the Visual Micro Extension (no issue with the standard Arduino IDE).

My board enters and executes the ‘setup()’ function I wrote about 5 seconds after being powered.

I have tried to turn off the feature named after “Startup delay or DTR”. It has no effect.
Turning the “Startup delay or DTR” option to false (with DTR on false or true) doesn’t change anything. Whatever I do, my board enters the setup() function  about 5 second after being powered. It also take about 5 second to enter the setup() function after resetting the board.

I also tried to go to the "Release" configuration, set the Debug option to off. Still, no effect.

After uploading the code, everything is acting as if it was in debug mode (with serial monitor opening and everything)

What can I do to upload my code without any debug features and having the board running the setup() function without this 5 seconds delay ?

Thank you.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Boards starts after a five second delay when I use Visual Micro to upload code
Reply #1 - Jul 10th, 2019 at 9:06pm
Print Post  
Please provide the info requested in yellow at the top of this page.

and also make sure vMicro>Debugger> is set to Off instead of Serial. Off should be the default for the Release configuration. There is also a Micro Debug Options tool bar that can be displayed with same settings.
« Last Edit: Jul 10th, 2019 at 9:17pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint