FPGA non-volatile key and tamper bit protection
Hi,
To implement security feature on Cyclone V, I am following this application note :
Everything worked fine so far, then I flashed a .ekp file including a non-volatile encryption key and activation of tamper bit protection. And then I lost power supply.
When I restarted Cyclone V, I found out that at power-up, JTAG is in secure mode due to previous tamper bit activation. So I can't reprogram it through external JTAG interface.
The FPGA is connected to a EPCQ-A on my board that I can program through AS port. However, my understanding is that FPGA can now be configured only by an encrypted file. Because I am not able to store an encryption key in the FPGA (due to JTAG secure mode), I can't decrypt the file I flash in EPCQ.
It seems that I am stuck in a vicious circle. Is there a way to flash a non-volatile/volatile key to solve this ? A way to disable JTAG secure mode ? Should I buy a new SoC ?
Thanks for helping
Hi,
Apologies for the delay in response as I was checking this with our internal team.
The conclusion after discussed with engineering is when the tamper resistance bit is set, that means the device will accept only encrypted POF. Therefore, you can’t reprogram the key.
Since they key is lost and unable to reprogram the key, the device is unable to program.
Regards,
Aiman