I think I finally figured out how to get Python to find the API (by setting the PYTHONPATH system variable and installing the dynamic library), but now I get the error below when I try to run the DESTester.py script.
$ python DESTester.py
------ DES Encrypt/Decrypt Tester in Python ------
Device firmware version: 3.1
Device serial number: 1111000172
Device ID: Opal Kelly XEM6001
FPGA configuration failed.
Usage: DESTester [d|e] key infile outfile
[d|e] - d to decrypt the input file. e to encrypt it.
key - 64-bit hexadecimal string used for the key.
infile - an input file to encrypt/decrypt.
outfile - destination output file.
Traceback (most recent call last):
File “DESTester.py”, line 125, in
strkey = sys.argv
IndexError: list index out of range
This is my first attempt with an OK board. It looks like the hardware is recognized but FPGA configuration fails. I checked to see that the switch on the board was set to “USB configuration”…not sure what to try next…