2 \author Travis Goodspeed
3 \brief AVR SPI Programmer
8 //! Setup the AVR pins.
11 //! Initialized an attached AVR.
14 //! Enable AVR programming mode.
16 //! Read AVR device code.
21 //! Performa chip erase.
22 #define AVR_ERASE 0xF0
23 //! Fetch RDY/!BSY byte.
24 #define AVR_RDYBSY 0xF1
26 //! Read Program Memory
27 #define AVR_PEEKPGM 0x80
29 #define AVR_PEEKEEPROM 0x81
31 #define AVR_PEEKLOCK 0x82
33 #define AVR_PEEKSIG 0x83
35 #define AVR_READFUSES 0x84
36 //! Read calibration byte.
37 #define AVR_READCAL 0x85