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 09:11:23 +0200
User-agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)

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




reply via email to

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