projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JTAGARM7 is back up and running, folks! Tested Halt/Release, Get/Set Registers,...
[goodfet]
/
client
/
GoodFETConsole.py
diff --git
a/client/GoodFETConsole.py
b/client/GoodFETConsole.py
index
5f1a436
..
a7eccd3
100644
(file)
--- a/
client/GoodFETConsole.py
+++ b/
client/GoodFETConsole.py
@@
-51,6
+51,11
@@
class GoodFETConsole():
self.prompt();
def handle(self, str):
"""Handle a command string. First word is command."""
self.prompt();
def handle(self, str):
"""Handle a command string. First word is command."""
+ #Lines beginning with ? are cries for help.
+ if(str[0]=="?"):
+ print "Term Commands:"
+ print commands
+ return;
#Lines beginning with # are comments.
if(str[0]=="#"): return;
#Lines beginning with ! are Python.
#Lines beginning with # are comments.
if(str[0]=="#"): return;
#Lines beginning with ! are Python.
@@
-100,7
+105,7
@@
class GoodFETConsole():
#print "%i" % adr;
print "0x%08x:= 0x%04x" % (
adr, self.client.peek16(adr,
#print "%i" % adr;
print "0x%08x:= 0x%04x" % (
adr, self.client.peek16(adr,
-
memory));
+ memory));
def CMDflash(self,args):
file=args[1];
self.client.flash(self.expandfilename(file));
def CMDflash(self,args):
file=args[1];
self.client.flash(self.expandfilename(file));