print "%s exec '0x35 0x00 0x..'" % sys.argv[0];
sys.exit();
-#Initailize FET and set baud rate
+#Initialize FET and set baud rate
client=GoodFET();
client.serInit()
+#client.verbose=1;
if(sys.argv[1]=="on"):
client.dir(0xFF);
if(sys.argv[1]=="off"):
client.out(0x00);
+if(sys.argv[1]=="glitchtest"):
+ client.writecmd(client.GLITCHAPP,0x20,0,None);
+
if(sys.argv[1]=="call"):
adr=int(sys.argv[2],16);
print "Calling %04x" % adr;
client.execute(code);
if(sys.argv[1]=="info"):
- a=client.peekbyte(0xff0);
- b=client.peekbyte(0xff1);
- print "GoodFET with %02x%02x MCU" % (a,b);
+ print "GoodFET with %s MCU" % client.infostring();
+ print "Clocked at %s" % client.monitorclocking();
if(sys.argv[1]=="ramfill"):
client.monitor_ram_pattern();
if(sys.argv[1]=="ramdepth"):