MCF5249C3  - Input Overrun

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MCF5249C3  - Input Overrun

1,269件の閲覧回数
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 返信

523件の閲覧回数
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 件の賞賛
返信