projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
goodfet.glitch crunch
[goodfet]
/
client
/
GoodFETAVR.py
diff --git
a/client/GoodFETAVR.py
b/client/GoodFETAVR.py
index
f8189bf
..
30354cd
100644
(file)
--- a/
client/GoodFETAVR.py
+++ b/
client/GoodFETAVR.py
@@
-116,7
+116,8
@@
class GoodFETAVR(GoodFET):
"""Read the target's lockbits."""
self.writecmd(self.AVRAPP,0x92,1,[bits]);
return self.lockbits();
"""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,
def eeprompeek(self, adr):
"""Read a byte of the target's EEPROM."""
self.writecmd(self.AVRAPP,0x81 ,2,