4 days, 15 hours ago.
Serial Communication with Ubunthu and Minicom
I'm new to using Linux. I am trying to setup a terminal that can display data from the Comm port from a Nucleo-L432KC.
I have made the following progress:
1. I have established that the virtual comm port is created and it is called ttyACM0. 2. I have given access to the comm port. 3. I have installed MiniCom. 4. I have setup MiniCom to have the following settings:
I use the following command to initialise the serial communication on the Nucleo:
Serial pc(SERIAL_TX, SERIAL_RX); // pc comunication pc.baud(9600);
When the Minicom Window shows the information from the Comm Port it just displays diamond characters:
Can someone please tell me what I'm doing wrong?
************* I have managed to get some data via GNU Screen. The output is however not stable and the screen freezes after a short while. Please see below two images. The first shows my program displaying perfectly in TereTerm on a Windows machine. And the second shows the result in GNU Screen with the errors:
Koos van der Wat
1 day, 9 hours ago.
This looks very much like a synchronization issue. Make sure that your minicom is not sending some AT reset commands at the beginning of your session. It has been a very long time since I used minicom, but a little bit of searching and you should find a menu of command strings to send at different events. For connection to the board, you either want them all empty, or you need tell the terminal program not to send them.
Good luck and keep us posted, Earl, team Mbed
To post an answer, please log in.