Forum Discussion

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

Problem with quartus_pgm and CDF files

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.

1 Reply

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

    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