Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17241 Discussions

Problem with quartus_pgm and CDF files

Altera_Forum
Honored Contributor II
3,929 Views

I am running Quartus Programmer v13.0sp1 under Win 7 64bit. 

 

I am trying to program a device using the quartus_pgm command line tool. 

 

I enter the following DOS commands: 

 

cd c:\Altera\13.0sp1\qprogrammer\bin 

quartus_pgm -c 1 DevProgrammer.cdf 

 

I get the following error messages: 

 

Error (210009): Device lc4512v_xxf256 is not supported 

Error (23028): Unknown argument "DevProgrammer.cdf". Refer to --help for legal arguments. 

 

(DevProgrammer.cdf is located in the bin directory). 

 

Thanks, 

James.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
2,784 Views

Hi James, 

 

got this problem a few times, too. 

 

You have to look up the cable. use "quartus_pgm.exe --list" to view connected cables. This should list something like USB-Blaster [USB-2]. You should also provide a mode how the programmer shall work. 

 

Just put everything in a batch file, e.g. test.bat. 

 

Open it with a text editor and paste the following line: 

 

C:\altera\13.0sp1\quartus\bin\quartus_pgm.exe -c USB-Blaster[USB-2] -m jtag test.cdf 

 

Now adjust the path and cable name and make sure the cdf file is located where the batch file is. 

 

Since this is my first Project using the programming tool I keep everything in C. 

So the Paths would be C:\test.bat and C:\test.cdf - in my case. 

 

Have fun
0 Kudos
Reply