MCF5249C3  - Input Overrun

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MCF5249C3  - Input Overrun

1,275 次查看
ajaygnsharma
Contributor I
Hello Friends,

I am building an application with the Coldfire MCF5249C3 Development board from Freescale.
The application is to bridge Serial and Ethernet ports.  We use uClinux with kernel 2.0 and 2.4.
I was able to write a user level program to make this bridge. But some how when I send data from the
Serial to Ethernet at baud rate greater than 38400 the data that comes on the Ethernet side is all
out of order and mixed up and I get a message from the kernel that "Input Overrun: ttyS1"

Can we do anything to avoid it.

Thanks
-Ajay Sharma
Newport Electronics

--
Alban Edit: Please always include FSL Part Number in Message Subject line.



Message Edited by Alban on 2007-09-17 10:53 AM
标签 (1)
0 项奖励
回复
1 回复

529 次查看
mccPaul
Contributor I
Hi
 
It sounds like you may be expecting the Ethernet side to work more quickly than it does. How are you transmitting the data? If you are transmitting a byte at a time with a TCP socket then there is a considerable amount of work going on in the stack and round trip delays for the ACKs. Buffering the data before you send it may work.
 
IIRC I saw a document written by Mark Butcher (www.utasker.com) who posts here, that explained this very well, in the context of creating a serial->Ethernet bridge for uTasker.
 
Cheers,
 
Paul.
0 项奖励
回复