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
Name | Pin | Name | |
---|---|---|---|
MISO | 1 | 2 | Vcc |
MOSI | 3 | 4 | Vcc |
SS | 5 | 6 | |
SCK | 7 | 8 | |
GND | 9 | 10 | |
11 | 12 | ||
13 | 14 |
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 | #define | Description |
---|---|---|
0x02 | PEEK | Read from memory at word[0]. |
0x03 | POKE | Write word[1] to memory at word[0]. |
0x10 | SETUP | Configure I/O pins. |
0x20 | START | Take the device under control. |
0x21 | STOP | Release the device. |
0x7E | NOK | No Operation |
0x80 | PEEKPGM | |
0x81 | PEEKEEPROM | |
0x82 | PEEKLOCK | |
0x83 | PEEKSIG | |
0x84 | READFUSES | |
0x85 | READCAL | |
0x86 | BULKLOAD | Load an entire page to be flashed. Significantly reduces USB latency |
0x91 | POKEEEPROM | |
0x92 | POKELOCK | |
0xF0 | ERASE | Chip Erase (Flash+EEPROM) |
0xF1 | RDYBSY | Ready/!Busy |