X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=client%2Fgoodfet.spiflash;h=21a1efbe61e1aac117d6de1ddf22042fce98079a;hp=d4450c26d9068a6db9b18e2409945b19fc8c87b3;hb=a6afe092f45e72e65198bf6fbe07e8da40706970;hpb=15750ecb20e3f348c419f0666452534c8b6a0b8e diff --git a/client/goodfet.spiflash b/client/goodfet.spiflash index d4450c2..21a1efb 100755 --- a/client/goodfet.spiflash +++ b/client/goodfet.spiflash @@ -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);