Hi, I frequently use the AS6 for my AVR programming and I though I'd give the Arduino for Atmel Studio a try. It installed uneventfully. For some reason it does not seem to be compiling my .ino's. The Arduino IDE does so smoothly. Here are the errors I'm getting,
Compiling 'Blink' for 'Arduino Uno'
Binary sketch size: 1084 bytes (used 3% of a 32256 byte maximum) (0.45 secs)
Uploading to I/O board using 'avrispmkii'
avrdude: usbdev_open(): did not find any USB device "usb"
Here are the steps I followed,
- Installed Arduino for Atmel Studio
- Specified the Arduino IDE location and Sketchbook locations in the Configuration Manager
- Selected Arduino Uno (since I have a Uno) from Tools > Visual Micro (Arduino 1.0.x) > Boards
- Selected COM4 (since this is the port on which my Uno is connected) from Tools > Visual Micro (Arduino 1.0.x) > Serial Port
- Selected AVRISP mkII as the programmer from Tools > Visual Micro (Arduino 1.0.x) > Programmers
- Pressed F7 to build the solution
- Pressed F5 to upload the solution
And then I got the errors listed above. Can anyone help me figure out whats wrong here?
Hi hrishib ,
by Arduino for Atmel Studio, are you talking about the VisualMicro add-in for Atmel Studio/Visual Studio ? It works fine for me. I suggest you post your question on the VisualMicro forum.
That message about the USB port, I did a quick serach on Google, and found lots of links. You may also get a clue from one of these links.
I wish you to solve the issue quickly, working with AtmeloStudio and VisualMicro is really great :).
Atmel have changed their usb drivers to use Jungo which is not compatible with the Arduino IDE.
Visual Micro uses the same tool chain that the Arduino IDE uses so both applications will fail to work with AVRISP MKII unless you switch the usb driver to an Arduino compatible driver.
This document explains how to do this.
We have a specific forum for Arduino in Atmel Studio and Visual Studio here where you will be guaranteed faster answers. We don't have the resource to monitor the arduino.cc forum because it is huge 
Thanks
Thank you for your answers folks! I got this working. All I had to do was to uncheck "Upload using programmer" under Tools > VisualMicro (Arduino 1.0.x) and it worked like a charm.