Using WinAVR to Flash AVR Microcontroller in 2020

Motivation

I wanted to program some good old 8-Bit Atmel AVR MCUs.
But it was hard to find a good setup, since Atmel Studio is much too heavy and does not support an USBASP-Programmer out of the box. So I decided to give WinAVR another try. Since it is hard to use on Windows, I created this little example to offer a simpler start to newbies.

Hardware Used

Installation

Download AVR-GCC for Windows

Change "WINAVR_PATH" in "make.bat" to point to your winavr bin directory

Building

Compile

make.bat all

Flash to AVR

make.bat flash

Clean

make.bat clean

GitHub

https://github.com/DerWaldi/WinAVR-In-2020