Skip to main content
Associate III
April 30, 2024
Solved

Ethernet configuration issue

  • April 30, 2024
  • 2 replies
  • 1741 views

HI STM team,

I am using NUCLEO-F439ZI BOARD. I am new to this board. According to the basic configuration the ETH selection shows the warning symbol, reference based on the internet example, the ethernet configuration it does not show the PHY Address option. while I choose RMII mode. The portB _PIN0 select as GPIO output, but that same pin is used for ETH_RXD2, this selection makes the warning symbol. when I bye-pass warning and use the program for pinging it shows the connection failure and timeout error message. The below code is used to ping the Ethernet connection.

extern struct netif gnetif;

 ...........MAIN..........

while (1) {

ethernetif_input(&gnetif);

sys_check_timeouts();

}

The problem screen shot was attached below.   

Ramachandran1992_0-1714455846651.jpeg

the LWIP setting also attached below

Ramachandran1992_1-1714456093524.png

 

notify the mistake done by me, if any example to learn this one, send the link/example code.

This topic has been closed for replies.
Best answer by Ramachandran1992

HI Pavel,

Hope you are doing good, thank you for your reply, I found the mistake What I done, due to mismatch of ETHERNET IP, its shows that error, after I am changing the IP address for both server and client, I works fine, and ping also done good. After that I develop 3 basic example code and done it. once again Thank you for your reply and the example program for reference.

Regards 

Ramachandran.S

2 replies

Pavel A.
Super User
May 6, 2024

Try to build this example (for a compatible STM32 Nucleo):

https://github.com/STMicroelectronics/STM32CubeF4/tree/master/Projects/STM32F429ZI-Nucleo/Applications/LwIP/LwIP_HTTP_Server_Netconn_RTOS

Do not change anything until you get ping working.

Then compare your cube-generated project against that and find why it isn't working. 

Ramachandran1992AuthorBest answer
Associate III
May 6, 2024

HI Pavel,

Hope you are doing good, thank you for your reply, I found the mistake What I done, due to mismatch of ETHERNET IP, its shows that error, after I am changing the IP address for both server and client, I works fine, and ping also done good. After that I develop 3 basic example code and done it. once again Thank you for your reply and the example program for reference.

Regards 

Ramachandran.S