新野-新野 2016-09-07 13:01 采纳率: 0%
浏览 6493
已结题

LwIP收发问题 tcp_write 、tcp_receive

最近做一个项目,无操作系统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个金币。谢谢大神。

  • 写回答

2条回答

  • 新野-新野 2016-09-08 00:22
    关注

    问题补充:详细的打印错误信息。
    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

    评论

报告相同问题?

悬赏问题

  • ¥15 Python时间序列如何拟合疏系数模型
  • ¥15 求学软件的前人们指明方向🥺
  • ¥50 如何增强飞上天的树莓派的热点信号强度,以使得笔记本可以在地面实现远程桌面连接
  • ¥20 双层网络上信息-疾病传播
  • ¥50 paddlepaddle pinn
  • ¥20 idea运行测试代码报错问题
  • ¥15 网络监控:网络故障告警通知
  • ¥15 django项目运行报编码错误
  • ¥15 STM32驱动继电器
  • ¥15 Windows server update services