To use the command line interface to program a CFI flash device via the Parallel Flash Loader (PFL) megafunction in a MAX® II or MAX® V device, follow the instructions below :
1. In Quartus® II Programmer, add the MAX device and CFI flash device you wish to program and then assign the PFL .pof and CFI flash .pof accordingly.
2. Save this as a Chain Description File (.cdf) file
3. In command line, use the following command to program the devices :
quartus_pgm -c <cable index> filename.cdf
To find out the cable index for your download cable, execute : jtagconfig -n