User`s guide

L1 Controller Commands
007-3938-003 91
Use test i2c <passes> to test the I
2
C bus as many passes as you enter for the
<passes> variable.
Use test ioexp set <index> <value> to set a value for an I/O expander. The
variable <index> is an I
2
C bus address and the variable <value> is the value for the
I/O expander.
Use test ioexp get <index> to read a value from an I/O expander. The variable
<index> is an I
2
C bus address.
Use test ioexp get all to read the values from all of the I/O expanders.
Use test intr to view the I
2
C bus interrupt counts. Example 3-65 shows sample
output.
Use test display to reset the L1 controller liquid crystal display (LCD).
Use test exception <mem|stack|wdog|fatal> to test the memory fault
handling, stack corruption error handling, software watchdog reset, or fatal_error()
call.
Example 3-65 test intr Command Output
001r19-L1>test intr
I2C interrupts, High: 25 Low: 406
DS1780 0, 1: 0 (0x00) 2: 0 (0x00)
IOExp 0: 197
IOExp 1: 0
IOExp 2: 0
IOExp 3: 0
IOExp 4: 137
IOExp 5: 0
IOExp 6: 11
IOExp 7: 0
Used on all bricks.
uart
The following uart command set displays the status of the following UARTs (universal
asynchronous receivers/transmitters): CTI, CTC, SMP, and Junkbus. This command also
enables you to reset the UART of the Junkbus ASIC.