I have found tutorials about using minicom
to communicate with modems, but none about just listening what data arrives to the serial port of my desktop computer.
I will ask for this case scenario:
- Utilite Pro computer (embedded device like RaspBerry that includes two serial ports).
- Ubuntu Linux v14.04 on desktop computer. Serial port on
/dev/ttyS0
. - Minicom on desktop computer (Linux) already configured for 115.200 bps, 8 data bits, 1 stop bit, no flow control. This is the configuration of the Utilite device for its COM port.
- Serial cable, of course, connected between the Utilite computer and the desktop computer. This serial cable is included in the original box of the device (I don't know if it is null-modem, but I presume it should be the appropriate one).
It is supposed that the Utilite Pro starts outputing diagnose data to its COM port at the moment it starts running.
How can I read this data using minicom?
Both data on screen and to file methods if possible, please.
ADDITIONAL DATA:
- The Utilite operating system is not relevant here, as long as it is its bootloader (U-Boot) who sends the data to serial port. Even if the Utilite does not boot, the data will be sent to COM port.
minicom
for this, you just needcat
andstty
.# minicom
shows only the main screen. Maybe my Utilite device is damaged and sends no output to COM1. So I was wanting to ask about the proper method.