This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
请教个问题,如下,
EVMK2H、PC、路由器互联,PC端设置为DHCP。EVMK2H ARM SPI Boot上电后,EVMK2H的IP是192.168.1.100,PC的IP是192.168.1.113。
PC端的TFTP配置为,“tftpd64.exe”软件的根目录下放了1.gph文件,TFTP配置如下图
拟根据EVMK2H光盘中MCSDK安装后的MCSDK 3.X User Guide的第40页进行如下图操作,即EVMK2H通过TFTP Server获取SPI GPH文件。
EVMK2H的UBoot打印如下,
TCI6638 EVM # dhcp 0xc300000 1.gph BOOTP broadcast 1 *** Unhandled DHCP Option in OFFER/ACK: 52 *** Unhandled DHCP Option in OFFER/ACK: 52 DHCP client bound to address 192.168.1.100 Using TCI6638_EMAC device TFTP from server 192.168.1.113; our IP address is 192.168.1.100 Filename '. Load address: 0xc300000 Loading: * TFTP error: 'File not found' (1) Not retrying... TCI6638 EVM #
之前是输入了命令
setenv serverip 192.168.1.113 saveenv
然后在UBoot控制台中输入如下命令
dhcp 0xc300000 1.gph
UBoot控制台打印TFTP File Not Found的错误如下,
TCI6638 EVM # dhcp 0xc300000 1.gph BOOTP broadcast 1 *** Unhandled DHCP Option in OFFER/ACK: 52 *** Unhandled DHCP Option in OFFER/ACK: 52 DHCP client bound to address 192.168.1.100 Using TCI6638_EMAC device TFTP from server 192.168.1.113; our IP address is 192.168.1.100 Filename '. Load address: 0xc300000 Loading: * TFTP error: 'File not found' (1) Not retrying... TCI6638 EVM #
在PC端通过Wireshark抓取EVMK2H和TFTP Server(即PC)之间的通信包如下
我的问题是:
我在EVMK2H端输入dhcp 0xc300000 1.gph,应该EVMK2H会将文件名1.gph通过TFTP协议发送到TFTP Server端,可是Wireshark抓取的不是这样的。这是为什么?而且无论我在EVMK2H端输入什么样的文件名,Wireshark抓取的都是File:\337。