In this short Instructable we are going to learn how to load a program to an Arduino UNO board using Atmel Studio instead of the Arduino IDE. This is useful when you need to develop a program using more advance features or in another language, in this case we are going to use Assembly language. If you have already try this you should know that loading a program via de arduino USB is very tricky because Atmel Studio don't have the option for doing that ,instead you should use a ICSP programmer. But we don't want to do that, so we are going to integrate the built in USB programming capabilities of our board. To do that we are going to use "avrdude" and "external tools" option in Atmel Studio.
Let's get started, the first step is download and install the Arduino IDE and Atmel Studio. You can download it from here:
This will take a lot of time to complete, but is the easiest way to have everything we will need. When you are done you can continue to the next step.
Now plug your Arduino UNO board into your computer and wait while the drivers installs. When is done take note of the COM port it is using. You can check it in the device administrator if you missed it. In my case is "COM4" but yours may be different, so pay attention to this.
Now the real fun begins, open Atmel Studio click in the menu "tools/external tools" You will see a dialog box asking for some parameters. So let's fill the required information.
We are done, you will see the new option "Send to Arduino UNO" in the tools menu.
Note: for Atmel Studio 6 users you will need to click in Tools\Select Profile and then set it to Advanced before doing this steps. Thanks to "cysix" for the information.
For Arduino Due you will need to use bossac.exe, please do this instead: