0x9302: "ATmega85",
0x9305: "ATmega83",
0x9601: "ATmega603",
+
+ #These are missing from the Fenceline DB.
+ 0x960a: "ATmega644P",
};
def setup(self):
"""Read the target's lockbits."""
self.writecmd(self.AVRAPP,0x92,1,[bits]);
return self.lockbits();
-
+ def lock(self):
+ self.setlockbits(0xFC);
def eeprompeek(self, adr):
"""Read a byte of the target's EEPROM."""
self.writecmd(self.AVRAPP,0x81 ,2,