X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=client%2Fgoodfet.spiflash;h=dcdc68be9ab4fa486c2143dfb631b67b5dbf6e98;hp=f97c20e9a75ea8e9516c8d940b3c4a8e3bb53937;hb=426452e03b65bd972aa0d1df48af55e190ff1114;hpb=4f3c7e48ba54b8ecd32df1668c21e986d8866307 diff --git a/client/goodfet.spiflash b/client/goodfet.spiflash index f97c20e..dcdc68b 100755 --- a/client/goodfet.spiflash +++ b/client/goodfet.spiflash @@ -10,7 +10,7 @@ import sys; import binascii; import array; -from GoodFET.GoodFETSPI import GoodFETSPIFlash; +from GoodFETSPI import GoodFETSPIFlash; from intelhex import IntelHex; if(len(sys.argv)==1): @@ -140,6 +140,7 @@ if(sys.argv[1]=="flash"): stop=int(sys.argv[4],16); print "Flashing code from %06x to %06x with %s." % (start,stop,f); + print "FIXME This might fail if the file is of an odd size."; file = open(f, mode='rb') i=start;