Forum Discussion
Altera_Forum
Honored Contributor
16 years agoCan not read from "dev/ttyS0"
Hi all, I have ported uClinux onto an DE2 2C35 board and i want to communicate with my PC using the RS232 port. I can open and write data to "dev/ttyS0" well. But I can't read from "dev/ttyS0" ...
Altera_Forum
Honored Contributor
16 years ago1. print errno. It will say what happening.
2. Show ls -l /dev/ttyS0 Maybe you have no ttyS0 or you have not permission.