
KSZ9031RNX-EVAL Board User’s Guide
Micrel, Inc.
August 17, 2012
Rev.
1.1
20/22
After pressing the
<ENTER>
key at the previous screen, the program will automatically detect
and set the KSZ9031RNX PHY address for the programming session, and then display the
command line prompt, “->”, as shown in the following figure.
mdioConfig.exe
Program – Command Line Prompt
6.1.2
Read/Write access to KSZ9031RNX PHY registers
Direct register read and direct register write can be used to check and/or update individual PHY
register setting, as needed. The following are the commands and parameters:
Direct Register Read
r
[register address (hex)]
r 0
// Read PHY register 0h
r 1
// Read PHY register 1h
r 2
// Read PHY register 2h
r 3
// Read PHY register 3h
Direct Register Write
w
[register address (hex)] [written value (hex)]
w 0 8000
// Write PHY register 0h with value 0x8000h
w 0 2500
// Write PHY register 0h with value 0x2500h