Welcome to CuteCom. CuteCom is a graphical serial terminal, like minicom (or Hyperterminal on Windows, but I don't want to compare CuteCom to it, since Hyperterminal is really one of the worst applications I know). Currently it runs on Linux, FreeBSD and Mac OS X.
Active3 years, 5 months ago
I am learning Qt and I wanted to create a GUI with some buttons which sends data to boot my ARM device through serial console (instead of minicom).I know there is a serial communication library already provided by Qt.I just wanted to know if this is a realistic approach to take at U-boot level? Or will I mess my data ? Just to visualize the requirement better :
Download hummingbird exceed for windows 10 for free. Internet & Network tools downloads - Hummingbird Exceed by Open Text Corporation and many more programs are. Download exceed for windows 10 for free. Internet & Network tools downloads - Hummingbird Exceed by Open Text Corporation and many more programs are available for instant and free download. Windows 10 Features Virtual desktop support: Exceed 15 SP4 and Exceed TurboX 11.5 provide support for Windows 10 virtual desktops, which means that users can move session windows (including the X desktop background) between virtual desktops seamlessly. Exceed software for windows 10.
These commands can be in some text file.Though,I still have to think of the design and that's why i just wanted to know if its even possible?
Thanks in advance !!
MinionMinion
3 Answers
yes it is possible, I have done that in my project, problem is reading result from the serial port,sometime you will get some junk characters so it is difficult to decide command issued is pass or failed, and qt window freezing issue when no activity is done within time-limit.
vkumarvkumar
To Qt4, use QextserialportFrom Qt5, use QSerialPort
Qextserialport & QSerialPort work on linux and windows with the same code.
Johann CambolyJohann Camboly
On windows, there is a part of WinAPI that can handle the serial communication and I think it can be used with Qt as any other C/C++ library.
Note that for this to work, your device has to appear as COM port in your device manager.
On linux, there is a C library called termios, but I have no experience with it so far.
mausikmausik
Not the answer you're looking for? Browse other questions tagged qtserial-portarmembedded-linuxu-boot or ask your own question.
Active4 months ago
I am trying to connect minicom to a serial device that is connected via a USB-to-serial adapter. This is a PL2303 and from everything I've read no additional drivers are required. The device is recognised as a PL2303.
I'm a beginner at minicom. Is this the correct command to execute? Or do I need to configure something?
Peter Mortensen
14.5k1919 gold badges8989 silver badges118118 bronze badges
codingJoecodingJoe
1,65199 gold badges3737 silver badges5656 bronze badges
10 Answers
First check with
dmesg | grep tty if system recognize your adapter.Then try to run minicom with sudo minicom -s , go to 'Serial port setup' and change the first line to /dev/ttyUSB0 .
Don't forget to save config as default with 'Save setup as dfl'. It works for me on Ubuntu 11.04 on VirtualBox.
MatejMatej
1,18111 gold badge1111 silver badges2424 bronze badges
You will need to set the permissions every time you plug the converter in.I use PuTTY to connect. In order to do so, I have created a little Bash script to sort out the permissions and launch PuTTY:
P.S. I would never recommend that permissions are set to 777.
Peter Mortensen
14.5k1919 gold badges8989 silver badges118118 bronze badges
McPartyMcParty
The serial port communication programs
moserial or gtkterm provide an easy way to check connectivity and modify /dev/ttyUSB0 (or /dev/ttyUSB1 !) settings. Even though there maybe only a single USB to RS232 adapter, the n designation /dev/ttyUSBn can and does change periodically! Both moserial and gtkterm will show what port designation is relevant in their respective pull down menus when selecting an appropriate port to use.
Check out help.ubuntu.com/community/Minicom for details on
minicom .
EkimEkim
I had fix this with
adduser *username* dialout . I never had this error again, even though previously the only way to get it to work was to reboot the PC or unplug and replug the usb to serial adapter.
RomanRoman
Long time reader, first time helper ;)
I'm going through the same
hellish experience here with a Prolific USB <> Serial adapter and so far Linux is the easiest to get it to work.
On CentOS, I didn't need to install any drivers etc. That said,
However, this helped: https://www.centos.org/forums/viewtopic.php?t=21271
So install minicom (
yum install minicom ) then enter its settings (minicom -s ).
Then select
Serial Port Setup and change the Serial Device (Option A) to /dev/ttyUSB0, or whatever your device file is as it slightly differs per distro.
Then change the Bps (Option E) to 9600 and the rest should be default (8N1 Y N)
Save as default, then simply
minicom and Bob's your uncle.
The Nazis have been crushed, the Cold War has begun and Soviet agents are sniffing around the ruins of the fabled Tower of Babel. Indiana Jones® and the Infernal Machine™ – The year is 1947. The Nazis have been crushed, the Cold War has begun and Soviet agents are sniffing around the ruins of the fabled.CRACKED – FREE DOWNLOAD – TORRENTGame OverviewDeveloper: LucasArtsPublisher: Lucasfilm, Disney InteractiveRelease Date: 31 Oct, 1999Genre: Adventure, ActionThe year is 1947. Infernal game download. What are they up to?
Sam GreadlySam Greadly
I get get the same minicom error, 'cannot open /dev/ttyUSB0: No such file or directory'
Three notes:
I am running Ubuntu 10.04 LTS (Lucid Lynx) under VMware (running on Windows 7). In this situation, make sure the device is attached to VM operating system by right clicking on the USB/Serial USB icon in the lower right of the VMware window and select Connect (Disconnect from Host).
Remember to press Ctrl + A to get minicom's prompt, and type X to exit the program. Just exiting the terminal session running minicom will leave the process running.
Peter Mortensen
14.5k1919 gold badges8989 silver badges118118 bronze badges
user1271729
I had the exact same problem, and it was fixed by doing a Peter Mortensen
chmod 777 /dev/ttyUSB0 . I never had this error again, even though previously the only way to get it to work was to reboot the VM or unplug and replug the USB-to-serial adapter. I am running Ubuntu 10.04 (Lucid Lynx) VM on OS X.
14.5k1919 gold badges8989 silver badges118118 bronze badges
Joshua EtienneJoshua Etienne
I suggest that newbies connect a PL2303 to Ubuntu, chmod 777 /dev/ttyUSB0 (file-permissions) and connect to a CuteCom serial terminal. The CuteCom UI is simple intuitive. If the PL2303 is continuously broadcasting data, then Cutecom will display data in hex format
gatorbackgatorback
23911 gold badge44 silver badges2424 bronze badges
I just got my GUC232A cable with a molded-in PL2302 converter chip.
In addition to adding myself and br to group
dialout , I found this helpful tip in the README.Debian file in /usr/share/doc/bottlerocket :
This package uses debconf to configure the /dev/firecracker symlink, should you need to change the symlink in the future run this command:
dpkg-reconfigure -pmedium bottlerocket
Linux Serial Communication Gui Free
That will then prompt you for your new serial port and modify the symlink. This is required for proper use of bottlerocket.
![]() Linux Gui Interface
I did that and voila! bottlerocket is able to communicate with my X-10devices.
Peter Mortensen
14.5k1919 gold badges8989 silver badges118118 bronze badges
DexterIsMyHeroDexterIsMyHero
Linux Serial Communication Gui Online
Putty on ubuntuThere is no need to install the driver for PL2303So only type the command to enable the puttySudo chmod 666 /dev/ttyUSB0DoneOpen the putty.
Nikhil ParasharNikhil Parashar
Linux Serial Communication TutorialNot the answer you're looking for? Browse other questions tagged linuxserial-portusbhardware-interface or ask your own question.Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |