-
Notifications
You must be signed in to change notification settings - Fork 1
Legacy:Tests
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.
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
This command reads the clock's status (whether it is active; current values of the registers)
Starts CLOCK2 at the given frequency
Stops CLOCK2
This command gets the power limit, as well as the correction values (the latter as a hex dump)
Setting and getting the VCC pin
Setting and getting the RST pin
Performs a JTAG scan and outputs the devices' identifiers
Configures the FPGA. format
can be svf
, xsvf
, bit
, jed
. Path must not contain spaces, or must be enclosed in quote marks.
Valid:
/some/path.svf
'file with spaces.bit'
"/media/Peter's Stuff/file.xsvf"
Invalid:
file\ with\ spaces.bit
-
/this won't/"work"
(a path containing'
,"
AND
Bye