Closed rlourette closed 6 years ago
Apparently, it does not handle a reset command in the file as the board returns "STM8eForth 2.2.20" instead of 'OK'.
Hi Rich, thanks for the feedback on using Windows!
codeload.py
should actually support half duplex (I just tried with my W1219 board on Linux, and it works fine). It's likely that there are differences in the python serial line support for Windows, and I would appreciate some assistance in getting it working. The serial protocol is rather robust, though. It uses the OK response as a handshake, and it even tolerates the CPU core "stalling" during Flash write operations.
The second thing you mention is something I worked around by having 'BOOT
point to .OK
(like here).
However, it would be much easier if STM8 eForth would just print ok
at the end of HI
. What do you think?
Edit: ok
at the end of HI
works better with e4thcom, so I'll change that.
Please also have a look at #125
Closing for now. Please re-open if new information is available!
Just an FYI, that codeload.py does not support half duplex. The description doesn't advertise this, so it really is not a bug. I still need a way to use my W1219 board with a windows platform.
Rich