Hi all,
I tried a simple serial program which will read from the serial port. I cross-compiled this program and put on the PXA255 board. As i have already told, when start the program in minicom,
./program
everything goes fine..
But when i start it like this
./program&
The program hangs. And now in my own program it hangs at
tcsetattr(fd, TCSANOW, &portconfig);
It is waiting and waiting for writing the new termios structure..
But is not getting succedded... and finally hangs..
Any one faced this problem??
|