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.
      1. Turn on Output File.
      2. 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.

The following table outlines some of the commands you can use in the Efinity Transceiver Debugger tool.

Table 1. Transceiver Debugger Commands
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.