This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Command For testing UART application Code.

Dear All,

Consider i have application code file tty_user.c. the Executable file is tty_user.

Which way is correct to test the File or if suggest i am wrong.

directly executing the file

root#./tty_user

or

root#./tty_user < /dev/ttyS0

Prag!!!!!!!!!!!!