Refactoring the client. I probably broke something.
[goodfet] / client / goodfet.spiflash
index d4450c2..f97c20e 100755 (executable)
@@ -10,7 +10,7 @@ import sys;
 import binascii;
 import array;
 
-from GoodFETSPI import GoodFETSPIFlash;
+from GoodFET.GoodFETSPI import GoodFETSPIFlash;
 from intelhex import IntelHex;
 
 if(len(sys.argv)==1):
@@ -144,11 +144,7 @@ if(sys.argv[1]=="flash"):
 
     i=start;
     chars=list(file.read());
-    
-    #N.B., chunksize must be an even fraction of 0x100.
-    #Increasing above 0x200 doesn't help, 0x100 might be good enough.
     chunksize=0x100;
-    #chunksize=0x1000;
     
     while i<=stop:
         bytes=range(0,chunksize);