How can I add an encrypted image to flash? Topic is solved

If you have a simple question and just want an answer.
User avatar
sethu_jangala
XCore Expert
Posts: 589
Joined: Wed Feb 29, 2012 10:03 am

How can I add an encrypted image to flash?

Post by sethu_jangala »



View Solution
User avatar
sethu_jangala
XCore Expert
Posts: 589
Joined: Wed Feb 29, 2012 10:03 am

Post by sethu_jangala »

Use the xburn command to generate two 128-bit keys. These keys should be programmed in OTP (one-time programmable) memory of the xCORE device. These keys should also be used to encrypt the flash. The following commands can be used to generate an encrypted flash image. The following commands can be used to generate encrypted flash. xburn –genkey keyfile (XBURN writes two random 128-bit keys to keyfile) xburn –id ID –lock keyfile –target-file target.xn –enable-jtag –disable-master-lock xflash –id ID bin.xe –key keyfile Further details on encrypted images are available on the Safeguard IP and Device Authenticity page.