Skip to main content
YPARK.14
Visitor II
Jan 9, 2020 3:38 AM UTC
Question

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

​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
Jan 25, 2020 11:15 PM UTC

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
Feb 10, 2024 3:21 PM UTC

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

Visitor II
Mar 4, 2024 9:26 AM UTC

hi,did you get the solution?