Get Wireshark installed, and look at the raw packets at the Linux box.

Also make sure your checksum configuration is right.

Marty

-----Original Message-----
From: lwip-users-bounces+martypomeroy=novabio....@nongnu.org
[mailto:lwip-users-bounces+martypomeroy=novabio....@nongnu.org] On
Behalf Of Dimax
Sent: Wednesday, June 05, 2013 10:07 AM
To: lwip-users@nongnu.org
Subject: [lwip-users] Debugging new driver

Hi,
I'm done with a coding of a new driver and have started it's debugging.
I have started with ping.
I have a linux box 192.168.16.31
And my ST32 board with fixed IP configuration 192.168.16.43

I'm trying to ping from linux to my board running new driver.

On linux side I get:
---------------------------
>From 192.168.16.31 icmp_seq=62 Destination Host Unreachable and in
tcpdump sequence of:
09:00:45.277619 ARP, Request who-has 192.168.16.43 tell 192.168.16.31,
length 28
09:00:46.277617 ARP, Request who-has 192.168.16.43 tell 192.168.16.31,
length 28 ...

On board side (my traces):
------------------
000023.072 ETH:DMA_RX SZ:64
000023.072 ETH:DMA_TX SZ:64
000024.072 ETH:DMA_RX SZ:64
000024.072 ETH:DMA_TX SZ:64
000025.080 ETH:DMA_RX SZ:64
000025.080 ETH:DMA_TX SZ:64
000026.080 ETH:DMA_RX SZ:64
000026.080 ETH:DMA_TX SZ:64

Looks like a ARP packets arrives to board and are processed by lwIP.
But outcoming packets from board are dropped somewhere. Not sure if they
get out from PHY at all or dropped on receiving linux side.
How would you suggest to debug this?
Thanks.

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to