cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H753ZI Ethernet (LAN8742, RMII) – Ping not working with HAL / No-RTOS lwIP

chaithu_coder
Visitor

I am using STM32H753ZI and trying to bring up Ethernet (LAN8742, RMII) using HAL + lwIP in NO-RTOS  mode. I generated the code using STM32CubeMX with ETH enabled (RMII) and lwIP enabled (WITH_RTOS disabled, static IP). The PHY link comes up and RJ45 LEDs blink, but the board does not respond to ping and no ARP entry is created on the PC (Destination Host Unreachable). I have placed ETH descriptors and RX buffers in D2 SRAM, enabled MPU and D-Cache, verified RMII_REF_CLK to PA1, selected the LAN8742 PHY driver, and I am calling MX_ETH_Init(), MX_LWIP_Init(), and processing lwIP in the main loop. The FreeRTOS-based STM32H743 Ethernet example works, but I specifically want a HAL-only .

1 ACCEPTED SOLUTION

Accepted Solutions

Hello,

Unfortunately, there is no article describing the steps to enable LWIP+ noRTOS + STM32H7 with CubeMx.

You need to do it yourself by inspiring from the example I shared above.

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.

View solution in original post

3 REPLIES 3
mƎALLEm
ST Employee

Hello,

An example is already provided in CubeH7: LWIP without RTOS under this github link:

https://github.com/STMicroelectronics/STM32CubeH7/tree/master/Projects/NUCLEO-H723ZG/Applications/LwIP/LwIP_TCP_Echo_Server

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.

Thanks for giving your time to reply actually i am trying on stm32h752 480MHz controller can i get exact steps to enable etherenet interface 

 

Hello,

Unfortunately, there is no article describing the steps to enable LWIP+ noRTOS + STM32H7 with CubeMx.

You need to do it yourself by inspiring from the example I shared above.

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.