projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Larger chunk-size in SPI Flash, but not yet large enough. Write performance still...
[goodfet]
/
client
/
goodfet.spiflash
diff --git
a/client/goodfet.spiflash
b/client/goodfet.spiflash
index
7aa287d
..
7a187db
100755
(executable)
--- a/
client/goodfet.spiflash
+++ b/
client/goodfet.spiflash
@@
-126,13
+126,12
@@
if(sys.argv[1]=="flash"):
i=start;
chars=list(file.read());
- chunksize=0x
80
;
+ chunksize=0x
fc
;
while i<=stop:
bytes=range(0,chunksize);
for j in range(0,chunksize):
bytes[j]=ord(chars[i+j]);
- #client.SPIpokebyte(i,ord(chars[i]));
client.SPIpokebytes(i,bytes);
i+=chunksize;