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 VisualMicro using wrong programmer with avrdude (Read 2353 times)
ArduinoTim
Newbies
*
Offline


Posts: 1
Joined: Mar 31st, 2015
VisualMicro using wrong programmer with avrdude
Mar 31st, 2015 at 5:34pm
Print Post  
Hi there, I've been getting quite confused with configuring VisualMicro. 
After selecting the programmer, board type, and com point it seems to ignore these settings and use stk500v2 instead of avrispmkii, and 'usb' instead of the com point I chose. Any help much appreciated!

With verbose output on can see this:
Binary sketch size: 2,964 bytes (used 10% of a 30,720 byte maximum) (0.63 secs)
Minimum Memory Usage: 367 bytes (18% of a 2048 byte maximum)
Uploading to I/O board using 'AVRISP mkII'
Uploader started for board Arduino Pro or Pro Mini w/ ATmega328 (5V, 16 MHz)
Uploader will use programmer name: avrispmkii
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude "-CC:\Program Files (x86)\Arduino/hardware/tools/avr/etc/avrdude.conf" -v -patmega328p -cstk500v2 -Pusb atmega328/coolStuff.hex:i"
Error during upload using programmer

avrdude: Version 6.0.1, compiled on Apr  3 2014 at 23:12:16
         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                    : usb
         Using Programmer              : stk500v2
avrdude: usbdev_open(): did not find any USB device "usb"

The uploader returned an error
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VisualMicro using wrong programmer with avrdude
Reply #1 - Mar 31st, 2015 at 5:45pm
Print Post  
Hi,

This is because you ticked the option "Tools>Visual Micro>Upload using programmer" by mistake.

For normal serial/usb upload you do not want to try to use a programmer which is special hardware.

Un-tick the option and then try the upload

Thanks
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint