Serial communication from Linux

From Klaus' wiki
Jump to: navigation, search

In order to communicate with an embedded device it is very often useful to have a communication programme that is able to handle the serial line. Connecting the USB cable often creates a /dev/ttyUSBn device, where n depends on previous use of other serial interfaces.

Cutecom, minicom and putty are examples of communication programmes that handles serial lines.

Often it can be necessary to adjust priveleges on the device before it is possible to get access to it.

chmod 777 /dev/ttyUSB1

The LPC2478 board communicates with 115.200 bps.