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 Visual Studio Community does not program Yun - Why using 'AVRISP mkII'? (Read 2128 times)
drg
Newbies
*
Offline


Posts: 1
Joined: Nov 23rd, 2015
Visual Studio Community does not program Yun - Why using 'AVRISP mkII'?
Nov 23rd, 2015 at 8:37pm
Print Post  
I am new to Visual Micro.
I have just installed VS Community 2015 and VM extension and Arduino 1.66
I am trying out Blink
VS sees the Yun on Com5, but is unable to program the Yun with the below error indicating that usb is not a com port?
I can find nothing else open on Com5 and Com 5 is correct and programs the Yun successfully from Arduinio interface.
All thoughts are appreciated. 
I am sure it is user error!
===
Which programmer should I be using?
For some reason VS sees the Yun on Com5, but does not see it upon program attempt.
I have verified in Control Panel/Devices that Com5 is the Arduino and is happy
There are no other programs running in task manager on com5 as far as I can see
I went to the Arduino IDE and it did program on Com5
Error messages (below)
It looks like it is trying to upload to port usb and not Com5.
Any thoughts and thank you?
Which programmer should I be using?
I am sure it is user error!


================

Uploading to I/O board using 'AVRISP mkII'
Uploader started for board Arduino Yún
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 -patmega32u4 -cstk500v2 -Pusb 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"
         Using Port                    : usb
         Using Programmer              : stk500v2
avrdude: usbdev_open(): did not find any USB device "usb"
Error during upload using programmer
Upload failed
1)      The uploader returned an error
« Last Edit: Nov 23rd, 2015 at 9:49pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio does not program Yun, Uploading to I/O board using 'AVRISP'
Reply #1 - Nov 23rd, 2015 at 8:45pm
Print Post  
Hi,

This is because you have checked "Always upload using programmer" by mistake

Using a usb cable is not classed as using a programmer.

A programmer is a separate bit if hardware that connects to the 6 pin ICSP port on the board instead of the usb.
« Last Edit: Nov 23rd, 2015 at 9:48pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint