WOrking on MSP430 client mode.
[goodfet] / client / goodfet.glitch
index edce100..7e20263 100755 (executable)
@@ -16,6 +16,7 @@ glitcher=GoodFETGlitch();
 if(len(sys.argv)==1):
     print "Usage: %s chip verb [objects]\n" % sys.argv[0];
     print "%s avr learn" % sys.argv[0];
+    print "%s avr graph" % sys.argv[0];
     print """
 This populates a database, glitch.db, with a record of all attempted
 glitches.  Graphs can then be generated from the results, allowing
@@ -29,3 +30,5 @@ glitcher.setup(sys.argv[1]);
 
 if(sys.argv[2]=="learn"):
     glitcher.learn();
+if(sys.argv[2]=="graph"):
+    glitcher.graph();