lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SV: [lwip-users] Odd byte packets in LWIP


From: Micron Engineering
Subject: Re: SV: [lwip-users] Odd byte packets in LWIP
Date: Tue, 11 Nov 2003 11:03:19 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

It depends on what ethernet controller you are using. I prefer to use AX88796 from Asix (Taiwan) because it has a dma management of 16Kb internal ram all usable also with 8bit data bus; it may be interfaced to every type of buses from 8 to 16 bit wide. In this way you have only to deal with address/data bus capability or your processor. You may also swap MSB and LSB on the bus to solve from the beginning endianess related problems.

Jan Wester wrote:
Hi
I had problem with odd length in the driver for Ethernet Controller, depending on the hardware how the Ethernet Controller is connected
to the processor.
We use ARM with Davicom Ethernet Controller.
We also got problem with odd startaddress for buffer, but I think what is ARM specific.
//Jan
-----Ursprungligt meddelande-----
Från: address@hidden [mailto:address@hidden]För Nishen Naidu
Skickat: den 11 november 2003 07:29
Till: Mailing list for lwIP users
Ämne: [lwip-users] Odd byte packets in LWIP

Hi
 
I'm having a problem sending out packets of odd length on certain occasions.
Does lwip work well with odd length packets?
I read the following comment in some lwip sample code:
/*
 
Important!!! LwIP data alignment issue:
   As of now LwIP code does not handle odd byte length packets properly. So round packets to even byte
   length by adding space characters (' '). This is true only for processors that cannot handle
   mis-aligned memory access.
 
*/
is this correct??
 
Thanks
Nishen

_______________________________________________ lwip-users mailing list address@hidden http://mail.gnu.org/mailman/listinfo/lwip-users

reply via email to

[Prev in Thread] Current Thread [Next in Thread]