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 Misplaced {program.verify} in command breaks upload (Read 5085 times)
raven-ai
Newbies
*
Offline


Posts: 4
Joined: Aug 11th, 2016
Misplaced {program.verify} in command breaks upload
Aug 11th, 2016 at 3:40am
Print Post  
Hello,

I am attempting to upload to an ATtiny85 using the Arduino as ISP programmer and I was getting the "no programmer has been specified" (full log below). While the Arduino IDE was able to upload fine.

I compared the verbose outputs of VS and Arduino IDE and noticed that VS is passing "-v {program.verify}" to avrdude while Arduino IDE is just passing "-v " followed by the next commandline switch. 

I tested in cmd and was able to confirm that with the placeholder(?) present avrdude produces the same error while with it absent it uploads correctly.

Is there a way to fix this?

Thank you

Full verbose output from VS:

Quote:

Compiling 'ATTiny85Test' for 'ATtiny25/45/85 w/ ATtiny85'
Program size: 684 bytes (used 8% of a 8,192 byte maximum) (0.56 secs)
Minimum Memory Usage: 9 bytes (2% of a 512 byte maximum)
 
Uploading 'ATTiny85Test' to 'ATtiny25/45/85 w/ ATtiny85' using 'Arduino as ISP'
Uploader started for board ATtiny25/45/85 w/ ATtiny85
Uploader will use programmer name: arduinoasisp
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude "-CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf" -v {program.verify} -pattiny85 -cstk500v1 -PCOM3 -b19200 nyX5_attiny85/ATTiny85Test.ino.hex:i"
avrdude: Version 6.3, compiled on Jun 22 2016 at 16:05:21
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch
Error during upload using programmer
Upload failed

Upload failed
The uploader returned an error
         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
avrdude: no programmer has been specified on the command line or the config file
         Specify a programmer using the -c option and try again



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


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Misplaced {program.verify} in command breaks upload
Reply #1 - Aug 11th, 2016 at 6:22pm
Print Post  
Thanks for the post. 

I missed that one, it's a relatively new config setting.

{upload.verify} was added recently but not {program.verify}

There should be a new version of visual micro over the next 24 hours with a patch for that.
  
Back to top
IP Logged
 
raven-ai
Newbies
*
Offline


Posts: 4
Joined: Aug 11th, 2016
Re: Misplaced {program.verify} in command breaks upload
Reply #2 - Aug 12th, 2016 at 12:07pm
Print Post  
Thank you for the quick reply, looking forward to the new version!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Misplaced {program.verify} in command breaks upload
Reply #3 - Aug 12th, 2016 at 12:09pm
Print Post  
It was released yesterday
  
Back to top
IP Logged
 
raven-ai
Newbies
*
Offline


Posts: 4
Joined: Aug 11th, 2016
Re: Misplaced {program.verify} in command breaks upload
Reply #4 - Aug 12th, 2016 at 12:25pm
Print Post  
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Misplaced {program.verify} in command breaks upload
Reply #5 - Aug 12th, 2016 at 2:52pm
Print Post  
Thanks, I must have forgotten to push save on the last screen of galleryt submission

Will do later today
  
Back to top
IP Logged
 
raven-ai
Newbies
*
Offline


Posts: 4
Joined: Aug 11th, 2016
Re: Misplaced {program.verify} in command breaks upload
Reply #6 - Aug 30th, 2016 at 7:35pm
Print Post  
Ag, forgot to respond to this - All working fine now. Thank you!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint