* tty: uart: loopback test
@ 2019-03-26 11:52 Subhashini Rao Beerisetty
2019-03-27 2:15 ` hariprasad kelam
0 siblings, 1 reply; 2+ messages in thread
From: Subhashini Rao Beerisetty @ 2019-03-26 11:52 UTC (permalink / raw)
To: kernelnewbies; +Cc: linux-serial
Hi All,
I’m looking for an userspace ‘C’ test code to transfer a file on UART
Tx line and receive the file on UART Rx line to test loopback
supported serial port.
Can anybody give example of such application?
Thanks
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: tty: uart: loopback test
2019-03-26 11:52 tty: uart: loopback test Subhashini Rao Beerisetty
@ 2019-03-27 2:15 ` hariprasad kelam
0 siblings, 0 replies; 2+ messages in thread
From: hariprasad kelam @ 2019-03-27 2:15 UTC (permalink / raw)
To: Subhashini Rao Beerisetty; +Cc: linux-serial, kernelnewbies
[-- Attachment #1.1.1: Type: text/plain, Size: 1131 bytes --]
Hi Subhashini,
On Tue, 26 Mar 2019 at 17:23, Subhashini Rao Beerisetty <
subhashbeerisetty@gmail.com> wrote:
> Hi All,
>
>
> I’m looking for an userspace ‘C’ test code to transfer a file on UART
> Tx line and receive the file on UART Rx line to test loopback
> supported serial port.
>
Before sending file on UART . I would suggest you to test sending simple
buffer and ensure you receive it correctly.
>
> Can anybody give example of such application?
>
I am assuming you have correct hardware ,ensure RS-232 RX-TX lines are
short.If you are not sure follow below link
[image: image.png]
Coming to application which tests loop back,there are plenty tools like
1.minicom
2.cutecom etc.
if you want to specific application try below
https://elinux.org/images/b/b7/Uart-loopback.c
https://medium.com/@amitasinghchauhan/serial-port-debugging-101-loopback-test-4a7e40da9055
>
>
> Thanks
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
[-- Attachment #1.1.2: Type: text/html, Size: 2359 bytes --]
[-- Attachment #1.2: image.png --]
[-- Type: image/png, Size: 10661 bytes --]
[-- Attachment #2: Type: text/plain, Size: 170 bytes --]
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-27 2:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-26 11:52 tty: uart: loopback test Subhashini Rao Beerisetty
2019-03-27 2:15 ` hariprasad kelam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).