STMicroelectronics / STM32CubeH7

STM32Cube MCU Full Package for the STM32H7 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
https://www.st.com/en/embedded-software/stm32cubeh7.html
Other
490 stars 302 forks source link

Stm32H723 Nucleo LwIP_HTTP_Server_Socket_RTOS project gets constant RBUs #295

Closed chris1seto closed 3 weeks ago

chris1seto commented 1 month ago

Describe the set-up Nucleo Stm32H723 1.16.0 Stm32CubeIDE 1.11.2 Stm32CubeHAL

Describe the bug When running this example (unmodified), the firmware does work to serve the HTTP page, however the ethernet driver is constantly experiencing RBUs.

How To Reproduce

  1. Indicate the global behavior of your application project The ethernet driver is constantly experiencing RBUs.

  2. The modules that you suspect to be the cause of the problem (Driver, BSP, MW ...) Ethernet

  3. The use case that generates the problem Any use

  4. How we can reproduce the problem Run the example, place a debug print or breakpoint or similar at ( https://github.com/STMicroelectronics/STM32CubeH7/blob/f05ae8780c3f8df302f85e83859822e2fa569e1c/Projects/NUCLEO-H723ZG/Applications/LwIP/LwIP_HTTP_Server_Socket_RTOS/Src/ethernetif.c#L565 )

You will see that this line runs often.

Additional context

Screenshots

ASEHSTM commented 1 month ago

ST Internal Reference: 186958

ASEHSTM commented 3 weeks ago

Hello @chris1seto,

The RBU problem was resolved by correcting the tail pointer calculation. Fixed in : ceda3ce

With Regards,