SNLA450 July 2024 DP83822H , DP83822HF , DP83822I , DP83822IF , DP83826E , DP83826I , DP83848-EP , DP83848Q-Q1 , DP83867CR , DP83867CS , DP83867E , DP83867IR , DP83867IS , DP83TC812R-Q1 , DP83TC812S-Q1 , DP83TC813R-Q1 , DP83TC813S-Q1 , DP83TC814R-Q1 , DP83TC814S-Q1 , DP83TG720R-Q1 , DP83TG720S-Q1 , DP83TG721R-Q1 , DP83TG721S-Q1
Phytool is a Linux command for MDIO register access, this provides an easy way to read and write registers of a PHY. This tool is already integrated into TI SDK’s but can be downloaded by entering the following sudo apt-get install -y net-tools.
Phytool command:
root@j7-evm:~# phytool read eth1/10/0x0 //Read Register 0x0
0x1140 //Result
root@j7-evm:~# phytool write eth1/10/0x0 0x0140 //Write Reg 0x0 = 0x0140
root@j7-evm:~# phytool read eth1/10/0x0 //Read again to confirm write command
0x0140