?淘寶剛買的開發(fā)板,DHCP測試失敗。請問該如何繼續(xù),現(xiàn)在沒方向了。我的目標是要做一個嵌入式設備,能夠正常接入局域網(wǎng)+tcp/udp通訊
下載了最新的sdk嘗試了DHCP例子,沒有拿到IP,log沒看錯誤,wireshark上面檢測局域網(wǎng)也沒看到任何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報文,只有這個開發(fā)板MAC地址的一些ARP包,但至少說明局域網(wǎng)物理鏈路是通的