KSZ9021RL-EVAL Board User’s Guide
Micrel, Inc.
March 20, 2009
Rev.
1.0
23/24
6.2 Windows
Command
Prompt – Command Line program
The
mdioConfig.exe
program is the command line interface program.
6.2.1
Running the program
The
mdioConfig.exe
program resides in the software installation folder created during the
software installation (c:\MicrelMDIOConfig\ is the default installation folder). The program reads in
the PHY address from the
deviceinfo.txt
file every time it is executed.
The
deviceinfo.txt
file is loaded in the program folder during the software installation, and has
the PHY address set to “1”, as the default. If the KSZ9021RL-EVAL board is set to a different
PHY address, modify the hex PHY address value accordingly for the following line in the
deviceinfo.txt
file.
address=0x0001
The
mdioConfig.exe
program is executed from a Windows Command Prompt. Open a Windows
Command Prompt (select the Command Prompt under Windows Start Menu -> Programs ->
Accessories) and navigate to the
mdioConfig.exe
program directory (c:\MicrelMDIOConfig\ is the
program directory for the default installation folder), as shown in the following figure.
Figure 7. mdioConfig Program – Windows Command Prompt
The
mdioConfig.exe
program is started by typing the
mdioConfig.exe
program name at the
Windows Command Prompt and pressing the
ENTER
key. Next, the program displays instruction
for direct register read/write, indirect register read/write and to exit the program. Follow the
instruction, as shown in the following figure, for the desired action.
Figure 8. mdioConfig Program – in operation