Hi guys,
I'm using a board based on the LPC1768 with Ethernet in combination with
KEIL as IDE.For this reason I used the LPC1766 example with lwIP Stack
(http://www.coocox.com/EXAMPLE/NXP_LPC1766_ARMCC.htm)
<http://www.coocox.com/EXAMPLE/NXP_LPC1766_ARMCC.htm%29> .
I compiled this for my host processor, everything fine :)
But when I debug it, I don't get a real connection. ARP Requests are
coming in but the server doesn't reply.
Here is my debug output:
lwIP Test
netif_set_ipaddr: netif address being changed
netif: IP address of interface set to 192.168.178.100
netif: netmask of interface set to 255.255.255.0
netif: GW address of interface set to 192.168.178.1
netif: added interface en IP addr 192.168.178.100 netmask
255.255.255.0 gw 192.168.178.1
netif: setting default interface en
etharp_request: sending ARP request.
pbuf_alloc(length=44)
pbuf_alloc(length=44) == 10003158
etharp_raw: sending raw ARP packet.
pbuf_header: old 10003168 new 1000316a (-2)
pbuf_free(10003158)
pbuf_free: deallocating 10003158
pbuf_header: old 1000316a new 10003168 (2)
pbuf_free(10003158)
pbuf_free: 10003158 has ref 65535, ending here.
sys_timeout: 100015f0 msecs=5000 h=10003ecc arg=00000000
tcpip_thread: API message 10004a70
tcpip_thread: API message 10004a70
tcp_bind: bind to port 80
tcpip_thread: API message 10004a78
pbuf_alloc(length=83)
pbuf_alloc: allocated
pbuf 10002ff0 pbuf_alloc(length=83) == 10002ff0
pbuf_header: old 10003000 new 10003002 (-2)
pbuf_header: old 10003002 new 10003000 (2)
tcpip_thread: PACKET 1000145c
ethernet_input: dest:ff:ff:ff:ff:ff:ff, src:00:19:d2:05:8f:82, type:800
etharp_ip_input: updating ETHARP table. update_arp_entry()
update_arp_entry: 192.168.178.22 - 00:19:d2:05:8f:82 find_entry: found
empty entry 0 find_entry: selecting empty entry 0
update_arp_entry: updating stable entry 0 pbuf_header: old 10003000
new 10003010 (-16)
pbuf_free(10002ff0)
pbuf_free: deallocating 10002ff0
pipbuf_alloc(length=216)
pbuf_alloc: allocated pbuf 10002ff0 pbuf_alloc(length=216) == 10002ff0
pbuf_header: old 10003000 new 10003002 (-2)
pbuf_header: old 10003002 new 10003000 (2)
tcpip_thread: PACKET 1000145c ethernet_input: dest:ff:ff:ff:ff:ff:ff,
src:00:19:d2:05:8f:82, type:800
etharp_ip_input: updating ETHARP table. update_arp_entry()
update_arp_entry: 192.168.178.22 - 00:19:d2:05:8f:82
update_arp_entry: updating stable entry 0
pbuf_header: old 10003000 new 10003010 (-16)
pbuf_free(10002ff0)
pbuf_free: deallocating 10002ff0 smf calling h=10003ecc(00000000)
tcpip: etharp_tmr()
etharp_timer sys_timeout: 100015f0 msecs=5000 h=10003ea4 arg=00000000
smf calling h=10003ecc(00000000)
tcpip: etharp_tmr() etharp_timer sys_timeout: 100015f0 msecs=5000
h=10003ea4 arg=00000000 smf calling h=10003ecc(00000000)
tcpip: etharp_tmr() etharp_timer sys_timeout: 100015f0 msecs=5000
h=10003ea4 arg=00000000 pbuf_alloc(length=92)
pbuf_alloc: allocated pbuf 10002ff0
pbuf_alloc(length=92) == 10002ff0 pbuf_header: old 10003000 new
10003002 (-2) pbuf_header: old 10003002 new 10003000 (2)
tcpip_thread: PACKET 1000145c ethernet_input: dest:ff:ff:ff:ff:ff:ff,
src:00:19:d2:05:8f:82, type:800
etharp_ip_input: updating ETHARP table.
update_arp_entry() update_arp_entry: 192.168.178.22 -
00:19:d2:05:8f:82 update_arp_entry: updating stable entry 0 pbuf_header:
old 10003000 new 10003010 (-16)
pbuf_free(10002ff0)
pbuf_free: deallocating 10002ff0 smf calling h=10003ecc(00000000)
tcpip: etharp_tmr() etharp_timer sys_timeout: 100015f0 msecs=5000
h=10003ea4 arg=00000000 smf calling h=10003ecc(00000000)
tcpip: etharp_tmr() etharp_timer sys_timeout: 100015f0 msecs=5000
h=10003ea4 arg=00000000 smf calling h=10003ecc(00000000)
tcpip: etharp_tmr() etharp_timer sys_timeout: 100015f0 msecs=5000
h=10003ea4 arg=00000000 smf calling h=10003ecc(00000000)
tcpip: etharp_tmr() etharp_timer sys_timeout: 100015f0 msecs=5000
h=10003ea4 arg=00000000
pbuf_alloc(length=62)
pbuf_alloc: allocated pbuf 10002ff0 pbuf_alloc(length=62) == 10002ff0
pbuf_header: old 10003000 new 10003002 (-2)
pbuf_header: old 10003002 new 10003000 (2)
pbuf_free(10002ff0)
pbuf_free: deallocating 10002ff0 smf calling h=10003ecc(00000000)
tcpip: etharp_tmr() etharp_timer sys_timeout: 100015f0 msecs=5000
h=10003ea4 arg=00000000 smf calling h=10003ecc(00000000)
tcpip: etharp_tmr()etharp_timer sys_timeout: 100015f0 msecs=5000
h=10003ea4 arg=00000000I hope you can help me!
Thanks in advance!
Best regards from Austria
Robert
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users