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 Overriding Baud Rate (Read 9064 times)
Douglasjthomas
Newbies
*
Offline


Posts: 4
Joined: Nov 30th, 2015
Overriding Baud Rate
Nov 30th, 2015 at 5:07am
Print Post  
Visual studio 2015 Arduino 1.6 Arduino Leonardo
Arduino IDE works fine.  Visual studio is forcing the baud rate to 57600.  Why???

Code
Select All
Uploading to I/O board using 'USB'
Uploader started for board Arduino Leonardo
Upload method will be: bootloader
Uploading via Bootloader
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude "-CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf" -v -patmega32u4 -cavr109 -PCOM5 -b57600 -D nk.hex:i"
avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch
         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Upload failed
         Using Port                    : COM5
         Using Programmer              : avr109
         Overriding Baud Rate          : 57600
avrdude: ser_open(): can't open device "\\.\COM5": The system cannot find the file specified.
avrdude: ser_send(): write error: sorry no info avail
 


Thanks for any help.
« Last Edit: Nov 30th, 2015 at 5:09am by Douglasjthomas »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Overriding Baud Rate
Reply #1 - Nov 30th, 2015 at 12:59pm
Print Post  
Hi,

This is correct and hard coded for the board by Arduino.

I suspect the problem is the wrong com port is being used which might be a recent bug in visual micro.

Which port have you selected?
Which arduino ide and version are you using?
Which arduino app name have you configured in visual micro?

Thanks
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Overriding Baud Rate
Reply #2 - Nov 30th, 2015 at 9:46pm
Print Post  
Please try the latest release there has been a fix to the upload process.

Thanks
  
Back to top
WWW  
IP Logged
 
Douglasjthomas
Newbies
*
Offline


Posts: 4
Joined: Nov 30th, 2015
Re: Overriding Baud Rate
Reply #3 - Dec 1st, 2015 at 4:23am
Print Post  
I have updated the plugin, rebooted, same error.

I have com5 selected.  Device manager sees the arduino on com5.  I can upload the same code with arduino ide and it runs fine, using com5.

I'm using arduino 1.6.6

the "app" name is "Blink" it's the demo code.  I can upload it fine with the arduino ide, but visual studio fails.

I seems like visual studio fails before the arduino has time to load the sketch.  Visual studio fails, then the arduino led blinks like its re-loading the boot loader (led pulsing fast), then resumes the previous code.  Very flustrating.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Overriding Baud Rate
Reply #4 - Dec 1st, 2015 at 10:38pm
Print Post  
Can you please tell me which version number shows for visual micro in "tools>extensions and updates>arduino ide/visual micro"

Thanks
  
Back to top
WWW  
IP Logged
 
Douglasjthomas
Newbies
*
Offline


Posts: 4
Joined: Nov 30th, 2015
Re: Overriding Baud Rate
Reply #5 - Dec 2nd, 2015 at 2:40am
Print Post  
I have Version 1511.30.0
  

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: Overriding Baud Rate
Reply #6 - Dec 2nd, 2015 at 7:10pm
Print Post  
Thanks. Sorry it got messed up with the recent asp 8266 network upload changes.

It's fixed now in 1512.2 available in the gallery

Thanks for the report
  
Back to top
WWW  
IP Logged
 
Douglasjthomas
Newbies
*
Offline


Posts: 4
Joined: Nov 30th, 2015
Re: Overriding Baud Rate
Reply #7 - Dec 3rd, 2015 at 1:36am
Print Post  
That fixed it.  You guys do Great Work.
Thank you very much.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint