IMXRT1052 XIP Encryption Issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

IMXRT1052 XIP Encryption Issue

跳至解决方案
829 次查看
acallamp
Contributor III

May I ask the expert: RT1052+XIP encryption method? If I want to use the UID of the chip as the key without burning the fuse, which solution should I choose to encrypt and generate the image? Because I am worried that after burning the fuse, the chip cannot be reused. May I ask if there are any good methods for encryption. It is also beneficial for the factory to facilitate mass production.

0 项奖励
回复
1 解答
805 次查看
marek-trmac
NXP Employee
NXP Employee

Hi,

"Encrypted mode with UID" => "BEE with OTPMK". The mode is available only for signed images, so it will require to burn fuses for signing.

You can always review, which fuses will be burnt in:

1) OTP Configuration dialog (use filter "Required")

2) Prior the write script is executed, the GUI tool first check the fuses in the processor and then displays all irreversible changes.

After the fuses burnt, the chip still can be used with the same keys. Fuse bit burnt to 1 cannot be reverted to 0 anymore.

> May I ask if there are any good methods for encryption
You need to decide, whether you need same flash content for all products. If yes, you need same key for all products and you must use user key. Using UID/OTPMK means each product uses different key, so flash content is different.

 

 

Regards,
Marek


NOTE: If you find the answer useful, kindly click on [ACCEPT AS SOLUTION] button

在原帖中查看解决方案

2 回复数
806 次查看
marek-trmac
NXP Employee
NXP Employee

Hi,

"Encrypted mode with UID" => "BEE with OTPMK". The mode is available only for signed images, so it will require to burn fuses for signing.

You can always review, which fuses will be burnt in:

1) OTP Configuration dialog (use filter "Required")

2) Prior the write script is executed, the GUI tool first check the fuses in the processor and then displays all irreversible changes.

After the fuses burnt, the chip still can be used with the same keys. Fuse bit burnt to 1 cannot be reverted to 0 anymore.

> May I ask if there are any good methods for encryption
You need to decide, whether you need same flash content for all products. If yes, you need same key for all products and you must use user key. Using UID/OTPMK means each product uses different key, so flash content is different.

 

 

Regards,
Marek


NOTE: If you find the answer useful, kindly click on [ACCEPT AS SOLUTION] button
796 次查看
acallamp
Contributor III
HI:
Does MFGTOOL only support USB and have production software that supports UART?
0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2004673%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EIMXRT1052%20XIP%20%E5%8A%A0%E5%AF%86%E9%97%AE%E9%A2%98%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2004673%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3E%E8%AF%B7%E9%97%AE%E9%AB%98%E6%89%8B%EF%BC%9ART1052%2BXIP%E5%8A%A0%E5%AF%86%E6%96%B9%E6%B3%95%EF%BC%9F%E5%A6%82%E6%9E%9C%E6%88%91%E6%83%B3%E5%9C%A8%E4%B8%8D%E7%83%A7%E7%86%94%E4%B8%9D%E7%9A%84%E6%83%85%E5%86%B5%E4%B8%8B%E4%BD%BF%E7%94%A8%E8%8A%AF%E7%89%87%E7%9A%84UID%E4%BD%9C%E4%B8%BA%E5%AF%86%E9%92%A5%EF%BC%8C%E5%BA%94%E8%AF%A5%E9%80%89%E6%8B%A9%E5%93%AA%E7%A7%8D%E6%96%B9%E6%A1%88%E6%9D%A5%E5%8A%A0%E5%AF%86%E7%94%9F%E6%88%90%E9%95%9C%E5%83%8F%EF%BC%9F%E5%9B%A0%E4%B8%BA%E6%88%91%E6%8B%85%E5%BF%83%E7%83%A7%E6%8E%89%E4%BF%9D%E9%99%A9%E4%B8%9D%E4%B9%8B%E5%90%8E%EF%BC%8C%E8%8A%AF%E7%89%87%E5%B0%B1%E6%97%A0%E6%B3%95%E5%86%8D%E4%BD%BF%E7%94%A8%E4%BA%86%E3%80%82%E8%AF%B7%E9%97%AE%E6%9C%89%E6%B2%A1%E6%9C%89%E4%BB%80%E4%B9%88%E5%A5%BD%E7%9A%84%E5%8A%A0%E5%AF%86%E6%96%B9%E6%B3%95%E3%80%82%E4%B9%9F%E6%9C%89%E5%88%A9%E4%BA%8E%E5%B7%A5%E5%8E%82%E5%AE%9E%E7%8E%B0%E9%87%8F%E4%BA%A7%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2004904%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AIMXRT1052%20XIP%20%E5%8A%A0%E5%AF%86%E9%97%AE%E9%A2%98%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2004904%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E4%BD%A0%E5%A5%BD%EF%BC%9A%3CBR%20%2F%3E%20MFGTOOL%E5%8F%AA%E6%94%AF%E6%8C%81USB%EF%BC%8C%E6%9C%89%E6%B2%A1%E6%9C%89%E6%94%AF%E6%8C%81UART%E7%9A%84%E9%87%8F%E4%BA%A7%E8%BD%AF%E4%BB%B6%EF%BC%9F%3C%2FLINGO-BODY%3E