Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

quartus_jli.exe error

IoanFlorucza
Beginner
2,624 Views

Hi,
In our Automated Test System we are using the quartus_jli.exe cli application and the Altera Blaster download cable to program the the FPGA and flash and DSP of the board:
We are using a *.jam file to program the board.
quartus_jli.exe -aprogram -c1 Beta2_00wEcodST.jam
But we have the the following error of the console:
Device #1 is EPCS128
Expect device #1 to have 0 ASC devices of Unrecognized device
Exit code = 6... Unrecognized device
Error: Quartus Prime Jam Tools was unsuccessful. 0 errors, 0 warnings
Error: Peak virtual memory: 4302 megabytes
Error: Processing ended: Tue Jun 08 16:16:45 2021
Error: Elapsed time: 00:00:01
Error: Total CPU time (on all processors): 00:00:00

I mention that if I use the Quartus Prime Programmer GUI application, and using the same setup / configuration I abled to program the board successfully:
Info (210117): Created JAM or JBC file for the specified chain:
Device 1 (EP3C40; C:/1/output_file.jic)
Device 2 (TMS320C6748; <bypass>)
Info (209060): Started Programmer operation at Tue Jun 08 16:13:08 2021
Info (209016): Configuring device index 1
Info (209017): Device 1 contains JTAG ID code 0x020F40DD
Info (209007): Configuration succeeded -- 1 device(s) configured
Info (209018): Device 1 silicon ID is 0x18
Info (209044): Erasing ASP configuration device(s)
Info (209023): Programming device(s)
Info (209021): Performing CRC verification on device(s)
Info (209011): Successfully performed operation(s)
Info (209061): Ended Programmer operation at Tue Jun 08 16:13:27 2021
Info (210117): Created JAM or JBC file for the specified chain:
Device 1 (EP3C40; C:/1/output_file.jic)
Device 2 (TMS320C6748; <bypass>)
Info (209060): Started Programmer operation at Tue Jun 08 16:17:37 2021
Info (209016): Configuring device index 1
Info (209017): Device 1 contains JTAG ID code 0x020F40DD
Info (209007): Configuration succeeded -- 1 device(s) configured
Info (209018): Device 1 silicon ID is 0x18
Info (209044): Erasing ASP configuration device(s)
Info (209023): Programming device(s)
Info (209021): Performing CRC verification on device(s)
Info (209011): Successfully performed operation(s)
Info (209061): Ended Programmer operation at Tue Jun 08 16:17:58 2021


But when from the GUi application the JAM file is created, and then using the quartus_jli.exe CLI application i have these errors with the same JAM file.

So which with the CLI app i get this error and with the GUI app no errors:

Device #1 is EPCS128
Expect device #1 to have 0 ASC devices of Unrecognized device
Exit code = 6... Unrecognized device


Please advice.

0 Kudos
1 Reply
JohnT_Intel
Employee
2,604 Views

Hi,


Before you program the flash, you need to configure the FPGA.


In order to program the FPGA, you need to performed "quartus_jli.exe -aconfigure -c1 Beta2_00wEcodST.jam" then only you performed "quartus_jli.exe -aprogram -c1 Beta2_00wEcodST.jam"


You may refer to the AN425 (https://www.intel.com/content/www/us/en/programmable/documentation/sam1403762199737.html). Below is the Note that I copy from the document


Note: To program serial configuration devices with the Jam STAPL Player, you must first configure the FPGA with the Serial FlashLoader image. The following commands are required:

jam -aconfigure <filename>.jam

jam -aprogram <filename>.jam


0 Kudos
Reply