[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Debugging new driver
From: |
Bastien Allibert |
Subject: |
Re: [lwip-users] Debugging new driver |
Date: |
Wed, 5 Jun 2013 18:57:20 +0200 |
With ICMP request you might also consider to pad your replies to 64bytes. They
could be discarded.
Bastien
Le 5 juin 2013 à 18:27, "Pomeroy, Marty" <address@hidden> a écrit :
>
> 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
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-users