Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

Programm FPGA without running the Programmer

Hi everyone,

I am working on a project and I have to programm the FPGA by USB-Blaster without running Quartus Programmer..

Have you a TCL command or any other idea ? :oops:

Thanks in advance

8 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello flz47655,

    Thank you for your reactivity but I didn't find any example which deals with batch files..

    May I ask you the link please ?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello,

    For loading a bit stream into FPGA without running Quartus Programmer, I use a batch file where I had this command : %QUARTUS_ROOTDIR%\\bin64\\quartus_pgm.exe -m jtag -c USB-Blaster[USB-0] -o "p;output_file.sof"

    My issue is that my bistream is a jic file so I replace the sof by the jic one but it does not work... I will be glad if someone shares his knowledge :)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    I have to programm the FPGA by USB-Blaster without running Quartus Programmer..

    --- Quote End ---

    I assume you mean the Quartus Programmer GUI.

    You can run "quartus_pgm" from the command prompt. It runs a Quartus Programmer, but not the GUI. "quartus_pgm -h" should get you started.

    You can't use the USB-Blaster without either the command line programmer or GUI. So, you'll need the Quartus software installed.

    Cheers,

    Alex
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Try

    %QUARTUS_ROOTDIR%\\bin64\\quartus_pgm.exe -m jtag -c USB-Blaster -o pvbi;output_file.jic

    Cheers,

    Alex
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    It seems that quartus_pgm command can't run in batch file, however, command quartus_stp can run from batch.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    It seems that quartus_pgm command can't run in batch file, however, command quartus_stp can run from batch.

    --- Quote End ---

    quartus_pgm.exe can run in batch file !