X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=client%2FGoodFETConsole.py;h=8f6eba8b3ecedd1855d488e504f818c1ddc72d77;hp=fa4003135a80742d8df3c8ad3f5c24d54311db8f;hb=2bd88f8985d83f8b81a16e768177d8a28b7c492e;hpb=08977d594b3508577ba8709fa2b50151b2cdd7f5 diff --git a/client/GoodFETConsole.py b/client/GoodFETConsole.py index fa40031..8f6eba8 100644 --- a/client/GoodFETConsole.py +++ b/client/GoodFETConsole.py @@ -11,6 +11,23 @@ import binascii; from GoodFET import GoodFET; from intelhex import IntelHex; + +#grep CMD GoodFETConsole.py | grep def | sed s/\(sel.\*// | sed 's/def CMD//' +commands=""" + info + lock + erase + test + status + halt + resume + peek + flash + dump + where + chip +""" + class GoodFETConsole(): """An interactive goodfet driver.""" @@ -83,7 +100,7 @@ class GoodFETConsole(): #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));