You were spot on! I made the changes (for posix only) to fujprog and indeed this solves the issue. Also did the
Ctrl-A changes, will post a diff later today.
Currently an inter character delay of 5ms seems enough. Thinking about how I'm doing the Unix serial driver gave me some ideas for making it faster. All for the already too long hobby to-do list ...
s, which I have now named
visfor "vi simple" or "vi based on s". It is also in its proper place, i.e. /bin. The /etc directory now has
hwclockand the rc script sets the system time from the mcp7940 chip. When used at 115200 baud with the new fujprog terminal emulator, it is actually quite pleasant to use. But I'm partial.
# hwclock -r; date RTC time: Mon Aug 24 21:24:02 2020 Mon Aug 24 21:24:06 GMT 2020
fujprog -P /dev/ttyUSB0 -b 9600 -D 10 -t
lawrie@lawrie-VirtualBox:~/ulx3s_ql/ulx3s$ yosys --version Yosys 0.9+2406 (git sha1 c6765443, clang 8.0.0-3 -fPIC -Os) lawrie@lawrie-VirtualBox:~/ulx3s_ql/ulx3s$ nextpnr-ecp5 --version nextpnr-ecp5 -- Next Generation Place and Route (Version 137241cf)
Yosys 0.9+3477 (git sha1 3cb3978f, clang 10.0.0-4ubuntu1 -fPIC -Os)
Yosys 0.9+3468 (git sha1 c39ebe6a, g++ 8.3.0 -Os)