2023-08-03 12:39 AM
I'm trying to get the ethernet working on the nucleo-F746ZG eval board.
I've found the LwIP_HTTP_Server_Netconn_RTOS example which works great
(first time EVER for me, that code on embedded device actually worked without spending several days to fix things : )
Now, I'm trying to reproduce the functionality in a project generated for IOC file,
And I can't get the ethernet to work.
I can see that the link status is OK, but I don't get replies from ping messages.
I've been trying to compare the code generated from the IOC to the code in the example,
and change the IOC to generate the same code, but so far without success.
Is there someplace where I can get an IOC file for nucleo-F746ZG eval board with ethernet enabled?
Thanks,
Nadav
2023-08-14 03:27 AM - edited 2023-08-14 03:39 AM
Hi @Pavel A.
When I run the code generated from the IOC file, I don't see any reply from the eval board,
I see the ping request,but no reply :
1814 75.166471 10.0.0.123 10.0.0.200 ICMP 74 02:00:00:00:00:00,d8:5e:d3:83:29:06 Echo (ping) request id=0x0001, seq=62/15872, ttl=128 (no response found!)
I also don't see any ARP messages from the eval board.
If I run the LwIP_HTTP_Server_Netconn_RTOS example I see the request & the reply:
274 10.733673 10.0.0.123 10.0.0.200 ICMP 74 02:00:00:00:00:00,d8:5e:d3:83:29:06 Echo (ping) request id=0x0001, seq=88/22528, ttl=128 (reply in 278)
278 10.836329 10.0.0.200 10.0.0.123 ICMP 74 d8:5e:d3:83:29:06,02:00:00:00:00:00 Echo (ping) reply id=0x0001, seq=88/22528, ttl=255 (request in 274)
and ARP messages from the eval board:
964 49.591070 02:00:00:00:00:00 Broadcast ARP 60 ff:ff:ff:ff:ff:ff,02:00:00:00:00:00 ARP Announcement for 10.0.0.200
2023-08-14 08:42 AM
Then looks like the project generated from ioc (entire project including the link script and ST libraries) misses something important vs. the ready example. Need to compare carefully.