Forum Discussion

AhmedMaashri's avatar
AhmedMaashri
Icon for New Contributor rankNew Contributor
2 years ago

Unable to program the FPGA with .ekp file

I am trying to encrypt the bitstream using the functionality provided by Quartus Prime software version (18.1) for the FPGA platform (DE0-Nano-SoC) using the non-volatile key storage in FPGA.

Below are the steps done:

1. The sof file was encrypted and converted to .jic file. (SUCCESS)

2. An .ekp file containing the key was generated. (SUCCESS)

3. The .jic file was then programmed in EPCQ. (SUCCESS)

4. The .ekp should be programmed in the non-volatile key storage. However, when attempting to write the file to the storage, Quartus shows an error indicating that the "Current hardware doesn't support security key programming"

I have tried reverting to Quartus 13.1 (as suggested by other posts) and that didn't work. I tried different machines, and different DE0-Nano-SoC boards, and that also didn't work.

Any hints?

9 Replies

  • WZ2's avatar
    WZ2
    Icon for Frequent Contributor rankFrequent Contributor

    Hi there

    Since DE0-Nano-SoC is not our official product, we don't know what settings they have made for the device, so I can only give some suggestions from a general perspective:

    In order to better answer your question, please let me clarify first, do you want to program a volatile or non-volatile key in the device?

    Best regards,

    WZ


    • AhmedMaashri's avatar
      AhmedMaashri
      Icon for New Contributor rankNew Contributor

      Hello WZ, thanks for your reply.

      I want to program a non-volatile key in the device.

      Best regards,

      Ahmed

  • WZ2's avatar
    WZ2
    Icon for Frequent Contributor rankFrequent Contributor

    Hi there,

    For non-volatile key, there is no extra requirement on board. Of course this key is irreversible. Could u give me the error log in quartus?

    Best regards,

    WZ


    • AhmedMaashri's avatar
      AhmedMaashri
      Icon for New Contributor rankNew Contributor

      Thank you for your help. This is the error message: "Current hardware doesn't support security key programming".

      Best regards,

      Ahmed

  • WZ2's avatar
    WZ2
    Icon for Frequent Contributor rankFrequent Contributor

    Hi Ahmed,

    Sorry I cannot find the related log about this error, could u give me the pic of this error in quartus.

    Best regards,

    WZ


  • Thank you for your reply WZ, and sorry for taking long to reply. I was traveling.

    The screenshot of the error is shown below.

    Best regards,

  • efkef's avatar
    efkef
    Icon for New Contributor rankNew Contributor

    Hi AhmedMaashri,

    Have you found a solution? I have the same issues...

    Thanks.

    • AhmedMaashri's avatar
      AhmedMaashri
      Icon for New Contributor rankNew Contributor

      Unfortunately, there is no solution so far. It seems to be a bug in the Qaurtus toolchain. Hopefully, Intel will fix it soon.

      • efkef's avatar
        efkef
        Icon for New Contributor rankNew Contributor

        UPDATE:

        I succeeded to program the key with the external JTAG interface and USB Blaster II.