Jump to content
  • 0

Are there command line options for Adept software?


YanivS

Question

Recently we started using a Genesys2 board to emulate our SoC design. To program and control the board, we are using the Adept utility on a Windows 10 PC. This utility allows us to download the bitstream on the FPGA via JTAG, followed by connecting to the chip via an I2C interface.

The "software part" (including downloading the firmware) is done using python scripts from the command line. But it seems like we need to re-program the FPGA every time we want to download a new FW version, or just restart the program.

For automation purposes, I am looking for a way to program the FPGA bitstream from command line as well. Looking at the provided user manual, I could not find command line options for the Adept GUI.

So, is it possible to configure and program the FPGA from the PC command line using the Adept program (or any other method)?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Hi @YanivS

Under Linux you can use the djtgcfg command line app from adept.utilities:
https://reference.digilentinc.com/reference/software/adept/start

It is not published for Windows but here you have win build of it: djtgcfg.exe  

Use like: djtgcfg.exe prog -d Genesys2 -i 0 -f test.bit

 

Usage: djtgcfg.exe [-help] [-version] command [options]

  Commands:
    enum                    enumerate (discover and list) Digilent devices
    init                    initialize JTAG scan chain and list target devices
    prog                    program target device in JTAG scan chain
    erase                   erase target device in JTAG scan chain
    loop                    loop IDCODE of target device in JTAG scan chain

  Options:
    -c, -count              number of iterations for IDCODE loop
    -d                      device user name or alias
    -f, -file               programming/verification file
    -i, -index              scan chain index of target JTAG device
    -?, -help               print usage, supported arguments, and options
    -v, -version            print program version
    -verbose                display more detailed error messages

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...