Enter USB Serial Download from application on i.MX RT1172

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

Enter USB Serial Download from application on i.MX RT1172

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

225 Views
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 Kudos