i.MX6 sometimes fails to generate SD3_CLK to read the eMMC boot partition

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

i.MX6 sometimes fails to generate SD3_CLK to read the eMMC boot partition

1,358 Views
oway
Contributor I

A single sample of our i.MX6Q custom boards has an intermittent boot up issue: 

When pressing the i.MX6 reset button (or on POR), the i.MX6 sometimes (~20%) fails to generate SD3_CLK to read the boot partition of the eMMC (on SD3).  In this situation, the i.MX6 enters serial download mode instead of booting from the eMMC.

Once in the serial download mode, I have verified the DDR3 SDRAM passes cal and stress test.

The 32kHz and 24MHz clocks look good.

For debug, I have forced the i.MX6 to use its internal ring oscillator, instead of the external 32kHz crystal ... and booting is still intermittent.

Ideas?

Labels (1)
0 Kudos
8 Replies

1,147 Views
igorpadykov
NXP Employee
NXP Employee

Hi oway

is it booting fine from cold boot (all board is unpowered) or

with powered board with reset (POR) only processor (other board components

are still powered) ? There may be issues with reset if there is no PMIC reset

(which resets all board power supplies).


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

0 Kudos

1,147 Views
oway
Contributor I

Igor,

Both … The failure to boot from eMMC happens (~20%) booting from cold boot (all board is unpowered) and with powered board with reset (POR) only processor (other board components are still powered).

0 Kudos

1,147 Views
igorpadykov
NXP Employee
NXP Employee

Hi oway

could you try to extend POR up to 1 sec.

Is it booting fine from other media, sd card for example.

~igor

0 Kudos

1,147 Views
oway
Contributor I

Igor,

On this unit, I have already burned the fuses for booting from eMMC on SD3. So I cannot choose other boot media.

To extend POR 1 sec, do I simply hold the i.MX6 reset button for 1 sec?

Also, since the eMMC is already powered when I press the i.MX6 reset button, would extending POR make any difference?

Thanks

0 Kudos

1,147 Views
igorpadykov
NXP Employee
NXP Employee

one can ground POR, then turn on board, release POR after several seconds.

After "i.MX6 sometimes (~20%) fails to generate SD3_CLK " - please attach jtag and check

SRC_SBMR1,2, do they have correct boot settings.

Best regards
igor

0 Kudos

1,147 Views
oway
Contributor I

Igor,

Since I do not have a JTAG analyzer, what is a low cost one you would recommend for this?

Thanks

0 Kudos

1,147 Views
igorpadykov
NXP Employee
NXP Employee

Hi oway

many people use j-link, in general any debugger supporting cortex-a9

may be used.

Best regards
igor

0 Kudos

1,147 Views
oway
Contributor I

Igor,

If there is JTAG software required to check SRC_SBMR1,2 when using the j-link hardware, … can you please suggest what low-cost JTAG software is needed?

Thanks

0 Kudos