Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello guys, i'm kinda new here, i wanna ask something about debian linux OS which i have it running in my ARM processor. I have one DSP processor connected to my ARM processor through UART and i used UC00B device (UART to USB converter) which is basically UART from the DSP processor connect to USB of my ARM processor. In order to run the DSP processor, i need to send a set of command to that particular device. Here,what i'm trying to ask is, what kinda of software could i used to send several set of command from the ARM processor to the DSP processor? Please help me out here as i'm kinda new to linux also. Thanks guys.
I assume we are talking about RS-232 UART communications. Depends on your needs but cutecom is a GUI application that can send binary as well as ASCII data.
I assume we are talking about RS-232 UART communications. Depends on your needs but cutecom is a GUI application that can send binary as well as ASCII data.
Yes i need to send some sort of command to the DSP processor through the serial port. Under Linux this serial port is known as /dev/ttyAM0. How do i write the command? i need to send something like this "0x250x230000CHK0xF5". 1 more thing is the DSP processor will reply back the same format command to the terminal, question is how to retrieve?
Without knowing anything about the command protocol it is difficult say exactly what steps are required. I would assume that the DSP would automatically respond and the message will be displayed.
Since this isn't a pure binary command i.e CHK as part of the command you would type in the command and just press the enter key. My first choice is minicom since this is typically included with most distributions.
Without knowing anything about the command protocol it is difficult say exactly what steps are required. I would assume that the DSP would automatically respond and the message will be displayed.
Since this isn't a pure binary command i.e CHK as part of the command you would type in the command and just press the enter key. My first choice is minicom since this is typically included with most distributions.
yes minicom helped me alot. but i need to combine this with PHP. is it possible? is it possible to send command using minicom through PHP?
I've never tried nor do I know if it actually works but here is a php class for communicating with the serial port. Other languages may be better suited. What are you trying to accomplish?
I've never tried nor do I know if it actually works but here is a php class for communicating with the serial port. Other languages may be better suited. What are you trying to accomplish?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.