about how to use otfad on an i.mxrt1176 part

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

about how to use otfad on an i.mxrt1176 part

跳至解决方案
487 次查看
hhh
Contributor III

we are working on an custom build board for i.mxrt1176, and we download nxp boot utility from github (version 4.1.1)

1) we tried download without encryption, we used address at 3000a000, everything looks great

(we switch to serial download mode first make the download and then switch to internal )

2) we tried to do encryption of the image using otfad (xip based on the fly decryption), it did not work. we tried the led blink code from the app directory. it wont boot.  is there any suggestion on how to make the otfad work? (the CFG[1] pin , after programming , we pull it up)

eric

 

0 项奖励
1 解答
457 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @hhh ,

   Glad to hear the SPT works on your side.

  To the SJTAG with the MCUXPRESSO, seems you create the new case now, I will reply you in your new question post:

https://community.nxp.com/t5/i-MX-RT/about-secure-jtag-for-1176/td-p/1647452

  To this case, please help to mark the correct answer, just to close the original question.

Best Regards,

Kerry

在原帖中查看解决方案

0 项奖励
3 回复数
469 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @hhh ,

   Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.

   If you want to use the OTFAD in the MCUBootUtility, you can't use it directly, as it need to add the -image_enc file,  this also mentioned in the MCUBootUtility link:

https://github.com/JayHeng/NXP-MCUBootUtility

Following this link to add the related file for the OTFAD:

https://www.cnblogs.com/henjay724/p/10189602.html

BTW, NXP also have the official tool for the OTFAD, you also can try it, it can be used directly:

https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-s...

kerryzhou_0-1683678786712.png

 

Wish it helps you!

If you still have questions about it, please kindly let me know.

If your question is solved, please help me to mark the correct answer, just to close this case, thanks.

Any new issues, welcome to create the new question post.

Best Regards,

Kerry

 

0 项奖励
466 次查看
hhh
Contributor III

i have used spt tool today, it worked perfectedly. now i am working on secure jtag, jlink.exe command line work perfect, but jflash and mcuxpresso are not working properly. any idea?

 

0 项奖励
458 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @hhh ,

   Glad to hear the SPT works on your side.

  To the SJTAG with the MCUXPRESSO, seems you create the new case now, I will reply you in your new question post:

https://community.nxp.com/t5/i-MX-RT/about-secure-jtag-for-1176/td-p/1647452

  To this case, please help to mark the correct answer, just to close the original question.

Best Regards,

Kerry

0 项奖励