Forum Discussion
8 Replies
- Altera_Forum
Honored Contributor
See batch files in Terasic examples..
- Altera_Forum
Honored 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
Honored 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
Honored 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
Honored Contributor
Try
Cheers, Alex%QUARTUS_ROOTDIR%\\bin64\\quartus_pgm.exe -m jtag -c USB-Blaster -o pvbi;output_file.jic - Altera_Forum
Honored Contributor
It seems that quartus_pgm command can't run in batch file, however, command quartus_stp can run from batch.
- Altera_Forum
Honored Contributor
Yes Alex,
It works perfectly ! Thank u :) - Altera_Forum
Honored 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 !