Sending Commands
The
Transceiver Debugger's Terminal area lets you interact with
the PCIe Controller's registers by sending commands through the APB interface.
- Single Command—Choose this option to send one command. Enter the command in the Command box and click Send.
- Mass Read/Write—To send multiple commands choose this option.
- Click the input file button next to the Input
File box and browse to select a text file of
commands. The file should be a text file (.txt)
with one command per line. for example:
write:0x204048,0x00000000 write:0x2041A8,0x00000A11 write:0x2041A8,0x00000A01 read:0x20F000,0x0000A022 read:0x2041AB,0x00000000 - Optionally, you can write the output to a file as well as displaying
it in the Console.
- Turn on Output File.
- Click the output file button and browse to a directory in which to save the output.
- Click the play button to start running the commands.
- Click the stop button to stop running commands.
- Click the input file button next to the Input
File box and browse to select a text file of
commands. The file should be a text file (.txt)
with one command per line. for example:
The following table outlines some of the commands you can use in the Efinity Transceiver Debugger tool.
| Command | Example | Comment |
|---|---|---|
| write:<24-bit hex register>,<32-bit hex value> | write:0x2041A0,0x00003800 | - |
| read:<24-bit hex register> | read:0x2041A0 | Return value is 32 bits. |
| sleep:<seconds> | sleep:5 | Only available in Mass Mode. |
For a list of transceiver registers, see:
- Titanium PCIe® Controller Registers User Guide
- Titanium Ethernet 10GBase-KR User Guide ("Register Map")
- Titanium SGMII 1G and 2.5G User Guide ("Register Map")
- Titanium PMA Direct User Guide ("Register Map")