lwip 裸机移植到M3核(FPGA内的软核)遇到问题

dljs 2015-07-09 03:31:06
lwip 裸机移植到M3核(FPGA内的软核),ping 192.168.1.18,不通, 调试信息如下,能够确定是网口驱动还是协议栈的问题吗
下面是调试串口输出:
只发送一次,会接收很多次。使用抓包工具,只有ARP请求,没有回应。
netif_set_ipaddr: netif address beingchanged
netif: IP address of interface et to 192. 168. 1. 18
netif: netmask of interface set to 255. 255. 255. 0
netif: GW address of interface 192. 168. 1. 1
PHY runs in 1000M speed full duplex
Eth_88e11 Init finish
netif: added interface ST IP addr 192. 168. 1. 18 netmask 255. 255. 255. 0 gw 192. 168. 1. 1
netif: setting default interface ST
etharp_request: sending ARP request.
pbuf_alloc(length= 42)
pbuf_alloc(length= 42) == 20005bb0
etharp_raw: sending raw ARP packet.
Sent Ethernet frame 0:
0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0x54 0x55
0x58 0x10 0x00 0x24 0x08 0x06 0x00 0x01
0x08 0x00 0x06 0x04 0x00 0x01 0x54 0x55
0x58 0x10 0x00 0x24 0xC0 0xA8 0x01 0x12
0x00 0x00 0x00 0x00 0x00 0x00 0xC0 0xA8
0x01 0x12
-----------------
Received Ethernet frame 348:
0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0x10 0xC3
0x7B 0x8E 0xF8 0xE4 0x08 0x06 0x00 0x01
0x08 0x00 0x06 0x04 0x00 0x01 0x10 0xC3
0x7B 0x8E 0xF8 0xE4 0xC0 0xA8 0x01 0x01
0x00 0x00 0x00 0x00 0x00 0x00 0xC0 0xA8
0x01 0x12 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00
-----------------
ethernet_input: dest:f6:00:00:00:00:00, src:00:00:00:00:00:00, type: 0
tcp_slowtmr: no active pcbs
tcp_slowtmr: no active pcbs
etharp_timer

Received Ethernet frame 349:
0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0x10 0xC3
0x7B 0x8E 0xF8 0xE4 0x08 0x06 0x00 0x01
0x08 0x00 0x06 0x04 0x00 0x01 0x10 0xC3
0x7B 0x8E 0xF8 0xE4 0xC0 0xA8 0x01 0x01
0x00 0x00 0x00 0x00 0x00 0x00 0xC0 0xA8
0x01 0x12 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00
-----------------
ethernet_input: dest:e0:00:00:00:00:00, src:00:00:00:00:00:00, type: 0
tcp_slowtmr: no active pcbs
tcp_slowtmr: no active pcbs
tcp_slowtmr: no active pcbs
tcp_slowtmr: no active pcbs
tcp_slowtmr: no active pcbs
tcp_slowtmr: no active pcbs
tcp_slowtmr: no active pcbs
tcp_slowtmr: no active pcbs
tcp_slowtmr: no active pcbs
tcp_slowtmr: no active pcbs
etharp_timer
tcp_slowtmr: no active pcbs
tcp_slowtmr: no active pcbs
tcp_slowtmr: no active pcbs
tcp_slowtmr: no active pcbs
tcp_slowtmr: no active pcbs
...全文
296 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

19,502

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 嵌入开发(WinCE)
社区管理员
  • 嵌入开发(WinCE)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧