still chugging away. place-holder. once again to the breach!
[goodfet] / client / goodfet.monitor
index 2a81c55..bbed793 100755 (executable)
@@ -20,9 +20,10 @@ if(len(sys.argv)==1):
     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);
@@ -45,9 +46,8 @@ if(sys.argv[1]=="exec"):
     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"):