X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=client%2Fgoodfet.spiflash;h=dcdc68be9ab4fa486c2143dfb631b67b5dbf6e98;hp=55a7b12e3a06a44742763dc8d3ab99174281293c;hb=0f09afa49bb8b723a270edd816acbdcaddeb7290;hpb=f4a6b415e762bcdc560f3ea655851d16f483ea5a diff --git a/client/goodfet.spiflash b/client/goodfet.spiflash index 55a7b12..dcdc68b 100755 --- a/client/goodfet.spiflash +++ b/client/goodfet.spiflash @@ -111,16 +111,21 @@ if(sys.argv[1]=="verify"): file = open(f, mode='rb') i=start; - bits=0; + bytes=0; while i<=stop: - data=client.SPIpeekblock(i,255); + data=client.SPIpeekblock(i); print "Verified %06x." % i; for j in data: if i