Serial terminal app
Dave Higton (1515) 3526 posts |
Is there a serial terminal app for Risc OS (absolutely plain, no modem driver, no add-ons, absolutely plain vanilla) that works on a Raspberry Pi 3? I’ve just spent a long time searching, without success. I found Connector in the Bonus Binaries in the downloads section of this site, with a RunImage dated this year, but it immediately fails with an illegal instruction. I’m experimenting with an ESP-12-F, so anyone who recognises that will know it’s absolutely local and must have no extras: just keyboard to serial Tx, and serial Rx to screen. |
Raik (463) 2061 posts |
Something like this? https://www.riscosopen.org/forum/forums/11/topics/6755?page=2#posts-7382 Dirty Basic ;-) Look at your inbox ;-) |
Dave Higton (1515) 3526 posts |
Since posting, I found that Rick Murray’s SerialTerminal and SerialUSB module give me a workable solution. I had tried them once earlier, but they failed to work – which was in fact because I’d tried to power the ESP-12F from the serial USB dongle, and not realised that the failure was in fact caused by the inability of the dongle to provide enough current for the ESP-12F. The extra load caused the dongle not to work. I’d still like to find a serial terminal app that uses the RasPi’s serial port rather than requiring an extra dongle. |
Rick Murray (539) 13840 posts |
FTFY. ;-) |
Rick Murray (539) 13840 posts |
Surely you could write such a thing? A few SerialOp SWIs and sit in a loop waiting data and checking the keyboard for data to send. Maybe 20-30 lines of BASIC for something simple. |
Dave Higton (1515) 3526 posts |
I tried that, of course, but it didn’t work. I did it, many years ago, but it’s long ago lost. ISTR that there was one snoob that you had to get over, otherwise it stubbornly and silently refuses to do anything. In this case, my priority was to get something else working, so I wanted to just take something off the shelf. It does seem to be such a basic app that it surprises me that there isn’t one available. Perhaps not enough people need it these days. In my present case, I need it to communicate with an ESP-12F module. Serial is the only way. Ultimately I need an ESP-12F and an LPC1114 to communicate with each other. Serial is the only way. So I need to check all the serial communication that I can, including overcoming all the errors that I can induce, to ensure that I get an overall entity that works reliably. |
Colin (478) 2433 posts |
I have an ESP32 vroom 3d and if I load the following sketch on my PC using the Arduino IDE then plugging the device into my armx6 via usb I can use !Serialterminal that comes with SerialUSB to read and write to the device over usb. !Serialterminal should also work over pi serial interface.
|
Colin (478) 2433 posts |
It’s a shame you can’t reprogram the usb interfaces on these devices then you could emulate a EtherUSB device but it would be wireless |
Ronald (387) 195 posts |
I noticed there is a new version of !SerialDev available as of 18 June 2020. |
Rick Murray (539) 13840 posts |
I may be wrong… But I am under the impression that RISC OS now knows how to talk to the Pi’s serial port, so you don’t need a specific driver, the “Internal” one will work. |
Ronald (387) 195 posts |
RISC OS now knows how to talk to the Pi’s serial port Yes, you are right. I haven’t looked, I wonder if it can be configured from the new !SerialDev confix config. It was able to do both ports on the Iyonix (!Enigma for example) even though Serial0 was the RISC OS conventional one. |
Rick Murray (539) 13840 posts |
If RISC OS supports it natively, then the driver “InternalPC” (or maybe just “Internal” these days 1) ought to work. 1 Issue from the dawn of time that boils down to Acorn’s inability to wire a serial port properly. Given that all the control lines aren’t normally present on modern machines, the distinction ought to be moot. |
Dave Higton (1515) 3526 posts |
Using Colin’s SerialTerminal app, if I want to use the RasPi3B+’s built-in serial port, what device do I have to give on the command line? |