Skip to content

Legacy:Tests

Bence Cs edited this page Oct 27, 2018 · 4 revisions

Legacy driver - logsys-test binary

This app is a command-line interactive interface to test the driver and the device. You can issue commands on STDIN and the response will be written to STDOUT/STDERR.

status

This command reads the device status and outputs in a table-like structure. The first 4 cells are the measured voltages on different pins in ###.## format

The fifth is the current flowing out on VCC

The sixth consists of 3 flags: * (VCC on), + (overcurrent detected) and - (reverse current detected). The column has a . if that flag is TRUE and is left blank otherwise

The seventh similarly has all the resources-in-use flags: JTAG, CLK1, CLK2, RST, Serial IO, EP1&EP2, EP3&EP4

clk status

This command reads the clock's status (whether it is active; current values of the registers)

pwrlim get

This command gets the power limit, as well as the correction values (the latter as a hex dump)

vcc on and vcc off

Setting the VCC pin

jtag scan

Performs a JTAG scan and outputs the devices' identifiers

quit

Bye

Clone this wiki locally