大家好。 新做的板子,pxa270,dm9000a,接在nCS1上,地址 0x04000000; 但现在使用tftp u-test# tftp a0008000 zImage dm9000 i/o: 0x4000000, id: 0x90000a46 DM9000: running in 16 bit mode MAC: 08:00:3e:26:0a:5b TFTP from server 192.168.1.2; our IP address is 192.168.1.111 Filename 'zImage'. Load address: 0xa0008000 Loading: T #DM9000 error: status check fail: 0x2
用wireshark抓包,看到只能收到前三个数据包,
eth_send: 00: 00 1a 92 c9 b4 df 00 c0 eth_send: 08: 26 28 96 30 08 00 45 00 eth_send: 10: 00 20 00 04 40 00 ff 11 eth_send: 18: f8 06 c0 a8 01 6f c0 a8 eth_send: 20: 01 02 0b de 07 17 00 0c eth_send: 28: 00 00 00 04 00 03 transmit done
DM9000 error: status check fail: 0x2 DM9000 error: status check fail: 0x2 T eth_send: length: 46 以后就是 板子回复PC acknowledgement,Block:3,第四个数据包就收不到了,虽然上位机一直在发第四个数据包。 我的 CCCR :00000010 turbo mode:208M,sysbus:208M,CLK_MEM:208M ,SDCLK:104M MDCNFG:00400240 MDCNFG:02000bc9 MDREFR:0013e018 MSC0 :7ff926da
并且我也在eth_rx开头加了: temp=DM9000_ior(DM9000_MRRH); temp=DM9000_ior(DM9000_MRRL);
这是什么原因呢?会是硬件原因吗? |