最近做一个项目,无操作系统LwIP在stm32F4上面跑。网络数据接收一切都正常进行着,但是串口打印偶尔出现以下收发错误。
tcp_write: pbufs on queue => at least one queue non-empty at File:./lwip/core/tcp_out.c,Line:328
tcp_receive: valid queue length at File:./lwip/core/tcp_in.c,Line:1031
后续会悬赏20个金币。谢谢大神。
最近做一个项目,无操作系统LwIP在stm32F4上面跑。网络数据接收一切都正常进行着,但是串口打印偶尔出现以下收发错误。
tcp_write: pbufs on queue => at least one queue non-empty at File:./lwip/core/tcp_out.c,Line:328
tcp_receive: valid queue length at File:./lwip/core/tcp_in.c,Line:1031
后续会悬赏20个金币。谢谢大神。
问题补充:详细的打印错误信息。
Assertion "tcp_receive: valid queue length" failed at line 1031 in ..\LWIP\lwip-1.4.1\src\core\tcp_in.c
Assertion "tcp_write: pbufs on queue => at least one queue non-empty" failed at line 328 in ..\LWIP\lwip-1.4.1\src\core\tcp_out.c
Assertion "tcp_receive: valid queue length" failed at line 1031 in ..\LWIP\lwip-1.4.1\src\core\tcp_in.c
Assertion "tcp_write: pbufs on queue => at least one queue non-empty" failed at line 328 in ..\LWIP\lwip-1.4.1\src\core\tcp_out.c
Assertion "tcp_receive: valid queue length" failed at line 1031 in ..\LWIP\lwip-1.4.1\src\core\tcp_in.c
Assertion "tcp_write: pbufs on queue => at least one queue non-empty" failed at line 328 in ..\LWIP\lwip-1.4.1\src\core\tcp_out.c