Hi
Thank to answer this question。
There are some problem about the chip P2020,I using 2 ETH PHY in this project,which using in TSEC1 and TSEC3。TSEC1 is no problem and it can ping the computer。But the other one,TSEC3 ,which is unable to ping computer。TSEC1 and TSEC3 using the same PHY and the same schematic。And TSEC3's PHY can recognize the Internet is 100M or 1000M,but can not Ping computer。Thanks!
Thanks!
Please refer to the PORDEVSR value 0x1A000000 to see that:
ECW=0 - eTSEC1 and eTSEC2 Ethernet interfaces operate in reduced pin mode
ECP1=10 - RGMII
ECP2=00 - Reserved
ECP3=00 - Reserved
It is required to check strapping of cfg_tsec3_prtcl[0] (UART_RTS0_B).
You wrote:
> I found that using Jtag to read the register is right,
> but when the VxWorks is working or rebooting,and then read the register is wrong
What is the whole sequence?
1) I.e. when JTAG read is performed?
2) Is any reset applied after that before VxWorks starts?
3) Is the same method used to read the register when VxWorks is running?
Thank you very very very very much.
The second PHY is no Problem。Because of the register was wrong,and I change the register and then soft reset the PHY,after that MAC can receive the data and can ping the computer。
The register as this.Chang this register to 0xce2 is fine。