Commits


add manpage


use cfmakeraw when setting up the serial line Somehow missed that function at first. This makes serial I/O work on Linux.


pretty README


add a second test This one is designed to let us see when the chip reboots.


add wiring comments


check/wait for reliable connection before programming


reduce serial read timeout to 100ms Unreliable responses from the board are not due to being busy, but due to flaky serial receive code. If it missed our request, it will never answer, so better to fail (and try again) early.


style and comments in read_result


print spurious reports only with -v


print bytes written with -vv


fix the diagnostic on truncated read


do nanosleep properly Also fixes a missing 0 in the timespec. Oops.


add more diagnostics and make upload work Still somehow only works the first time. To be investigated.


comprehensively document (supposed) firmware state machine


add an output delay in the absence of flow control


more diagnostics


properly set up serial output


WIP prototype Designed and tested to run on OpenBSD. Translation works, but upload does not.