lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Port to TMS320C6713


From: Bernhard 'Gustl' Bauer
Subject: Re: [lwip-users] Port to TMS320C6713
Date: Fri, 29 Apr 2005 18:06:11 +0200
User-agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)

Hi,

'#define ETH_PAD_SIZE 2' did the trick. I had to add ETH_PAD_SIZE to cs8900if.c.

Now I get duplicate echo replys, arp works fine. Any pointers?

Gustl


timmy brolin wrote:

I had some troubles with this as well. But I used an older version of
lwIP. Search the lwIP mailing list. This is a known problem, and it
has been solved by several people.

-----Original Message----- From: "Bernhard 'Gustl' Bauer"
<address@hidden> To: Mailing list for lwIP users
<address@hidden> Date: Fri, 29 Apr 2005 09:11:23 +0200 Subject: Re: [lwip-users] Port to TMS320C6713

Bernhard 'Gustl' Bauer wrote:

Leon Woestenberg wrote:


Please keep us posted on your progress!


I will, but still waiting for the HW.


Hi,

finaly I got my HW :-)

Arp works fine. Then I tried ping and got no reply. I tracked the problem down to ip_input(). There the packet is matched against an interface and this fails. ----------- /* unicast to this interface
address? */ if (ip_addr_cmp(&(iphdr->dest), &(netif->ip_addr)) || /*
or broadcast on this interface network address? */ ip_addr_isbroadcast(&(iphdr->dest), netif)) { ----------- iphdr->dest
and netif->ip_addr are the same! But iphdr->dest is at address
0x80302F0A and is not dividable by 4. The dsp truncs the address to
0x80302F08 and so the compare fails.

Any idea what can be done about this?

Here is my lwipopts.h: ----------- #define MEM_ALIGNMENT
4 #define LWIP_DHCP 1 #define LWIP_NOASSERT #define NO_SYS 1 -----------

TIA

Gustl


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





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





reply via email to

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