Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] AIO-3399C rs232 transfers

11

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
11

【Linux】 AIO-3399C rs232 transfers

Posted at 4/26/2019 02:07:52      View:6473 | Replies:8        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.
Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 4/28/2019 14:37:14        Only Author  2#
Other ttyS had been used by other function.
Seeing link below . There are something new uart you can use.
http://wiki.t-firefly.com/en/AIO-3399J/driver_uart.html
Reply

Use props Report

28

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
28
Posted at 6/19/2019 22:51:15        Only Author  3#
I see the below for teh AIO-3399C but the RS232 didn't work for me on /dev/ttysWK1, I connected a USB to RS232 and it worked on /dev/ttyUSB0.
Using the image AIO-3399C-LVDS-UBUNTU18.04-GPT-20190304-1222.img

http://wiki.t-firefly.com/en/AIO-3399C/driver_uart.html

Is anyone successful in using the RS232 on AIO-3399C?
Reply

Use props Report

1430

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1430
Posted at 6/24/2019 11:29:07        Only Author  4#
Plz post the hardware connection picture, the kernel device tree setting (related to the series ports) and the test commands so that others can help you.
Reply

Use props Report

46

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
46
Posted at 3/2/2022 01:58:45        Only Author  5#
I can confirm that RS232 on the AIO-3399C does not work as described. I followed the steps described here: https://wiki.t-firefly.com/en/AIO-3399J/driver_uart.html

And I tried accessing the ports via Java. No luck, no data is transferred.

Maybe its because parity, stop bits, etc are wrong – but this is not documented, so this is hard to tell.
Reply

Use props Report

137

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
137
Posted at 1/11/2026 19:48:00        Only Author  6#
This article really inspired me, thanks for sharing! The Valid DP-900 test guide exam questions are now available for free. Good luck to everyone!
Reply

Use props Report

126

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
126
Posted at 1/12/2026 03:52:12        Only Author  7#
The article is absolutely magnificent, thank you for sharing it with us. Wishing you success! Here are the free Pdf NCP-US-6.10 version resources for you!
Reply

Use props Report

129

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
129
Posted at 1/14/2026 13:11:38        Only Author  8#
The article was a real source of knowledge for me. Good luck on your exams! Free access to Valid SPLK-4001 exam materials questions now available!
Reply

Use props Report

135

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
135
Posted at 6 day before        Only Author  9#
I’m really inspired after reading this article, thanks so much for sharing! Free New C-THR96-2505 test testking resources for exam success. Wishing you the best!
Reply

Use props Report

135

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
135
Posted at yesterday 08:39        Only Author  10#
I’m left in awe by your article, thank you for sharing this treasure! Sharing with you the Valid CHFM exam duration test that helped me get my promotion and raise. It’s free for all today—good luck with your career!
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list