projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SPI client refactoring and block read/write functions.
[goodfet]
/
client
/
goodfet.spiflash
diff --git
a/client/goodfet.spiflash
b/client/goodfet.spiflash
index
e396f55
..
7aa287d
100755
(executable)
--- a/
client/goodfet.spiflash
+++ b/
client/goodfet.spiflash
@@
-10,7
+10,7
@@
import sys;
import binascii;
import array;
import binascii;
import array;
-from GoodFET
import GoodFET
;
+from GoodFET
SPI import GoodFETSPIFlash
;
from intelhex import IntelHex;
if(len(sys.argv)==1):
from intelhex import IntelHex;
if(len(sys.argv)==1):
@@
-24,8
+24,8
@@
if(len(sys.argv)==1):
print "%s poke 0x$adr 0x$val" % sys.argv[0];
sys.exit();
print "%s poke 0x$adr 0x$val" % sys.argv[0];
sys.exit();
-#Init
ai
lize FET and set baud rate
-client=GoodFET();
+#Init
ia
lize FET and set baud rate
+client=GoodFET
SPIFlash
();
client.serInit()
client.serInit()