2023-12-03 10:34 PM
Hi, I am having problems connecting my f429 board (nucleo 144) through ethernet with TCP. I followed several threads that i lost the link to, but here are my settings.
and of course the LWIP configuration (everything not shown was left by default)
i al turned on LWIP_BROADCAST_PING and LWIP_MULTICAST_PING
IPv6 and HTTPD are disabled
and here for the PHY i tried with both, and none worked.
also increased the heap size
In the code, on the main while(1) function, i have the: MX_LWIP_Process()
The problem is that i try to ping the board, and i get timeout, never an answer.
Can anyone se any problems or has any idea why?
Solved! Go to Solution.
2023-12-05 01:57 AM
Hello @PabloD9026 ,
Have you Checked this FAQ: How do I create a project for STM32H7 with Ethernet and LwIP stack working?
Also, I advise you to start with an available LwIP_HTTP_Server_Netconn_RTOS example. This application guides STM32Cube HAL API users to run a http server application based on Netconn API of LwIP TCP/IP stack.
This example may be help you to configure your own project.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-12-05 01:57 AM
Hello @PabloD9026 ,
Have you Checked this FAQ: How do I create a project for STM32H7 with Ethernet and LwIP stack working?
Also, I advise you to start with an available LwIP_HTTP_Server_Netconn_RTOS example. This application guides STM32Cube HAL API users to run a http server application based on Netconn API of LwIP TCP/IP stack.
This example may be help you to configure your own project.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-12-05 09:52 PM
I have one more question, in the examples you ve sent it was written that the STM32 board has to be connected with a crossover ethernet cable or through a router.
My question is, is this true? and can i use an ethernet-switch instead of a router?, if not, is there any work-around? for examples changing some pins on the board.
2023-12-05 11:51 PM - edited 2023-12-05 11:52 PM
Hi @PabloD9026,
Yes, you can use an Ethernet-switch.
Thank you for your contribution in STCommunity.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.