Skip to main content
YPARK.14
Visitor II
January 9, 2020
Question

display Assertion "pbuf_free: p->ref >0" failed at line 747... and stop ethernet commnunication aperiodically.

  • January 9, 2020
  • 3 replies
  • 2162 views

​I use stm32h743 with lwip. tcp and udp work fine respectively. but, Running tcp and udp at the same time breaks the communication aperiodically, and display Assertion "pbuf_free: p->ref >0" failed at line 747... stm32cubeH7 example is the same. but stm32F7 is good working without problem. I think stm32cubeH7 example is flawed.

This topic has been closed for replies.

3 replies

Piranha
Principal III
January 25, 2020

With ST's code networking is virtually impossible, especially on H7. Fixing their code requires more effort than writing normal ETH driver and integrating lwIP on your own.

https://community.st.com/s/question/0D50X0000BOtfhnSQB/how-to-make-ethernet-and-lwip-working-on-stm32

Visitor II
February 10, 2024

hi, i am also facing similar problem. did you get the solution? could you help ?

Visitor II
March 4, 2024

hi,did you get the solution?