RT116x/7x execution of unencrypted code after ENCRYPT_XIP_EN is enabled

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

RT116x/7x execution of unencrypted code after ENCRYPT_XIP_EN is enabled

跳至解决方案
1,035 次查看
stephenschwartz
Contributor II

Hello,

We have OTFAD1 set up to decrypt code from NOR flash connected to FlexSPI1 on the RT1165. Is it possible to temporarily disable encryption such that we could jump to a different region of NOR flash and execute unencrypted (plaintext) code?

Thanks,

Steve Schwartz-Fenwick

0 项奖励
回复
1 解答
1,028 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) Is it possible to temporarily disable encryption such that we could jump to a different region of NOR flash and execute unencrypted (plaintext) code?
-- After the ENCRYPT_XIP_EN fuse bit is blown, the ROM will boot the encrypted XiP image via the OTFAD, however, OTFAD allows the developers to set up 4 encrypted code areas into the application image, so the application image contains some plain code.

jeremyzhou_0-1656557873262.png

Hope this is clear.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,029 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) Is it possible to temporarily disable encryption such that we could jump to a different region of NOR flash and execute unencrypted (plaintext) code?
-- After the ENCRYPT_XIP_EN fuse bit is blown, the ROM will boot the encrypted XiP image via the OTFAD, however, OTFAD allows the developers to set up 4 encrypted code areas into the application image, so the application image contains some plain code.

jeremyzhou_0-1656557873262.png

Hope this is clear.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复