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 fail to burn bootloader with in visual studio (Read 6400 times)
Tikki
Junior Member
**
Offline


Posts: 25
Location: Thailand
Joined: Feb 2nd, 2014
fail to burn bootloader with in visual studio
Nov 13th, 2014 at 4:36pm
Print Post  
I've try to burn arduino bootloader with pololu usb programmer. 
I've  made change on programmers.txt then burn It's on arduino ide which is work very well, 

but I've try to build in visual studio with no success, here is  my output

Quote:

Burning bootloader to board 'Arduino Uno' using 'Pololu USB (AVRISPv2)'
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude -C"C:\Program Files (x86)\Arduino\hardware/tools/avr/etc/avrdude.conf" -v -v -v -v -patmega328p -cstk500v2 -P\\.\ -e -Ulock:w:0x3F:m -Uefuse:w:0x05:m -Uhfuse:w:0xde:m -Ulfuse:w:0xff:m

avrdude: Version 5.11, compiled on Sep  2 2011 at 19:38:36
         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"

         Using Port                    : \\.\
         Using Programmer              : stk500v2
avrdude: ser_open(): can't open device "\\.\": The filename, directory name, or volume label syntax is incorrect.



avrdude done.  Thank you.

any idea?

PS. I've also try to build on atmel studio,  result is the same.
« Last Edit: Nov 13th, 2014 at 4:38pm by Tikki »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: fail to burn bootloader with in visual studio
Reply #1 - Nov 13th, 2014 at 4:47pm
Print Post  
Hi, it might be that we are missing the serial port property for the call to burn bootloader. Notice the -P option does not contain a port which means that Visual Micro is not passing it in.

We will take a look over the next couple of days and include it in the official release which is due next week.

Out of interest, have you selected a serial port for the sketch from the tool bar?

  
Back to top
IP Logged
 
Tikki
Junior Member
**
Offline


Posts: 25
Location: Thailand
Joined: Feb 2nd, 2014
Re: fail to burn bootloader with in visual studio
Reply #2 - Nov 13th, 2014 at 4:56pm
Print Post  
Yes,  after plug Pololu usb to pc then it pop out with 2 serial port as attachment image and both option get the same result too.
  

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: fail to burn bootloader with in visual studio
Reply #3 - Nov 13th, 2014 at 4:57pm
Print Post  
Okay thanks we will fix it. I'm not sure why the port is not already being passed, it was implemented fairly recently for all Arduino 1.5.x format programmers  Undecided
  
Back to top
IP Logged
 
Tikki
Junior Member
**
Offline


Posts: 25
Location: Thailand
Joined: Feb 2nd, 2014
Re: fail to burn bootloader with in visual studio
Reply #4 - Nov 13th, 2014 at 5:02pm
Print Post  
Thank you! I'll wait for the update then  Smiley
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: fail to burn bootloader with in visual studio
Reply #5 - Nov 14th, 2014 at 1:26am
Print Post  
1.0.x

I found the reason for the missing serial port. If you attempt upload at least once prior to burning a bootloader it will work. That is a bug in all versions for any programmers that need to know a port. (fixed for next release)

1.5.x

The pololu certainly tests the integration! With 1.5.x it fails because the build is more flexible and the instruction to use the avrdude upload tool from the arduino folder instead of the pololu folder is not being honored when burning a bootloader. should also be fixed in the next release.

Technically burning a bootloader does not need a sketch to be open but I also notice that the hardware specific custom programmers do not show up unless a sketch is open.

It's been a great test of 3rd party hardware integration, thanks!
« Last Edit: Nov 14th, 2014 at 1:26am by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: fail to burn bootloader with in visual studio
Reply #6 - Nov 22nd, 2014 at 5:30pm
Print Post  
All these items are supported in the latest release (1407.10 sp10)
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint