Enter USB Serial Download from Software

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

Enter USB Serial Download from Software

Jump to solution
2,524 Views
moose
Contributor IV

How can we enter USB Serial Download mode from software on a device with iMX8MNANO soc? The BOOT pins are set for boot from fuse bits, which are blown for internal boot on MMC.

To enter USB Serial Download mode today, we have to alter BOOT pins in hardware that are not easily accessible. I am wondering if there is a way to do it from u-boot. This thread refers to bmode command bit, but it is not available on my SoC. I'm not sure if there is a way to enable it. Another option is to somehow corrupt or erase the working image, which forces the bootloader to switch to USB serial download mode. Please let us know if this is possible. Thanks!

Labels (1)
0 Kudos
Reply
1 Solution
2,485 Views
rudi_cyber
Contributor III

 

You can type fastboot <usb id> under u-boot to get  into download mode. 

For example, fastboot 0  or fastboot 1 depeneds on your hardware design. 

 

 

 

View solution in original post

3 Replies
2,486 Views
rudi_cyber
Contributor III

 

You can type fastboot <usb id> under u-boot to get  into download mode. 

For example, fastboot 0  or fastboot 1 depeneds on your hardware design. 

 

 

 

2,425 Views
moose
Contributor IV

That worked. Thank you.

One thing to note is the protocol detected by uuu is FB (fastboot) and not SDPS. I don't know if this presents any issues but I was able to program the image.

 

moose_0-1694056366670.png

 

I am assuming with this method you can't update U-boot, correct?

0 Kudos
Reply
2,490 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Recommend you to go to the  USB Serial Download mode by hardware way, boot mode is easy to control and will also set for boot up mode.

0 Kudos
Reply