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 Avrdude in infinite loop when uploading via USB (Read 1005 times)
FrankP
Senior Member
****
Offline


Posts: 251
Joined: Oct 19th, 2011
Avrdude in infinite loop when uploading via USB
Jun 18th, 2020 at 2:53am
Print Post  
VS2019 Version 16.6.2, Windows 10 Dell XPS 15 laptop

For some reason I'm getting infinite loop problems when uploading via USB to an Arduino Mega 2560.  I get continuous scrolling in the output window, and the only way to recover is to open Task Manager and kill the VS 2019 app.  Needless to say, this is a bit frustrating.

It's hard to tell what's going on, as the text scrolls too fast to read.  However, I did manage to capture a bit of it using a cellphone camera (see attached). Basically avrdude is reporting an infinite number of read/write errors and never seems to time out.

Any ideas what is going on here?

TIA,

Frank
  

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


Posts: 2704
Joined: Feb 13th, 2019
Re: Avrdude in infinite loop when uploading via USB
Reply #1 - Jun 18th, 2020 at 7:59am
Print Post  
Could you attach the build output with the properties set as shown in the yellow box at the top of the page? (so we can replicate your environment reliably)

Can you also attach the upload output after you have killed AVRDude, from the output window as shown above in the image?

Out of interest does the upload work via the Arduino IDE?
  
Back to top
IP Logged
 
FrankP
Senior Member
****
Offline


Posts: 251
Joined: Oct 19th, 2011
Re: Avrdude in infinite loop when uploading via USB
Reply #2 - Jun 18th, 2020 at 2:55pm
Print Post  
I have attached a txt file containing the verbose build output with build properties enabled, and the upload output after killing avrdude. 

However, I think this may be more of a hardware problem.   I cannot replicate the problem with a known-good Mega 2560, but can replicate it reliably with the suspect Mega 2560 from my robot project.

Frank
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint