This branch improves write speed from 6kB/s to 11kB/s and read speed from 7kB/s to 15kB/s (using 230400 baud). It also fixes transfers of files bigger than target RAM. And it fixes timeouts during such big transfers (tested with files upto 600kB).
Increasing timeouts to 60 sec is a hack to still prevent scripts to hang forever. An interactive user will press CTRL+C earlier anyway. A final solution will have to detect if a transfer is running or not.
This branch improves write speed from 6kB/s to 11kB/s and read speed from 7kB/s to 15kB/s (using 230400 baud). It also fixes transfers of files bigger than target RAM. And it fixes timeouts during such big transfers (tested with files upto 600kB).
Increasing timeouts to 60 sec is a hack to still prevent scripts to hang forever. An interactive user will press CTRL+C earlier anyway. A final solution will have to detect if a transfer is running or not.