I now wrote a pure C version of the uncompressor. Less than 200 bytes code size on ARM thumb. http://svn.clifford.at/handicraft/2016/ice40compr/ice40uncompr.c …
-
-
Would you add this as commandline option to icepack (-p) or some such?
1 reply 0 retweets 0 likes -
Replying to @folknology @wavedrom
Wouldn't it be more natural to have this functionality in the upload tool for the device with embedded decompressor?
1 reply 0 retweets 0 likes -
current myStorm upload is 'cat chip.bin >/dev/ttyUSB0'
1 reply 0 retweets 0 likes -
Replying to @folknology @wavedrom
How would you reset the decompressor to make sure its in its init state? E.g. after interrupting an upload.
2 replies 0 retweets 0 likes -
I'd suggest a small tool that sends: serial break (for reset), a magic value, compressed bit-stream.
1 reply 0 retweets 0 likes -
No decompression without the magic value right after reset. So you can still cat uncompressed bins to /dev/ttyUSB0.
2 replies 0 retweets 0 likes -
do you have the compression source and tweaks?
1 reply 0 retweets 0 likes -
Replying to @folknology @wavedrom
http://svn.clifford.at/handicraft/2016/ice40compr/ … should have everything you'd need. (see extended comment in ice40compr.cc for format doc)
1 reply 0 retweets 1 like -
Replying to @oe1cxw @folknology
does it make sense if compressor can pipe through? Something like this? `ice40compr < chip.bin >/dev/ttyUSB0`
1 reply 0 retweets 0 likes
Ack. The new version of the code on github can be called like this.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.