淘宝刚买的开发板,DHCP测试失败。请问该如何继续,现在没方向了。我的目标是要做一个嵌入式设备,能够正常接入局域网+tcp/udp通讯
下载了最新的sdk尝试了DHCP例子,没有拿到IP,log没看错误,wireshark上面检测局域网也没看到任何dhcp报文。
DHCP Test
SystemClk:96000000
ChipID:30700528
net version:19
mac addr:54 14 a7 32 85 2d
WCHNET_LibInit Success
试了IPRaw_PING例子,看log似乎是通的,但是也有一些错误:
IPRaw_PING Test
SystemClk:96000000
ChipID:30700528
net version:19
mac addr:54 14 a7 32 85 2d
WCHNET_LibInit Success
PHY Link Success
Error: 13
Error: 13
Error: 13
Ping 192.168.3.1 with 32 bytes of data.
send data fail!
Reply from 192.168.3.1: bytes=32 time<4ms
Reply from 192.168.3.1: bytes=32 time<4ms
Reply from 192.168.3.1: bytes=32 time<4ms
Reply from 192.168.3.1: bytes=32 time<4ms
Reply from 192.168.3.1: bytes=32 time<4ms
Ping statistics for 192.168.3.1:
Packets: Sent = 5,Received = 5,Lost = 0<0% loss>.
看wireshark上面,没有看到标准的ICMP报文,只有这个开发板MAC地址的一些ARP包,但至少说明局域网物理链路是通的