|
【Linux】
AIO-3399C rs232 transfers
Posted at 4/26/2019 02:07:52
View:5035
|
Replies:4
Print
Only Author
[Copy Link]
1#
Last edited by krtsmn In 4/26/2019 02:14 Editor
I need to transmit/receive data via rs232. AFAIK, AIO-3399C has 4 serial ports. I try to use /dev/ttyS0. It doesn't work. On other end of serial channel sent data aren't received and data sent from other end aren't received at AIO-3399C. 'setserial' shows only one working serial port of four. I use standard kernel and rootfile from linux-SDK. What should I do to solve the problem? 'setserial' output is below:
$ setserial -g /dev/ttyS[0123]
/dev/ttyS0, UART: 16550A, Port: 0x0000, IRQ: 37
/dev/ttyS1, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS2: Device or resource busy
/dev/ttyS3, UART: unknown, Port: 0x0000, IRQ: 0
Thank you. |
|