Closed ast0815 closed 8 years ago
I haven't played with the esp8266 yet to see how it interacts. I think that lowering the buffer size would be worth trying. By default it picks 512 (assuming USB-serial). Lowering to something like --buffer-size=32 might help.
The file sender sends buffer-size bytes and waits for an ack. The file receiver waits for buffer-size bytes and sends an ack. There is no retry logic or timeouts, so if a character gets dropped because the serial buffers aren't big enough, then that's what causes the hang.
That did the trick!
The ESP board seems to be happy with buffer sizes up to 128.
Hello,
I'm having a problem with rshell and a NodeMcu ESP8266 board: Copying from the board to the pc and even editing files on the board works perfectly. But if I try to copy a file to the board over the serial connection, it just hangs and nothing happens. Then, after aborting with CTRL-C, the file system on the board is totally messed up and I have to re-flash it, to make it usable again.
Here is some of the last bit of output when I use the
-d
option:The
^C
is where I abort after nothing happens for a while.Any idea what might cause this and how I can fix it?