A client of mine wants to ensure that the linux box I'm working on can handle receiving data at 115200 bits/s on a serial port without losing any data.
Active3 years, 1 month ago
Is there any software available for doing this, or am I going to have to roll my own?
Anton LahtiAnton Lahti
Scantool - OBDII Car Diagnostic Software for Linux. Sam Hobbs 20th April, 2015 8:56pm. Why does the OBDII BT device pair as a serial rather than a BT port like my audio devices pair? And when I have configured the ports for dialout and /dev/ttyS0 is now COM1. Scantool - OBDII Car Diagnostic Software for Linux. The OBD2 All-In-One TM scan tool can be plugged directly into the serial port on the back of. And scan tool software. OBD Diagnostics, Inc., PO Box 2002. Windows/.NET way to monitor/debug the serial port? I've used the HDD Software Free Serial Port Monitor. It will log all the traffic and open/close on the serial port. How can I monitor data on a serial port in Linux? GetQueuedCompletionStatus stops reading a serial port. Easiest way to split a string on newlines in.NET? Table of Contents Serial HOWTO 8.8 Choosing Serial IRQs.33. 5 Linux / Unix Commands For Connecting To The Serial Console last updated August 9. How do I redirect Linux / BSD console output over serial port? So you can see why I need to ask for your help. The nixCraft takes a lot of my time and hard work to produce. If everyone who reads nixCraft, who likes it, helps fund it, my future would be.
3 Answers
here's an archaic testing program that mentions testing serial lines (and everytime i read that part i wonder who would ever do that):http://www.scsifaq.org/RMiller_Tools/dt.html
but really, all you need is a program that can generate some data, and then verify it was received correctly.. you could just aswell transfer some large file and verify it's integrity afterwards..(and if you push data over a serial port and don't have flow control enabled, it's going to be transfered exactly at the rate the port is configured to, or get corrupted, so it's not possible that performance is only degraded)
r00tr00t
socat can use serial ports. Once that pipe is established, you can pipe into it whatever you want, at whatever rate you want. The simplest test would be to do something along the lines of:
Isai thendral mp3 songs free download. Nero 6 serial key. pv would tell you the rate at which you're piping the data.
MarcinMarcin
1,94411 gold badge1313 silver badges1414 bronze badges
You may find the following tool to be useful (I have used it for this exact purpose):https://github.com/cbrake/linux-serial-test
To be specific, you can stress a serial port with the following command:
Use with a serial loopback cable. It will report any errors that it sees (-e), and a running log every 5 seconds or so (-s), if desired.
DamienDamien
Serial Port Diagnostics Linux Software Windows 7Not the answer you're looking for? Browse other questions tagged linux or ask your own question.
Active4 months ago
I have a written a C++ program on
Ubuntu 14.04 LTS which communicates with a USB2Serial device /dev/ttyUSB0 . I want to know if the connection parameters are set correctly on this file handle, what would be the best way to figure this on Ubuntu? Windows provides a few GUI software which shows all the information in detail, however I'm yet to find something similar in Ubuntu.The ones I have tried so far( sersniff, grabserial ) shows the data but not the connection and other control parameters such as setting CTS, DTR, RI etc. I basically want to see what are the termios settings that are getting set on the serial port handle at run timeTIA!!
NachikethNachiketh
4 Answers
I was able to retrieve all the settings by running an strace on the process id. The following command helped:
This not only gave me all the setting related information,but also gave me the protocol specifics such as what
IOCTLs (TIOCM_RTS, TIOCM_DSR etc) Thanks to everyone who helped me out here!
NachikethNachiketh
I just wrote a simple tool which can help you out.Checkout here. Note: you should use -v option
Gimcuan HuiGimcuan Hui
Could
minicom be of any help?
Linux comes with many serial text and gui based serial communication programs. My favorite is minicom - friendly menu driven serial communication program.
minicom Common features / usage
Source: http://www.cyberciti.biz/tips/connect-soekris-single-board-computer-using-minicom.html
You can easily install it by running pzkpfwpzkpfw
sudo apt-get install minicom
3,75955 gold badges2626 silver badges4242 bronze badges
Use minicom to configure serial port for your need, try this, https://help.ubuntu.com/community/Minicom. Minicom is widely used to set up serial port (Ex. ttyUSB0).
Prashant ChikhalkarPrashant Chikhalkar
Linux Serial Port Driver![]()
1,59711 gold badge1313 silver badges2121 bronze badges
Open Serial Port LinuxNot the answer you're looking for? Browse other questions tagged 14.04usbc++debuggingserial-port or ask your own question.Comments are closed.
|