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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
483 Views
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 Kudos
1 Solution
476 Views
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.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
477 Views
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 Kudos