I'm starting to play with Internet of Things type development boards (originally Arduino, now ESP8266, RaspPi and CHIP). And one thing I'm struggling with is connecting to them from a Linux machine.
Arduino: I use the basic Arduino environment to send characters backwards and forwards.
ESP: I've used some custom script too.
Today I'm trying to connect to my new CHIP, following these instructions, which basically say "here's how to do it in Mac, in Windows use PuTTY ... in Linux I'm sure you'll figure it out."
But actually it's not so obvious.
- I've tried using Minicom which seems to connect but shows me nothing.
- I've tried using Cutecom, which lets me log in and navigate around the file-system of the connected CHIP, but the moment I try to do something like use an editor or even
less
, ie. things that I suppose send some kind of control codes for the screen or use the curses library etc. the Cutecom window is full of unreadable cruft.
I understand why connecting to other devices over USB-serial perhaps requires some low-level control (to get the right baud rates etc.), but surely there's some program in Linux that can communicate with these devices AND knows how to handle the screen / UI interactions at a higher level of abstraction than just pumping out raw characters. The equivalent of what we get with Telnet but talking to a device connected over USB-serial.
If so, what is it?
minicom
again, but turn off all flow control. It may have been waiting for CTS before sending any output. Putty seems to default to XON/XOFF flow control, so you could try that next