|
From: | Dave Nadler |
Subject: | [lwip-users] Very first thing I should see on network?? |
Date: | Fri, 17 Apr 2020 20:48:50 -0400 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
Sorry if this is a dumb question. I have a board using STM32F437
and LAN8742A.
At one point I had this working, but something is broken either in
my code or the latest ST CubeMX fiasco code.
I can see the the 50MHz RMII clock is AOK, the initialization
software seems content that
it has initialized both the internal ST Ethernet peripheral and
the LAN8742A.
But nothing happens...
So, the question:
What is the very first thing I should see on the network using
WireShark?
I'm definitely not a network guru...
The LwIP debug log is below in case its helpful...
Thanks in advance for any tips!
Best Regards, Dave
etharp_timer
netif: added interface st IP addr 0.0.0.0 netmask 0.0.0.0 gw
0.0.0.0
netif: setting default interface st
dhcp_start(netif=0x2000b798) st0
dhcp_start(): mallocing new DHCP client
dhcp_start(): allocated dhcp
dhcp_start(): starting DHCP configuration
dhcp_discover()
transaction id xid(4bb5f646)
dhcp_discover: making request
dhcp_discover: sendto(DISCOVER, IP_ADDR_BROADCAST,
LWIP_IANA_PORT_DHCP_SERVER)
ip4_output_if: st0
IP header:
+-------------------------------+
| 4 | 5 | 0x00 | 336 | (v, hl, tos, len)
+-------------------------------+
| 0 |000| 0 | (id, flags, offset)
+-------------------------------+
| 255 | 17 | 0x0000 | (ttl, proto, chksum)
+-------------------------------+
| 0 | 0 | 0 | 0 | (src)
+-------------------------------+
| 255 | 255 | 255 | 255 | (dest)
+-------------------------------+
ip4_output_if: call netif->output()
ethernet_output: sending packet 0x20004f04
dhcp_discover: deleting()ing
dhcp_discover: SELECTING
dhcp_discover(): set request timeout 2000 msecs
StartDefaultTask main loop...
-- Dave Nadler, USA East Coast voice (978) 263-0097, address@hidden, Skype Dave.Nadler1
[Prev in Thread] | Current Thread | [Next in Thread] |