Sending short Ethernet frames using M5223X/M5225X

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

Sending short Ethernet frames using M5223X/M5225X

1,183件の閲覧回数
mjbcswitzerland
Specialist V

Hi All

 

Does anyone know the best method of sending frames shorter than 60 bytes over Ethernet?

 

In the M52235 user's manual the following is quoted: "18.4.6: Short Frames are automatically padded by the transmit logic (if the TC bit in the transmit buffer descriptor for the end of frame buffer equals 1)"

 

The transmitter thus always pads to 60 byte minimum length when the CRC generator is active.

This suggests that by generating the Ethernet CRC-32 in SW rather than letting the chip do it it should be possible but this will result in a high CPU load if generally used.

 

It has been identified that some WiFi gateways are not working with the M522XX due to the fact that they demand 42 byte long ARPs and padding them causes them to be rejected (which doesn't seem logical but at the moment this is the state of findings).

 

Does any one know of a more efficient solution?

 

Regards

 

Mark

ラベル(1)
0 件の賞賛
返信
1 返信

628件の閲覧回数
J2MEJediMaster
Specialist I

Hey Mark:

 

Have you filed a service request on this finding? I just want to make sure our engineers are aware of this (if you aren't working with them already).

 

---Tom

0 件の賞賛
返信