Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 3 months ago.
Serial printf not showing output on ubuntu
I am using ubuntu 13.10, terminal and gnu screen. Member of the dialout group with modemmanager removed.
No output appears on screen, yet when I press a key on the pc keyboard the usb com light flashes on the mbed.
Serial pc(USBTX, USBRX);
pc.printf("Hello World!\n");
My arduino can send prints to the serial monitor no problem.
Any help on what further to try would be greatly appreciated.
1 Answer
10 years, 3 months ago.
If I try running
screen /dev/ttyACM1 9600 8N1
I get the following.
Cannot open line '/dev/ttyACM1' for R/W: Device or resource busy
Sorry, could not find a PTY.
I am using a LPC812-MAX.
Have you checked this thread? http://mbed.org/forum/mbed/topic/3977/
posted by David Fletcher 12 Feb 2014Apparently my board requires some hardware modification before I can use a Virtual com port.
http://mbed.org/questions/1717/LPC812-MAX-USBTXRX-problem/
https://mbed.org/handbook/mbed-NXP-LPC800-MAX-Getting-Started
posted by David Fisher 12 Feb 2014