Added basic AVR flashing support, and an associated avrdude patch
[goodfet] / firmware / include / avr.h
index 930ab99..f0e8614 100644 (file)
@@ -34,7 +34,7 @@ u8 avr_pokeeeprom(u16 adr, u8 val);
 u8 avr_isready();
 
 //Command codes.
 u8 avr_isready();
 
 //Command codes.
-//! Perform chip erase.
+//! Perform a chip erase.
 #define AVR_ERASE 0xF0
 //! Fetch RDY/!BSY byte.
 #define AVR_RDYBSY 0xF1
 #define AVR_ERASE 0xF0
 //! Fetch RDY/!BSY byte.
 #define AVR_RDYBSY 0xF1
@@ -55,3 +55,5 @@ u8 avr_isready();
 #define AVR_READFUSES 0x84
 //! Read calibration byte.
 #define AVR_READCAL 0x85
 #define AVR_READFUSES 0x84
 //! Read calibration byte.
 #define AVR_READCAL 0x85
+//! Bulk load data
+#define AVR_BULKLOAD 0x86