Stefan Rueger b4f0e4645d Update from device packs
There are new(!) classic parts: ATmegaS64M1 and ATmegaS128. These
cosmic-ray tolerant "space" versions are functionally the same as the
corresponding models without S. The user won't know this from looking at
the part name printed on the part, so they receive a new mcuid.

The device packs define other genuinely new parts:
 - AVR16LA14 AVR16LA20 AVR16LA28 AVR16LA32
 - AVR32LA14 AVR32LA20 AVR32LA28 AVR32LA32

They receive their own data structures in the avr intelligence files
avrintel.c and libavrdude-avrintel.h.

Microchip decided to introduce new USART signals AUX0 and AUX1 for these
parts in addition to the known ones (RXD,  TXD, XCK, XDIR, USCK, RTS and
CTS). This necessitates an extension of the Usart_conf structure with aux0
and aux1 components. Note the data sheets are not yet available.
2026-01-07 00:59:50 +00:00
2026-01-07 00:59:50 +00:00
2025-09-27 23:01:38 +02:00
2024-08-14 18:42:04 +01:00
2025-10-31 19:19:17 +01:00
2024-03-12 20:54:21 +01:00
2025-06-23 11:03:44 +02:00
2024-01-11 23:26:42 +01:00
2021-12-18 22:32:50 +01:00
2025-11-12 17:12:04 +01:00
2025-02-10 10:35:35 +01:00

AVRDUDE

Build Status Gh-pages docs GitHub Release

AVRDUDE - AVR Downloader Uploader - is a program for downloading and uploading the on-chip memories of Microchips AVR microcontrollers. It can program the Flash and EEPROM, and where supported by the programming protocol, it can program fuse and lock bits. AVRDUDE also supplies a direct instruction mode allowing one to issue any programming instruction to the AVR chip regardless of whether AVRDUDE implements that specific feature of a particular chip.

AVRDUDE was originally written in 2003 by Brian S. Dean. Since 2006, AVRDUDE has been maintained by Jörg Wunsch, with the help of various contributors.

The latest version of AVRDUDE is always available here:
https://github.com/avrdudes/avrdude

Documentation

Documentation for current and previous releases is on Github Pages. Git main is documented only with the most recent avrdude.pdf.

Getting AVRDUDE for Windows

To get AVRDUDE for Windows, install the latest version from the Releases page.

Alternatively, you may build AVRDUDE yourself from source.

Getting AVRDUDE for Linux

To install AVRDUDE for Linux, install the package avrdude using the software package manager. For example, under Debian/Ubuntu, you can use the following commands:

sudo apt-get install avrdude

Alternatively, you may build AVRDUDE yourself from source.

Getting AVRDUDE for macOS

On macOS, AVRDUDE can be installed through MacPorts or Homebrew.

Alternatively, you may build AVRDUDE yourself from source.

Using AVRDUDE

AVRDUDE is a command-line application. Run the command avrdude without any arguments for a list of options.

A typical command to program your HEX file into your AVR microcontroller looks like this:

avrdude -c <programmer> -p <part> -U flash:w:<file>:i

For instance, to program an Arduino Uno connected to the serial port COM1 with a HEX file called blink.hex, you would run the following command:

avrdude -c arduino -P COM1 -b 115200 -p atmega328p -D -U flash:w:objs/blink.hex:i

There are many different programmers and options that may be required for the programming to succeed.

For more information, refer to the AVRDUDE documentation.

Using the AVRDUDE GUI demonstrator

Starting with version 8, a GUI implementation has been added, to demonstrate the functionality of libavrdude is suitable to implement a native GUI (as opposed to CLI wrapper).

The GUI is based on the Qt toolkit and its Python bindings, called PySide. Either Qt5 with PySide2, or Qt6 with PySide6 are supported.

A script named avrdude-gui is installed into the same location as the AVRDUDE CLI program. It can be used to start the GUI. There is a builtin help describing the usage.

Description
Languages
C 98.4%
Python 0.4%
Roff 0.4%
Shell 0.2%
Yacc 0.1%
Other 0.3%