How to do the bootable image upgrade after production?

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

How to do the bootable image upgrade after production?

跳至解决方案
1,617 次查看
calvin1
Contributor II

Hi, 

Our platform is the iMXRT1020, we are using the XIP QSPI flash as our bootable image storage, since in our design we only embed a USB-A female port, not USB-Micro OTG, could we program the bootable image through Serial Downloader, or said, to program XIP flash? Can I upload the generated bootable image through an external USB storage? or we actually need to design our own Flashloader?

Also, I wonder how could we switch the bootmode after production? since it should be switched by I/O pins, is there any soft way to switch it?

Please suggest if there is any designed solution, thanks a lot.

标签 (2)
0 项奖励
回复
1 解答
1,474 次查看
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Calvin Lin

Could we program the bootable image through Serial Downloader, or said, to program XIP flash?

Yes, you can use the mfgtool with the USB interface.

Can I upload the generated bootable image through an external USB storage? or we actually need to design our own Flashloader?

For this case you would need to create your own USB-MSD flashloader, as the ROM code doesn't do this.

Also, I wonder how could we switch the bootmode after production? since it should be switched by I/O pins, is there any soft way to switch it?

No, unfortunately, there isn't any software methode to jumpt to serial downloader from the application image.

Hope this helps

Best regards

在原帖中查看解决方案

3 回复数
1,475 次查看
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Calvin Lin

Could we program the bootable image through Serial Downloader, or said, to program XIP flash?

Yes, you can use the mfgtool with the USB interface.

Can I upload the generated bootable image through an external USB storage? or we actually need to design our own Flashloader?

For this case you would need to create your own USB-MSD flashloader, as the ROM code doesn't do this.

Also, I wonder how could we switch the bootmode after production? since it should be switched by I/O pins, is there any soft way to switch it?

No, unfortunately, there isn't any software methode to jumpt to serial downloader from the application image.

Hope this helps

Best regards

1,474 次查看
calvin1
Contributor II

Hi Jorge,


Could you please explain in advance for the USB interface connection? We would like to built our device with a USB-A receptacle port (the same one as PC), but I don't know what USB cable I can use to connect each other(PC to iMXRT), or to provide our customer that cable for their future firmware upgrading.

0 项奖励
回复
1,474 次查看
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Calvin

Do you mean in the hardware layout requirements? I recommend you to base your board in the desing of the evaluation board of NXP (EVK). You can also check the following post:

https://www.nxp.com/webapp/Download?colCode=MIMXRT1020HDUG 

according to your description, in the case of the cable, you would need a USB-A to USB-A

Best regards

Jorge Alcala