AVR Application

This application is used for programming and debugging the Atmel AVR series of microcontrollers by the serial interface.

This pinout differs significantly from the Atmel 6-pin and 10-pin pinouts, but an adapter board is available.

Pinout

NamePinName
MISO 12 Vcc
MOSI 34 Vcc
SS 56
SCK 78
GND 910
1112
1314

Clients

A simple client in python is available as 'goodfet.avr'.

Status

This is a new port, and it is not yet ready for daily use. Reading of chips is stabilized, as is the writing of EEPROM, but the writing of Flash memory pages is not yet stabilized.

Verbs

Hex#defineDescription
0x02PEEKRead from memory at word[0].
0x03POKEWrite word[1] to memory at word[0].
0x10SETUPConfigure I/O pins.
0x20STARTTake the device under control.
0x21STOPRelease the device.
0x7ENOKNo Operation
0x80PEEKPGM
0x81PEEKEEPROM
0x82PEEKLOCK
0x83PEEKSIG
0x84READFUSES
0x85READCAL
0x86BULKLOADLoad an entire page to be flashed. Significantly reduces USB latency
0x91POKEEEPROM
0x92POKELOCK
0xF0ERASEChip Erase (Flash+EEPROM)
0xF1RDYBSYReady/!Busy