Setup External Programmer in Atmel Studio
Setup External Programmer in Atmel Studio
This guide shows you how to add an external programmer in Atmel Studio 7.0. Once setup the
external programmer, you can flash the AVR board without switching to “Universal_GUI.exe”,
which provides a seamless workflow that making debug and troubleshooting a bit faster.
0. Download avrdude
V:\avrdude\avrdude.exe
For your personal Windows PC, you can download avrdude here:
http://web.engr.oregonstate.edu/~jinyo/ece375/sw/avrdude.zip
In order to setup an External programmer, Atmel Studio needs to be in 'Advanced' profile. This
can be found under the Tools menu.
Title:
USBASP (or the name of your choice)
Commands:
C:\Program Files (x86)\avrdude\avrdude.exe (or the path of avrdude.exe)
Arguments:
-c usbasp -p atmega128 -B12 -U flash:w:$(BinDir)\$(TargetName).hex:i
Check 🗹 “Use Output window”, Uncheck ☐ “Treat output as Unicode” and ☐ “Prompt for arguments”.
This section is optional. You can skip it if you feel more clicky using the mice or touchpad.
Enter your preferred shortcut keys and click “Assign”. Click “Ok” to save the setting.
You can also assign shortcuts for other y frequent used command like “Set as Entry File” or
“Build Solution”, e.g. my choices of shortcut are:
First, make sure to build your project. In the Solution Explorer, as long as you are in the
correct project, it does not matter which folder or file is highlighted.
If you see the following message, you have the hex file flashed on the AVR board.
You may see a warning in the output window, but it can be ignored.
Acknowledgment:
This is a revised version of previous guide “Adding an External programmer in Atmel Studio”.