Forum Discussion

DamBam's avatar
DamBam
Icon for New Contributor rankNew Contributor
3 years ago
Solved

quartus_cpf - converting sof file to encrypted pof (with ekp included) for Max 10 FPGA

Hello everyone, I am trying to convert sof file to encrypted pof with ekp inside it using quartus_cpf command. Unfortunately after invoking the following: quartus_cpf -c -k epof_key.key:key_0 ...
  • FakhrulA_altera's avatar
    3 years ago

    Hi DamBam,


    There's a workaround provided by the engineering as below:

    There are 2 ways to do this in command line:

    1) Program the EKP and POF files separately.

    Example:

    quartus_pgm -c 1 -m jtag -o "p;test.ekp"

    quartus_pgm -c 1 -m jtag -o "p;test.pof"


    The outcome is the same as combine the EKP into the POF and program altogether.

    For POF file, you need to ensure the "Allow encrypted POF only" option is disabled (default is disabled if you didn't make any change) when you generate using quartus_cpf.

    For details, you can refer to https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/max-10/ug_m10_config.pdf


    2) Save your GUI settings into a CDF file and play the CDF file in quartus_pgm

    Steps:

    a) Setup your settings in the GUI


    b) Click File->Save As... and save the settings into a CDF file (test.cdf).


    c) Play the CDF file in quartus_pgm:

    quartus_pgm -c 1 test.cdf


    Hope this works.


    Regards,

    Fakhrul