Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20693 Discussions

How to write an EPCQ without using the FPGA as a bridge

Altera_Forum
Honored Contributor II
1,076 Views

I plan to use the design security feature of Cyclone V. According to AN-556, after the key withtamper-protection bit set is programmed into the FPGA, external JTAG port can only accept mandetory commands. I think this means that I am not able to program the FPGA using JTAG any more. This is fine for security.  

 

But what if I want to change or update my software (configuration data) now? The Serial FlashLoader supported by Quartus II will not work any more now since the JTAG port is blocked. However, there must be a method to re-write the EPCQ chip where the configuration data are stored. Does anyone know how to write EPCQ in this situation? 

 

Thanks a lot for any information!
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
333 Views

You might be able to make an encrypted version of the configuration that programs the EPCQ. It would need to use the same key that is programmed into the FPGA. I've never used the encryption feature, so I don't know any details.

0 Kudos
Altera_Forum
Honored Contributor II
333 Views

 

--- Quote Start ---  

You might be able to make an encrypted version of the configuration that programs the EPCQ. It would need to use the same key that is programmed into the FPGA. I've never used the encryption feature, so I don't know any details. 

--- Quote End ---  

 

 

thank you for the tip.  

 

Based on your idea, I think I could do like this: I make a second board with the FPGA not tamper-protected. This can be called as a "programmer". Using it I can write a new EPCQ with encrypted configuration data. Then I replace the old EPCQ on the target board with the new one. To make the work easier, the programmer could use a chip socket for EPCQ.  

 

This approach is more complex than on-line programming, but it is any way a good solution.
0 Kudos
Reply