Main Site Documentation

Full TCP/IP stack needed?


#1

Hi guys I am working on a company project and I needed to forward all Ethernet packets to serial port (Not using FEZ though, but I think the community might give me an answer for it).

Do you think I need a full blown TCP/IP stack on the hardware I am working on? Or a simple forwarding will do?

The Ethernet is sending packets at the rate of 10Mbps, and the serial hardware is capable of doing 3Mbps. Flow control is very critical in this case.

Let me know. Thanks.


#2

If you want flow control at the TCP level you are going to need a full stack.


#3

You are looking for a serial to Ethernet option ?

You can easily build one of these using a FEZ and the Wiznet option.

Alternatively you can use something like the Wiznet WIZ110SR or some other product. There are a lot of modules in the market for this application.

This said I would step back, look at the entire application and choose the module that can perform all functions rather than have a bulky dedicated serial<->Ethernet.

HTH.


#4

The Wiznet can only do 230Kbps on Serial, which is not what we wanted.

We need a 1.5Mbps solution.


#5

I am not sure. Is 1.5Mbps possible on UART?


#6

The OP said he is not using a FEZ. :smiley:

1.5Mbit UART are possible if the hardware supports it. Depends how clocking is done.


#7

I believe we have a setup at work i can look at tomorrow that may fill your needs.

I think is was a Lantronix Device.


#8
  1. Ethernet packets or TCP packets?
  2. transferring packets as is or replacing them with PPP?

With stream of UART data, do you know that if you do not convert packets to PPP format then you will not be able to determine when each packet starts and where it ends?

You do not need any stack, just read the packets from the MAC on your processor. But you still need a ways (like PPP) to mark the beginning and ending of every packet.


#9

yah the hardware functions as a forwarding device to other similar hardwares so the TCP communication is between the end devices (computers) So I’ll just write some code that forwards Ethernet packets to serial.

I will definitely look at PPP. Thanks for the heads up.