-->
Page 3 of 3

Re: Load binary file - how would you prefer?

PostPosted: Tue Jan 13, 2015 3:07 am
by Markus Gritsch
But this script only works for very short files which fit in a single payload, doesn't it?

Re: Load binary file - how would you prefer?

PostPosted: Tue Jan 13, 2015 3:10 am
by Hoksmur
Markus Gritsch wrote:But this script only works for very short files which fit in a single payload, doesn't it?

Yes. I wrote it 'just for fun' and add recommendation and regards to you and ThomasW. :)
I didn't catch how it works clean. :shock:

Re: Load binary file - how would you prefer?

PostPosted: Tue Jan 20, 2015 2:50 pm
by GeoNomad
In case anyone is interested, I have added a binary upload function to LuaLoader now.

http://benlo.com/esp8266/index.html#LuaLoader

It needs more testing and the error handling is probably not that robust yet, but it appears to get the job done.

I have tested it up to 20K with success.

Binary is encoded as ascii and loaded in 120 byte chunks with a checksum.

The address is also encoded in each for (sometime later) modifying a file without loading the entire contents, or recovering from serial errors by resending a block or two.

Peter