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.

DP83TG720S-Q1: Regarding the issue of DP83TG720S register read/write

Part Number: DP83TG720S-Q1

hi: 

I have a problem. When reading and writing to the extended registers, I found that 0xd cannot be written to 0x1f, which prevents me from inputting other register addresses for reading and writing.

as follows

root@j721e-evm:/home/weston# phytool write eht2/0x4/0xd/0x1f
root@j721e-evm:/home/weston#
root@j721e-evm:/home/weston# phytool write eht2/0x4/0xe/0x608
root@j721e-evm:/home/weston#
root@j721e-evm:/home/weston# phytool write eht2/0x4/0xd/0x401f
root@j721e-evm:/home/weston#
root@j721e-evm:/home/weston#
root@j721e-evm:/home/weston# phytool read eth2/0x4/0xe
0x027b
root@j721e-evm:/home/weston#
root@j721e-evm:/home/weston#
root@j721e-evm:/home/weston# phytool write eht2/0x4/0xd/0x1f
root@j721e-evm:/home/weston#
root@j721e-evm:/home/weston# phytool write eht2/0x4/0xe/0x60a
root@j721e-evm:/home/weston#
root@j721e-evm:/home/weston# phytool write eht2/0x4/0xd/0x401f
root@j721e-evm:/home/weston#
root@j721e-evm:/home/weston#
root@j721e-evm:/home/weston# phytool read eth2/0x4/0xe
0x027b

and register 0xd  can not write 0x1f

as follows

root@j721e-evm:/home/weston# phytool write eht2/0x4/0xd/0x1f
root@j721e-evm:/home/weston#
root@j721e-evm:/home/weston# phytool read eth2/0x4/0xd
0x401f

 

Can you tell me what the reason is and what the problem is with the reading and writing method?

 

  • Hi Fanliang,

    In the script you shared, what value are you trying to write to the registers 0x608 and 0x60A? It currently looks like you are reading from both addresses. Please try the sequences listed in this FAQ about extended register writes. If you follow the sequence, are you able to successfully read/write with extended registers?

    Best regards,

    Greg

  • hi:

       I was reading the extended registers in this exact sequence, but found that only one register can be read, and the next register just wouldn't read out—it always returns the value of the first register; 

  • Hi Fanliang,

    To clarify, are you seeing this pattern in all extended register reads, or just from 0x608 and 0x60A? Also, have you been able to successfully write to extended registers - for example, if you write to 0x608, are you able to read back that new value? 

    Best regards,

    Greg