Hello all,
We would like to have a Linux computer talk with an mbed via its USB port, in order to transfer data and commands back and forth via a C or C++ program, NOT via a terminal. That is, we want the mbed to talk with a C/C++ program on the Linux machine directly.
On the mbed side, I presume the various Serial commands will do.
On the Linux computer side, I suppose that printf, etc., will also function once the right port is engaged (correct?). However, what I do not understand is how to get the Linux machine to recognize the particular USB port that the mbed will be connected to, or (frankly) any other details on how to establish that sort of serial communication. I also don't know which, if any, special libraries or drivers are necessary.
The Linux computer that we will use probably has old-fashioned serial ports too, if that would make things easier. For now, it will be running Slackware.
Can someone point me in the right direction?
Thank you!
Hello all,
We would like to have a Linux computer talk with an mbed via its USB port, in order to transfer data and commands back and forth via a C or C++ program, NOT via a terminal. That is, we want the mbed to talk with a C/C++ program on the Linux machine directly.
On the mbed side, I presume the various Serial commands will do.
On the Linux computer side, I suppose that printf, etc., will also function once the right port is engaged (correct?). However, what I do not understand is how to get the Linux machine to recognize the particular USB port that the mbed will be connected to, or (frankly) any other details on how to establish that sort of serial communication. I also don't know which, if any, special libraries or drivers are necessary.
The Linux computer that we will use probably has old-fashioned serial ports too, if that would make things easier. For now, it will be running Slackware.
Can someone point me in the right direction?
Thank you!