Jump to content
  • 0

ERROR: failed to program device with file


DiamondBound

Question

Trying to program a Alpha-Data 9h7 board with FPGA vu37p using commands below. 

%  djtgcfg -d JtagSmt2NC prog -f my.bit  -i 0 --verbose
Programming device. Do not touch your board. This may take a few minutes...
ERROR: failed to program device with file my.bit
Received error: prog failed

After these commands

% djtgcfg enum --verbose
Found 1 device(s)

Device: JtagSmt2NC
    Device Transport Type: 00020001 (USB)
    Product Name:          Digilent JTAG-SMT2NC
    User Name:             JtagSmt2NC
    Serial Number:         210308AC613A

% djtgcfg -d JtagSmt2NC init
Initializing scan chain...
Found Device ID: 14b79093

Found 1 device(s):
    Device 0: UNKNOWN

vivado has no problems configuring the device. 

% uname -a
Linux cob-dk-pcietest 5.4.0-120-generic #136~18.04.1-Ubuntu SMP Fri Jun 10 18:00:44 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
 

Edited by DiamondBound
remove the name of the BIT file changed to my.bit
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

dadutil is used for device discovery and changing device settings
djtgcfg is used for configuring the FPGA on Digilent System boards
dsumecfg is used for writing, erasing, and reading the flash memory on the NetPFGA-SUME board

We(Digilent)  do not provide a general purpose flash programmer. For that you will need to utilize hardware manager in Vivado.

Link to comment
Share on other sites

  • 0

Hello,

It appears that you got your initial post resolved separately by getting the appropriate rules installed for your system.

Regarding your last post, this is correct that the Digilent Adept system does operate as a general purpose flash programmer and that you would need to use Xilinx's system tools (such as the Hardware Device Manager in Vivado).

Thanks,
JColvin

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...