projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More of a console, approaching standard commandset for Chipcon port.
[goodfet]
/
client
/
GoodFET.py
diff --git
a/client/GoodFET.py
b/client/GoodFET.py
index
d2beb5c
..
264a738
100755
(executable)
--- a/
client/GoodFET.py
+++ b/
client/GoodFET.py
@@
-254,6
+254,8
@@
class GoodFET:
print "Self-test complete.";
print "Self-test complete.";
+ # The following functions ought to be implemented in
+ # every client.
def infostring(self):
a=self.peekbyte(0xff0);
def infostring(self):
a=self.peekbyte(0xff0);
@@
-271,8
+273,9
@@
class GoodFET:
return;
def status(self):
return;
return;
def status(self):
return;
-
-
+ def flash(self,file):
+ """Flash an intel hex file to code memory."""
+ print "Flash not implemented.";
def peek32(self,address, memory="vn"):
return (self.peek16(address,memory)+
(self.peek16(address+2,memory)<<16));
def peek32(self,address, memory="vn"):
return (self.peek16(address,memory)+
(self.peek16(address+2,memory)<<16));