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:有关 DP83TG720S 寄存器读取/写入问题的说明

Guru**** 2668255 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/interface-group/interface/f/interface-forum/1593534/dp83tg720s-q1-regarding-the-issue-of-dp83tg720s-register-read-write

器件型号: DP83TG720S-Q1

您好:  

我有问题。 在对扩展寄存器进行读取和写入时、我发现 0xd 不能写入 0x1f、这阻止了我输入其他寄存器地址以进行读取和写入。

如下所示

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

和寄存器 0xd 不能写入 0x1f

如下所示

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?

 

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Fanliang、

    在您共享的脚本中、您尝试写入寄存器 0x608 和 0x60A 的值是多少? 您目前似乎正在从两个地址读取数据。 请尝试此 常见问题解答中列出的 有关扩展寄存器写入的序列。 如果您遵循此序列、您是否能够 使用扩展寄存器成功读取/写入?

    此致、

    GREG

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好:

      我按这个精确顺序读取扩展寄存器、但发现只能读取一个寄存器、而下一个寄存器只会读取、它总是返回第一个寄存器;的值  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Fanliang、

    为了进行澄清、 您是否在所有扩展寄存器读取中看到了这个模式、或者只是从 0x608 和 0x60A 看到了这个模式? 此外,您是否能够成功写入扩展的寄存器 — 例如,如果写入 0x608、您是否能够读回该新值?  

    此致、

    GREG