RT1165 OTFAD Troubleshooting

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

RT1165 OTFAD Troubleshooting

Jump to solution
1,830 Views
bvp
Contributor II

I am working on a RT1165 custom board and attempting to enable authenticated OTFAD using the Secure Provisioning Tool v25.09. Flashing plain images and dual boot work as expected but with OFTAD enabled the device boots straight to ISP mode. 

It seems to be similar with this issue: Solved: RT1170 OTFAD Troubleshooting - NXP Community

But I do not see "FlexSPI NOR + Encrypted" options in the user manual (IMXRT1160RM.pdf starting pg 263). And ENCRYPT_XIP_ENGINE is managed by the tool.

Is there another register/fuse/GPIO that needs to be set from the secure provisioning tool for the RT1165 to boot OTFAD encryption?

OTPOTP

settingssettings

 

0 Kudos
Reply
1 Solution
1,684 Views
bvp
Contributor II

I will answer my last question. Yes, you can set the fuse manually regardless of the switch configuration.

bvp_0-1761075829070.png

Just note that the Secure Provisioning Tool does not have a label for that fuse.

bvp_2-1761075976974.png

 

bvp_1-1761075900816.png

Set as above and the board will now boot with OTFAD encryption.

 



View solution in original post

0 Kudos
Reply
3 Replies
1,685 Views
bvp
Contributor II

I will answer my last question. Yes, you can set the fuse manually regardless of the switch configuration.

bvp_0-1761075829070.png

Just note that the Secure Provisioning Tool does not have a label for that fuse.

bvp_2-1761075976974.png

 

bvp_1-1761075900816.png

Set as above and the board will now boot with OTFAD encryption.

 



0 Kudos
Reply
1,776 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

I believe that as same as customer, you overlooked the boot_cfg switches. As the image attached on the post. SW2 wich is Boot_cfg needs to be b0100....
This is first done by hardware before burning any fuses to check that the boot configuration is correct. 

BR,
Omar

0 Kudos
Reply
1,694 Views
bvp
Contributor II

Thank you for the reply! Is it possible to force the OTFAD boot with fuses regardless of the hardware switch settings?

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2186830%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERT1165%20OTFAD%20Troubleshooting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2186830%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EI%20am%20working%20on%20a%20RT1165%20custom%20board%20and%20attempting%20to%20enable%26nbsp%3Bauthenticated%20OTFAD%20using%20the%20Secure%20Provisioning%20Tool%20v25.09.%20Flashing%20plain%20images%20and%20dual%20boot%20work%20as%20expected%20but%20with%20OFTAD%20enabled%20the%20device%20boots%20straight%20to%20ISP%20mode.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EIt%20seems%20to%20be%20similar%20with%20this%20issue%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-RT-Crossover-MCUs%2FRT1170-OTFAD-Troubleshooting%2Ftd-p%2F1768983%22%20target%3D%22_blank%22%3ESolved%3A%20RT1170%20OTFAD%20Troubleshooting%20-%20NXP%20Community%3C%2FA%3E%3C%2FP%3E%3CP%3EBut%20I%20do%20not%20see%20%22FlexSPI%20NOR%20%2B%20Encrypted%22%20options%20in%20the%20user%20manual%20(IMXRT1160RM.pdf%20starting%20pg%20263).%20And%26nbsp%3B%3CSPAN%3EENCRYPT_XIP_ENGINE%20is%20managed%20by%20the%20tool.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EIs%20there%20another%20register%2Ffuse%2FGPIO%20that%20needs%20to%20be%20set%20from%20the%20secure%20provisioning%20tool%20for%20the%20RT1165%20to%20boot%20OTFAD%20encryption%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22OTP%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22OTP%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360973iA5EEBC6EF9333103%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22OTP.png%22%20alt%3D%22OTP%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EOTP%3C%2Fspan%3E%3C%2Fspan%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EOTP%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22settings%22%20style%3D%22width%3A%20878px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22settings%22%20style%3D%22width%3A%20878px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360974i951CB36BF2859F3A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22settings.png%22%20alt%3D%22settings%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3Esettings%3C%2Fspan%3E%3C%2Fspan%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3Esettings%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2190205%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20RT1165%20OTFAD%20Troubleshooting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2190205%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20will%20answer%20my%20last%20question.%20Yes%2C%20you%20can%20set%20the%20fuse%20manually%20regardless%20of%20the%20switch%20configuration.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22bvp_0-1761075829070.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22bvp_0-1761075829070.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F361938iD26134775A125870%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22bvp_0-1761075829070.png%22%20alt%3D%22bvp_0-1761075829070.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EJust%20note%20that%20the%20Secure%20Provisioning%20Tool%20does%20not%20have%20a%20label%20for%20that%20fuse.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22bvp_2-1761075976974.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22bvp_2-1761075976974.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F361940iAD95CB1AD4F6605E%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22bvp_2-1761075976974.png%22%20alt%3D%22bvp_2-1761075976974.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22bvp_1-1761075900816.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22bvp_1-1761075900816.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F361939iEE9C0481DE17BEFD%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22bvp_1-1761075900816.png%22%20alt%3D%22bvp_1-1761075900816.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ESet%20as%20above%20and%20the%20board%20will%20now%20boot%20with%20OTFAD%20encryption.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2190188%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20RT1165%20OTFAD%20Troubleshooting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2190188%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThank%20you%20for%20the%20reply!%20Is%20it%20possible%20to%20force%20the%20OTFAD%20boot%20with%20fuses%20regardless%20of%20the%20hardware%20switch%20settings%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2187812%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20RT1165%20OTFAD%20Troubleshooting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2187812%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20believe%20that%20as%20same%20as%20customer%2C%20you%20overlooked%20the%20boot_cfg%20switches.%20As%20the%20image%20attached%20on%20the%20post.%20SW2%20wich%20is%20Boot_cfg%20needs%20to%20be%20b0100....%3CBR%20%2F%3EThis%20is%20first%20done%20by%20hardware%20before%20burning%20any%20fuses%20to%20check%20that%20the%20boot%20configuration%20is%20correct.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBR%2C%3CBR%20%2F%3EOmar%3C%2FP%3E%3C%2FLINGO-BODY%3E