Forum Discussion

rt52's avatar
rt52
Icon for Occasional Contributor rankOccasional Contributor
3 years ago

MAX10 RSU with encrypted .pof

I have a design that relies on RSU for remote updates. I currently encrypt the .pof file for JTAG programming. When generating that encrypted .pof file, I also choose to generate the .rpd files that go into CFM1. When downloading the .rpd files with the encrypted .pof and .ekp programmed via JTAG, the RSU is unsuccessful. I see a revert to application image 0, which my design will only go to if there is a problem with application image 1. The encrypted .pof file does not seem to like downloading a n.rpd file.

Is there any way to get an .rpd file to download with an encrypted .pof

24 Replies

  • FakhrulA_altera's avatar
    FakhrulA_altera
    Icon for Regular Contributor rankRegular Contributor

    Hi rt52,


    I tried to do some research on this issue. I found a record that previously there was an issue with MAX 10 having a failure on performing RSU with encrypted POF. The engineering was able to come up with a workaround by using JTAG to program encrypted .jic to QSPI instead. You may refer to the guideline under 1.7.2. Programming the QSPI sub-topic in the AN 741: Remote System Upgrade for MAX 10 FPGA Devices over UART with the Nios II Processor user guide. I'm afraid this is the only possible workaround provided by the engineering team since MAX 10 is quite an old device. Hope it works.


    Regards,

    Fakhrul


  • FakhrulA_altera's avatar
    FakhrulA_altera
    Icon for Regular Contributor rankRegular Contributor

    Hi rt52,


    I wish to follow up with you about this case.

    Do you still have further inquiries on this issue?

    Else I would like to have your permission to close this forum ticket


    Regards,

    Fakhrul


    • rt52's avatar
      rt52
      Icon for Occasional Contributor rankOccasional Contributor

      Thanks for looking into this. Unfortunately this design does not have a QSPI chip and only uses the internal flash of the MAX10, is it possible to use the .jic format to program to the internal flash?

  • FakhrulA_altera's avatar
    FakhrulA_altera
    Icon for Regular Contributor rankRegular Contributor

    Hi rt52,

    My apologies I mixed up my explanation earlier, the above mentioned workaround was meant for the stratix 10 device, not Max 10. Also. MAX10, it actually has a built-in configuration memory and doesn't support JIC. What I can only suggest for now, try to check the “Enable real-time ISP” option in the programmer GUI. There's a case whereby the customer was able to perform configuration on an encrypted file (not RSU). Though, it is because when you enable this real-time ISP, it is a slow mode and normally user will not have this issue if program without speedmode (real-time ISP enabled) but the programming time is longer.

    Regards,

    Fakhrul

    • rt52's avatar
      rt52
      Icon for Occasional Contributor rankOccasional Contributor

      I do not see how this will help. My issue is not programming an encrypted .pof with jtag, that works just fine without checking that box. Is there anything else to try when downloading an encrypted .rpd file? This device will have jtag disabled when shipped so having an update over jtag is not an option.

  • FakhrulA_altera's avatar
    FakhrulA_altera
    Icon for Regular Contributor rankRegular Contributor

    Hi rt52,


    There was a successful case whereby the encrypted configuration would succeed only by using .jbc file instead of .pof and also enabling the real-time ISP at the same time as mentioned above. But, this customer was using a jam player and it not involving RSU. You may give it a try. I hope it would work. Sorry for the inconvenience.


    Regards,

    Fakhrul


  • FakhrulA_altera's avatar
    FakhrulA_altera
    Icon for Regular Contributor rankRegular Contributor

    Hi rt52,


    I wish to follow up with you on this case. Do you still have further inquiries on this issue? Please feel free to let me know if there is any concern so that we could further assist you. Otherwise, this thread will be idling and marked as inactive, thus it will be transitioned to community support because there is no update received from you in a while. As for the workaround regarding this issue, my apologies, the above-mentioned steps are the only workaround provided by the engineering team.


    Regards,

    Fakhrul