lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Debugging new driver


From: Pomeroy, Marty
Subject: Re: [lwip-users] Debugging new driver
Date: Wed, 5 Jun 2013 12:27:20 -0400

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: address@hidden
[mailto:address@hidden On
Behalf Of Dimax
Sent: Wednesday, June 05, 2013 10:07 AM
To: address@hidden
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
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users



reply via email to

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