KSZ9021RL-EVAL Board User’s Guide
Micrel, Inc.
March 20, 2009
Rev.
1.0
22/24
6.1.2
Creating and Loading Script Files
The PHY configuration script file for the
MicrelMDIOConfigWinApp.exe
program is a text file
with the *.mdo file name extension. A sample file, pre-config.mdo, is loaded in the program folder
during the software installation. The sample file contains the following script:
#command syntax: [w|iw] [register address (hex)] [write value (hex)]
#w 0x0 0x1140
#iw 0x104 0xc0c0
#iw 0x105 0x7777
Where the parameters are defined as follows:
#
: # symbol precedes line for comment or removal
w
: Direct register write for KSZ9021RL’s IEEE Defined and
Vendor Specific Registers
iw
: Indirect register write for KSZ9021RL’s Extended Registers.\
The PHY configuration script file for the
MicrelMDIOConfigWinApp.exe
program is loaded at the
configuration menu during program start-up. Use the “
Pre-config file”
button to load the *.mdo
PHY configuration script file, as shown in the following figure.
Figure 6. MicrelMDIOConfigWinApp Program – Pre-config Script File Loading