Enter USB Serial Download from application on i.MX RT1172

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

Enter USB Serial Download from application on i.MX RT1172

505 次查看
andrealongobardi
Contributor I

Hello,

I am looking for an SDK example or some guidelines to enter the USB Serial Download Mode directly from my application.

I wonder if someone could point me in the right direction. I have tried to follow this thread without success: 

https://community.nxp.com/t5/i-MX-RT/Jump-to-ROM-bootloader-from-application-in-i-MX-RT1010/m-p/1684...

 

Thanks!!!


Andrea

0 项奖励
回复
1 回复

492 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @andrealongobardi ,

   To this method, normally have these way:

1. in your app, jump to the flashloader code, as the flashloader code can support the USB serial download.

  Normally, let the flashloader code story in the RAM, then jump to the flashloader, you can refer to this post:

https://www.nxpic.org.cn/module/forum/thread-620172-1-1.html

 

2. Use secondary bootloader

 After boot, it will stay in the serail download mode, can use the blhost do the USB HID connect the board, do the code downloading, or wait after the timeout and jump to your real app.

 You can refer to our SBL and SFW, that already support it.

https://github.com/nxp-mcuxpresso/sbl

https://github.com/nxp-mcuxpresso/sfw

This is the document:

https://www.nxp.com/docs/en/user-guide/MCUOTASBLSFWUG.pdf

 

Wish it helps you!

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

Best Regards,

Kerry

0 项奖励
回复