Forum: System Workbench for STM32

STM32F4 LwIP

Hi all,
I bought STM32F429ZI Nucleo board for ethernet connectivity. I tried it configure but dosnt work. First goal for me is PING from PC to Nucleo but dosnt work.

I downloaded newest cubeMX 4.27 and newset MCU package 4.1.21.

In ETH settings I added custom MAC address and tried PHY address to set 0 or 1. (I searched in forum and for LAN8742 PHY address is 0 ). Tried Enable/Disable auto negotation. Other settings is unchanged.

In LwIP settings I only disabled DHCP and setted custom IP address, MAC, Defautl Gateway IP address. ICMP is defaultly Enabled. Tried Checksum by HW Enable\Disable.

But dosnt work PING

In Code only added 2 lines >
first is definition structure
struct netif gnetif;

and 2nd is in While LwIp handler.
ethernetif_input(&gnetif);

In debugger I visited gnetif struct and every variable have value.

I tried example codes with SW4STM32 but dosnt work anything. Tried another Nucleo to same..

Please help. thank you