Question about manufacture boot flow and criteria

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

Question about manufacture boot flow and criteria

996 Views
ko-hey
Senior Contributor II

Hi all

I have some questions about USB download mode via USB_OTG.

My customer's setting is as below.

-----------------------------------------------------------------

BT_FUSE_SEL = 0
Internal Boot mode (BOOT_MODE[1:0] = 0b10)
GPIO_BOOT_CFG1 = 0b01010010
GPIO_BOOT_CFG2 = 0b00001000
GPIO_BOOT_CFG4 = 0b00000000

-----------------------------------------------------------------

Also flow is as below.

By GPIO setting, specify booting from SD connected to uSDHC2.
Do not connect anything to the uSDHC 2 interface, intentionally causing the boot to fail.

Q1.

I tested with i.MX6ULL-EVK with the red line boot sequence of Attachment which is a Figure 8-27 of RM.

I confirmed that it worked booting from MFG mode with BOOT_MODE == 2.
I think that it will fall into USB download mode if MFG mode fails.

Am I correct ?

Q2.

If BOOT_MODE == 0, booting from both MFG mode and USB download mode has been confirmed. (Blue line)


Does BOOT_MODE mean that the judgment criteria of "success?" In MFG mode will be different?
Because if you cut off the power of eMMC connected to uSDHC 1 trying it, you can enter USB download mode even with BOOT_MODE == 2 confirmed.
With BOOT_MODE == 0 there is no need to cut off the power of the eMMC, and if there is no boot image, even if power is supplied to the eMMC, it is judged as "failure" and enters the USB download mode.

Q3.

Could you tell me the criteria of it ?

Ko-hey

Labels (3)
0 Kudos
3 Replies

703 Views
Yuri
NXP Employee
NXP Employee

Hello,

 

 

1.

  Yes, ”it will fall into USB download mode if MFG mode fails.”

 

2.

  General sequence of SD/MMC boot for both internal primary boot and

SDMMC MFG mode boot is described in section 8.5.3 (Expansion device)

of boot chapter i.MX 6ULL RM. It also contains conclusion if boot is success.

 

 

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

0 Kudos

703 Views
ko-hey
Senior Contributor II

Hi Yuri Muhin

Thank you for reply.

How about Q3 ?

Is there no difference in criteria whether manufacture mode or not ?

Am I correct ?

Ko-hey

0 Kudos

703 Views
Yuri
NXP Employee
NXP Employee

Hello,

  For the SD/MMC manufacture mode:

Pad of SD1_CD is used to detect whether a card is inserted or not.

One bit bus width is used despite of the fuse setting. 

Regards,

Yuri.

0 Kudos