lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Debugging new driver


From: Dimax
Subject: [lwip-users] Debugging new driver
Date: Wed, 5 Jun 2013 17:07:28 +0300

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.



reply via email to

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