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
Hot Topic (More than 8 Replies) Wrong upload com port (Read 11296 times)
Henk Levels
Junior Member
**
Offline


Posts: 74
Joined: Sep 28th, 2015
Wrong upload com port
Nov 28th, 2015 at 2:44pm
Print Post  
Hi,

I have uploaded a sketch from Visual Studio to a JeeNode on com5. Then I opened a new sketch in Visual Studio and want to upload this to a Arduino Uno (from .org So I selected Arduino 1.7, because that is me Arduino IDE version) on com 4 port. I selected com4 port in Visual Studio. However Visual Studio is tryin to upload to com5, see output screen see screenshot.
It seems that when I select as micro controller application Arduino 1.5 uploading to com4 works.
How can this be solved.
Thanks
« Last Edit: Nov 28th, 2015 at 2:56pm by Henk Levels »  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Wrong upload com port
Reply #1 - Nov 28th, 2015 at 4:26pm
Print Post  
Hi,

Please post a screen shot so that I can also see what is selected in the solution explorer. You can make the ide narrower before the screen shot if that is easier.

Also can you switch on the "tools>options>visual micro>compiler>show build properties" and "verbose" settings. Then try the compile and upload again emailing the output into info[at]visualmicro.com

Thanks

  
Back to top
WWW  
IP Logged
 
Henk Levels
Junior Member
**
Offline


Posts: 74
Joined: Sep 28th, 2015
Re: Wrong upload com port
Reply #2 - Nov 28th, 2015 at 5:49pm
Print Post  
Hi Tim,

See screenshot as attachment.
Output of compiler has been sent to info email address
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
hebi
Newbies
*
Offline


Posts: 6
Joined: Nov 28th, 2015
Re: Wrong upload com port
Reply #3 - Nov 28th, 2015 at 11:55pm
Print Post  
I have got the same problem, looks like VM remember com port at the start. Later port cant be changed for avrdude but works fine for Serial Monitor.
  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Wrong upload com port
Reply #4 - Nov 29th, 2015 at 12:15am
Print Post  
If you change the port manually in "Project Properties>Misc>Upload Port" does it then work okay?
  
Back to top
WWW  
IP Logged
 
hebi
Newbies
*
Offline


Posts: 6
Joined: Nov 28th, 2015
Re: Wrong upload com port
Reply #5 - Nov 29th, 2015 at 11:26am
Print Post  
Nope. I can change one of them and both changing with no result for avrdude. 
Buuut after little more testing I noticed another thing. When I choose Target Board I can set COM PORT only once and then VM remeber it. So now I have COM3 for Mega and COM4 for Uno. If I change board not touching COM selection then COM changing for avrdude only and still cant change COM using dropbox. For two Mega Bords I made second section in Arduino boards.txt (copy/paste Mega2560 section with different name) and its working like for Uno and Mega. I can set COM port for both boards only once, if I change bord only program loading for COM selected before.

Windows 10 fresh installation, only one thing, I changed COM15->COM5 COM16->COM4 in advanced COM settings. 
« Last Edit: Nov 29th, 2015 at 11:27am by hebi »  
Back to top
 
IP Logged
 
hebi
Newbies
*
Offline


Posts: 6
Joined: Nov 28th, 2015
Re: Wrong upload com port
Reply #6 - Nov 29th, 2015 at 11:52am
Print Post  
Ohhhhno ....I just f..up my VM on my laptop  Cry
1.1510.22 was OK but when I updated to 1.1511.21 .... same problems with COMs like on other computer, cant change COM  Cheesy

Just downloaded Arduino IDE for Visual Studio from https://visualstudiogallery.msdn.microsoft.com/  ->  Version 1511.23.1
but when I check VM 
Tools > Options > VM > Version > 1.1511.21
confusing  Wink

Any chance for download previous version?
« Last Edit: Nov 29th, 2015 at 12:19pm by hebi »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Wrong upload com port
Reply #7 - Nov 29th, 2015 at 12:40pm
Print Post  
That's okay the vm internal ver can be different. Take a looks at tools>extensions and updates for the installed release number.

The com port issue will be fixed over the next 24 hours

Previous builds are linked in each section of the "what's new". Right click the version you want and select "save as" or "copy the link" and paste into browser. 

http://www.visualmicro.com/page/Visual-Micro-Product-Version-History-Fixes-and-A...

I expect 1511.21 is okay or 1511.03
« Last Edit: Nov 29th, 2015 at 12:41pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
hebi
Newbies
*
Offline


Posts: 6
Joined: Nov 28th, 2015
Re: Wrong upload com port
Reply #8 - Nov 29th, 2015 at 2:46pm
Print Post  
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Wrong upload com port
Reply #9 - Nov 30th, 2015 at 9:48pm
Print Post  
Sorry for the delay.

the upload problem should now be resolved. Please install the latest release for visual studio.

Thanks
  
Back to top
WWW  
IP Logged
 
hebi
Newbies
*
Offline


Posts: 6
Joined: Nov 28th, 2015
Re: Wrong upload com port
Reply #10 - Dec 1st, 2015 at 7:47am
Print Post  
Sorry but 1511.30.0 still have the same problem, if you dont change target board you cant change comm port for avrdude.  Cry
  
Back to top
 
IP Logged
 
hebi
Newbies
*
Offline


Posts: 6
Joined: Nov 28th, 2015
Re: Wrong upload com port
Reply #11 - Dec 3rd, 2015 at 6:10pm
Print Post  
1512.2.0 problem fixed - thank you! ;]
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint