projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SPI Flash writing is now performed in chunks,
[goodfet]
/
client
/
GoodFET.py
diff --git
a/client/GoodFET.py
b/client/GoodFET.py
index
cbcf1c4
..
b87cee8
100755
(executable)
--- a/
client/GoodFET.py
+++ b/
client/GoodFET.py
@@
-102,7
+102,7
@@
class GoodFET:
def SPIsetup(self):
"""Moved the FET into the SPI application."""
self.writecmd(0x01,0x10,0,self.data); #SPI/SETUP
def SPIsetup(self):
"""Moved the FET into the SPI application."""
self.writecmd(0x01,0x10,0,self.data); #SPI/SETUP
- #self.readcmd();
+
def SPItrans8(self,byte):
"""Read and write 8 bits by SPI."""
data=self.SPItrans([byte]);
def SPItrans8(self,byte):
"""Read and write 8 bits by SPI."""
data=self.SPItrans([byte]);