- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using the Nios II dev board with 4 NIOS UARTs. I am communicating with another UART device at 115200 bps 8-n-1 without flow control. Occasionally, I get the error: <div class='quotetop'>QUOTE </div> --- Quote Start --- ttyS0: 1 input overrun(s)[/b] --- Quote End --- on the system console. After this, serial communication does not work, and the serial port must be close()'d and re-open()'ed. I have been trying to find out the source of this error, and have suspected interrupts that are firing too quickly, but I have no way to really diagnose that. I have tried setting the IRQ of ttyS0-3 to 0 to have the kernel use polling, but without success. I've looked over NIOSserial.c and have undefined DEBUG as an attempt to reduce overruns. Could the problem be that the FIFO buffers are too small? I'm at a loss here.... I have tried both the stable 2.6.17 and 2.6.19 kernels/source trees, but both have the same problem. I would appreciate any suggestions! Thanks! - AmirLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should change NIOS uart core to FIFOed ones.
http://www.niosforum.com/pages/project_det...p_id=89&t_id=18 (http://www.niosforum.com/pages/project_details.php?p_id=89&t_id=18)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just to be clear...yes, the default UARTs have no buffering/FIFOs.
- slacker
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page