Re: [Flashforth-devel] Sending Forth files with macOS over USB
Brought to you by:
oh2aun
From: Mikael N. <mik...@fl...> - 2019-11-23 19:24:25
|
HI. ff-shell.py uses a line by line flow control. It waits to receive a new-line character before sending the next line. I would have thought that would work with any OS. I will add options to ff-shell.py for intercharacter delay and end-of-line delay. Possible also a character by character flow control. BR Mikael On 2019-11-23 14:23, Tristan Williams wrote: > Hello, > > I am using a PIC18F14K50 with FlashForth 5 connecting over USB on > macOS (10.11 & 10.14). I can enter Forth interactively using both > Minicom > and ff-shell.py. However, with my setup, neither Minicom nor > ff-shell.py is able to successfully send a file of forth source. The > PIC appears to be overwhelmed by a torrent of Forth. I did wonder > whether the PIC was making a value judgement about quality of my code, > but think it more likely that my setup has a flow control > problem. Both Minicom and ff-shell.py were setup to use CRTSCTS > (though changing to XON/XOFF made no difference) which I think is > correct for a USB CDC serial connection. Running Minicom and > ff-shell.py interactively and checking the USB CDC serial port > settings with stty whilst they are running showed that neither CRTSCTS > nor XON/XOFF appeared to be set. I do not know if that is normal for > macOS with CDC. > > If anyone is using macOS and is able to send files via Minicom or > ff-shell.py over USB I would appreciate any pointers as to where I am > going wrong. > > I've written a small transfer program for my setup, so I can send > Forth files and am enjoying using FlashForth greatly. However, I am > new to USB/CDC and would like to know what is wrong with my setup and > how to fix it (if possible!) so I can use the existing shells. All > help gratefully received. > > Thank you! > > Tristan > > > > > > > > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel -- -- Mikael |