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 Uploading to Arduino suddenly stopped working (Read 5026 times)
SteveT
Junior Member
**
Offline


Posts: 10
Joined: May 6th, 2016
Uploading to Arduino suddenly stopped working
May 27th, 2016 at 9:25am
Print Post  
Have been using an FTDI USB-to-serial adapter to program my Arduio Micro Pro devices.  Adapter appears as COM3 on my PC.  All working beautifully UNTIL....

....I plugged in an Arduino Uno, which has it's own on-board USB port.  The computer detected it, loaded the driver and assigned it COM4.  I was able to upload programs to the Uno just fine.  BUT...

....I unplugged the Uno and plugged in the FTDI adapter to program some more Micro Pro devices.  The adapter was recognised and assigned its usual COM3.  However, it will no longer upload the program to the Arduino.  The compilation works fine, it reports "Uploading" but nothing happens.  No flickering LEDs on the FTDI adapter, and after a minute or so it reports an error (see attached).

Left the adapter plugged in (and plugged in to the Arduino Micro Pro as well).  Shut down Visual Studio.  Opened the Arduino IDE.  Adapter still visible to it as COM3.  Opened the same source file, compiled it, and this time it uploaded straight away.  To repeat: FTDI adapter was not unplugged and replugged.  Thus some trouble with Visual Micro.

I'm tempted to uninstall Arduino and Visual Micro, then reinstall them again, as I suspect it will fix it.  However, is this a known problem with a known solution?  Is there anything you'd like me to record for a bug report before I vape it?
  

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Uploading to Arduino suddenly stopped working
Reply #1 - May 27th, 2016 at 12:34pm
Print Post  
Visual micro sues windows/c# to check ports, Arduino uses java so that can be the only difference.

Please switch on vMicro>Verbose then post what you see. This should show us ide version, hardware and show which command vm is attempting to use.
  
Back to top
IP Logged
 
SteveT
Junior Member
**
Offline


Posts: 10
Joined: May 6th, 2016
Re: Uploading to Arduino suddenly stopped working
Reply #2 - May 27th, 2016 at 2:44pm
Print Post  
Oh, what an idiot!!  I left the board type set to Uno!

I've just corrected it and now it uploads perfectly.

I am so sorry for wasting your time.  As this thread will be of no help to anyone, feel free to delete it if you wish!

My apologies again.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Uploading to Arduino suddenly stopped working
Reply #3 - May 27th, 2016 at 2:53pm
Print Post  
Well it's good to hear that Smiley Thanks for the update.
  
Back to top
IP Logged
 
SteveT
Junior Member
**
Offline


Posts: 10
Joined: May 6th, 2016
Re: Uploading to Arduino suddenly stopped working
Reply #4 - May 27th, 2016 at 3:09pm
Print Post  
Of course, you do realise that your next job is to make Visual Micro detect the board type automatically!   Wink
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Uploading to Arduino suddenly stopped working
Reply #5 - May 27th, 2016 at 3:19pm
Print Post  
Yes I have been thinking about that, or at least a warning if upload fails to say that the board looks like something else.

  
Back to top
IP Logged
 
SteveT
Junior Member
**
Offline


Posts: 10
Joined: May 6th, 2016
Re: Uploading to Arduino suddenly stopped working
Reply #6 - May 27th, 2016 at 5:35pm
Print Post  
Actually, in all seriousness that, at least, would be very useful.  I'm sure I'm not the first person to be completely flummoxed by forgetting to set the board type correctly.

A warning to "Check the board type is set correctly" when an upload has failed would be very helpful.

I don't feel so bad about it now!   Smiley
« Last Edit: May 27th, 2016 at 5:36pm by SteveT »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint