Tool/software: Starterware
Hi!
Firstly, introduce my development tools:
win7 64bit+AM335X_StarterWare_02_00_01_01+CCS6.2.0.00050
The board is a custom one with AM3358BZCZA100+256MB DDR3L(running on 303MHz)+TPS65217c(PMIC)+AR8035(Ethernet PHY).
I used CCS6 to import the bootloader project from AM335X_StarterWare_02_00_01_01\build\armv7a\cgt_ccs\am335x\evmAM335x\bootloader, and made some changes to fit my custom board. Now my board can boot from SD Card well.
Then,the problem is :
I use CCS6 to import the enetEcho project from AM335X_StarterWare_02_00_01_01\build\armv7a\cgt_ccs\am335x\evmAM335x\enetEcho, set IP as follows:
lwipIfPort1.instNum = 0;
lwipIfPort1.slvPortNum = 1;
lwipIfPort1.ipAddr = STATIC_IP_ADDRESS_PORT1;//(0xC0A80063)
lwipIfPort1.netMask = 0xFFFFFF00;
lwipIfPort1.gwAddr = 0xC0A80001;
lwipIfPort1.ipMode = IPADDR_USE_STATIC;
and set MAC : 01-e4-2a-85-03-7d
then, i used the default configuration to build enetEcho project, linker is enetEcho.cmd, and compiler is TI v5.0.4 [TI V15.12.3.LTS].
after building this project, rename _t.bin to app and copy app、MLO to SD card. When booting from SD card, the Console display:
StarterWare AM335x Boot Loader
Copying application image from MMC/SD card to RAM
Jumping to StarterWare Application...
StarterWare Ethernet Echo Application.
Acquiring IP Address for Port 1...
PHY found at address 4 for Port 1 of Instance 0.
Performing Auto-Negotiation...
Auto-Negotiation Successful.
Transfer Mode : 1000 Mbps.
PHY link verified for Port 1 of Instance 0.
Port 1 IP Address Assigned: 192.168.0.99
But when i ping my board from PC(PC's IP is 192.168.0.11, and PC is connected with board using an ethernet cable), there is no response!
I use Wireshark and find that my board responded the ARP request, but the ARP response has problem with ETHERNET FRAME CHECK SEQUENCE INCORRECT!
Why this happend?Thanks!