Forum Discussion
Cyclon 5 tampering protection bit
If one for example missed the `-eDO_KEY_SECURE` flag and just programmed the key.
Is it possible to just program the tampering bit afterwards?
- Farabi_Altera1 month ago
Regular Contributor
Hello,
Do you have further question?
regards,
Farabi - Farabi_Altera1 month ago
Regular Contributor
Yes, you can program the tamper protection bit separately after the key has already been programmed. The `-eDO_KEY_SECURE` switch is what triggers tamper-bit programming during a `.jam` file execution, so if you omitted it the first time, you can re-run the programming command with that switch added.
When programming the design security key with a `.jam` file that has been converted from an Encryption Key Programming file (`.ekp`) that contains the tamper-protection bit programming instruction, add the switch `-eDO_KEY_SECURE` to your programming command if programming of the tamper-protection bit is desired. How do I enable programming of the tamper-protection bit when programming with a .jam file which has been converted from an an .ekp file that contains the tamper-protection bit programming instruction?
So the resolution is straightforward: add the switch `-eDO_KEY_SECURE` to your programming command if programming of the tamper-protection bit is desired.