Archives For November 30, 1999

avrdude-atmel-avr

For those who want to install the latest AVRDude 6.3 (AVR Downloader / Uploader), here are the backport PPA for Ubunu 16.04, Ubuntu 14.04, Linux Mint 17/18, and derivatives.

AVRDUDE is a utility to download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers using the in-system programming technique (ISP).

It provides a command-line interface for all downloading and uploading features. Supports a wide range of programming hardware, from cheap ISP plugs that connect the AVR’s ISP interface directly to a computer’s parallel port or serial port. Supports Intel Hex, Motorola S-Record, and raw binary files for input and output.

While the current two Ubuntu LTS offer old versions in their main repositories, I’ve uploaded the 6.3 release into PPA to make it easy to install.

AVRDude 6.3 features:

  • New devices support: ATmega48PB, ATmega88PB, ATmega168PB, ATtiny28 (HVPP-only device), AT90PWM216, ATmega32M1
  • New programmers support:
    • Atmel mEDBG: xplainedmini, xplainedmini_dw
    • ftdi_syncbb
    • uncompatino, ttl232r (FTDI TTL232R-5V with ICSP adapter)
    • Atmel DFU, using FLIP protocol version 1 (AT90USB and ATmegaU devices), or version 2 (Xmega devices)
    • Atmel-ICE (ARM/AVR), JTAG, PDI, debugWIRE, ISP modi
  • The stk500v2 implementation now uses its own higher-level command implementation for byte-wide access
  • The -B option can be suffixed with “Hz”, “kHz”, or “MHz”, in order to specify a bitclock frequency rather than period.
  • Print part id after signature
  • buspirate: Also support “cpufreq” extended parameter in binary mode
  • The “-P net:” syntax (forwarding of serial data over TCP) is now also implemented for Win32 systems.
  • Atmel EDBG protocol support added (JTAGICE3, XplainedPro, Atmel-ICE)

Install AVRDude 6.3 in Ubuntu / Linux Mint:

Either run the following commands one by one in terminal (Ctrl+Alt+T) to add PPA and install the utility:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

sudo apt-get update

sudo apt-get install avrdude avrdude-doc

Or grab the DEB packages for both avrdude and avrdude-doc from the link below and click install via Gdebi or Ubuntu Software App:

Download AVRDude (deb)

Install AVRDude in Ubuntu

This quick tutorial shows you how to install the latest AVR Downloader/UploaDEr 6.1 in Ubuntu 14.04 while Software Center provides an old version.

AVRDUDE, stands for AVR Downloader/UploaDEr, is software for programming Atmel AVR Microcontrollers. It provides a command-line interface for all downloading and uploading features. Supports a wide range of programming hardware, from cheap ISP plugs that connect the AVR’s ISP interface directly to a computer’s parallel port or serial port. Supports Intel Hex, Motorola S-Record, and raw binary files for input and output.

The latest version 6.1 was released with below changes:

  • Atmel EDBG protocol support added (JTAGICE3, XplainedPro, Atmel-ICE)
  • Atmel DFU, using FLIP protocol version 1 (AT90USB and ATmega*U* devices), or version 2 (Xmega devices) support.
  • Atmel-ICE (ARM/AVR), JTAG, PDI, debugWIRE, ISP modi support.
  • Fixed:
    • AVRDUDE segfaults when writing eeprom
    • Typo fix in fuses report (for 6.1-svn-20130917)
    • verify errors for object size > 16 k on x32e5 due to typo in avrdude.conf
    • Elf file support (possibly) not working on 6.0.1 windows build
    • AT Mega2560 not correctly programmed with stk500(v1) ISP (solution patch)
    • OS X: Avrdude messes with the usb stack?
    • dfu.c missing include
    • DFU FLIPv2 programming support
  • (Some) programmers can take a list of USB PIDs now.

AVRDude 6.1 is available in a third-party repository for Ubuntu 14.04 LTS. To install it, run commands below one by one in terminal:

sudo add-apt-repository ppa:pmjdebruijn/avrdude-release

sudo apt-get update

sudo apt-get install avrdude

Once installed, run man avrdude to get help or read the documents.