Forum Discussion
Altera_Forum
Honored Contributor
16 years ago"Resource temporarily unavailable" while reading from "dev/ttyS0"
Hi all, i have ported uClinux on DE2 2c35 board and i want to use RS232 port on the board to communicate with a PC. I understand that I can use "dev/ttyS0" for that purpose. I can open and write ...
Altera_Forum
Honored Contributor
16 years agoHi ARTEM_BOND,
thanks for replying! I know using delay is a bad way. Can u plz tell me another way to wait data from the host? I tried fcntl(fd1, F_SETFL, 0);, but i had to a long time without receive any data.