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 "Error compiling" and mkII issue (Read 2174 times)
Pistoolirapu
Newbies
*
Offline


Posts: 3
Location: Finland
Joined: Jul 10th, 2014
"Error compiling" and mkII issue
Jul 10th, 2014 at 5:24pm
Print Post  
Hello,

I had two problems, first one with Arduino's built-in serial programmer and second with external programmer (mkII). I have latest tools I could find out:
-Atmel Studio (6.2.1153)
-Arduino IDE (1.5.7 beta)
-Visual Micro (version was part of solution)
-Arduino built-in programmer and AVRISP mkII


Problem #1

This error came when I tried to just use Arduino's built-in serial programmer.

Quote:

Compiling 'EnsiTesti' for 'Arduino Uno'
Error compiling


Solution #1

I clear this by the help of Tim by downloading the latest Visual Micro version described in the following thread: http://goo.gl/Rs9vvg


Problem #2

This came when I tried to use external AVRISP mkII programmer.

Quote:

Compiling 'EnsiTesti' for 'Arduino Uno'
Binary sketch size: 2952 bytes (used 21% of a 14336 byte maximum) (0.20 secs)
Uploading to I/O board using 'avrispmkii'
avrdude: usbdev_open(): did not find any USB device "usb"


Solution #2

I clear this by installing specific drivers for mkII as shown here: http://goo.gl/pXXhzH


Thanks Tim for helping! Hopefully these will also help others.


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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: "Error compiling" and mkII issue
Reply #1 - Jul 10th, 2014 at 5:52pm
Print Post  
Thanks for the update. Posts like this are always very useful. 

Some notes for others:-

It is always recommended that with new Arduino beta releases (1.5.7 few days old) the beta of Visual Micro is also used.

The problem you had, avrdude: usbdev_open(), with the avrmkII programmer was due to the Jungo usb drivers installed with Atmel Studio.   

For future reference it is also possible to configure libusb in a way that allows both VisualMicro/Arduino to work and also the native Atmel Studio tools. More info here
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint