X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=client%2Fgoodfet.spiflash;h=dcdc68be9ab4fa486c2143dfb631b67b5dbf6e98;hp=b7cec4bc688cdfbb891d3429993412b5d4e50499;hb=d08bfd3c7cdc687fd68ba9025702c262665e52d3;hpb=78f4f21969789bec27a8e2957eb00a87d8756041 diff --git a/client/goodfet.spiflash b/client/goodfet.spiflash index b7cec4b..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