Customer i.MX6Q board can not boot from SD2

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

Customer i.MX6Q board can not boot from SD2

676 Views
cocobat
Contributor I

Hi NXP friends,

Here i have a question about i.MX6Q boot from SD2, the BOOT_CFG1 and BOOT_CFG2 are configured to boot from SD2, a 4 bit TF card in my customerized board, below is the schematic detail.

i configured BOOT_MODE[1:0] to 1:0, for the Internal Boot.

1. the boot config resistor:

   the green marked resistor is removed;

boot1.PNG

2. the SD2 interface:

   boot2.PNG

boot3.PNG

in this condition the BOOT_CFG1 and BOOT_CFG2 are configured as below.

boot4.PNG

all the power supply domain works fine, i checked one by one by Oscilloscope, it meet the power up sequence very well, as i expected, once i power up the board, CPU will boot from SD2, and i should see the SD2_CLK in scope, but there is no waveform at all.

i guess the BOOT_CFG1 and BOOT_CFG2 configuration IO voltage might be in wrong level, so i checked EIM _DA6 and EIM_DA14 voltage during power up, it seems the voltage is low, can not be pulled up by the reisistor.

boot5.PNG

it means the all BOOT_CFG1 and BOOT_CFG2 are 0, that's why it can not boot from SD2.

i also check these 2 pins, it seems that they are output during power up, is it NorFlash interface boot here?

i searched in internet, and somebody told it's about fuse, i also checked the fuse initial value of BT_FUSE_SEL is 0 as described in i.MX6 reference manual 3.8.1. 

the BOOT_MODE is 1:0, and BT_FUSE_SEL is 0, so CPU should boot from SD2 by GPIO pins configuration.

boot6.PNG

if i use MFGtool download from USB, it works fine in downloading, but it can not boot from SD2 at all, it seems CPU doesn't check SD2 while booting, no SD2_CLK output, and EIM _DA6 and EIM_DA14 are all low in voltage.

need your suggestion on that.

thanks in advance.

Cocobat

Labels (1)
0 Kudos
4 Replies

491 Views
igorpadykov
NXP Employee
NXP Employee

Hi Lei

for BOOT_CFG1 and BOOT_CFG2 boot connections please check

i.MX6Q Sabre board schematic spf-27392 boot page p.21, SW6 switch

Schematics (1)
i.MX6_SABRE_SDP_DESIGNFILES
http://www.nxp.com/products/software-and-tools/hardware-development-tools/sabre-development-system/s...

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

0 Kudos

491 Views
cocobat
Contributor I

Hello Igor,

thanks for your reply.

i did check the schematic you refered, i also design the customer board according the SabreSD design, the BOOT_MODE is 1:0 as i checked with multimeter, the voltage is right.

and for BOOT_CFG1 and BOOT_CFG2, my configuration follows below table, it's the same to the schematic as you recommand, system is booting from SD2.

boot4.PNG

and the problem is that while powering up, there is no SD_CLK output, it means CPU doesn't initialize the SD2 at all.

then i checked BOOT_CFG1, CFG2 related pins real voltage during power up, i found EIM _DA6 and EIM_DA14 voltage are all low. but in schematic, i already pulled up to 3.3V.

i guess these 2 pins are in output mode, not input mode, so the BOOT_CFGx are all in wrong status.

can you give me some advice on that? i heard that in some condition, MX6 will boot from Norflash ignoring the boot gpio configuration.

thanks.

COCOBAT

0 Kudos

491 Views
igorpadykov
NXP Employee
NXP Employee

>i guess these 2 pins are in output mode, not input mode, so the BOOT_CFGx are all in wrong status.

this is not correct, they are inputs

>i checked BOOT_CFG1, CFG2 related pins real voltage during power up, i found EIM _DA6

>and EIM_DA14 voltage are all low. but in schematic, i already pulled up to 3.3V.

probably there is mistake in board layout, so these signals are shorted to other or grounded.

Best regards
igor

0 Kudos

491 Views
cocobat
Contributor I

and i also just did the md check, pls see the result below.

It shows the BOOT_MODE is 1:0, and all BOOT_CFG1 and BOOT_CFG2 are 0.

=> md 0x20d8004
020d8004: 40000000 00000000 00000000 00000000 ...@............
020d8014: 00000000 0000001f 02000001 00000000 ................
020d8024: 00000000 00000000 00000000 00000000 ................
020d8034: 00000000 00000000 00000000 00000000 ................
020d8044: 00000000 00000000 00000000 00000000 ................
020d8054: 00000000 00000000 00000000 00000000 ................
020d8064: 00000000 00000000 00000000 00000000 ................
020d8074: 00000000 00000000 00000000 00000000 ................
020d8084: 00000000 00000000 00000000 00000000 ................
020d8094: 00000000 00000000 00000000 00000000 ................
020d80a4: 00000000 00000000 00000000 00000000 ................
020d80b4: 00000000 00000000 00000000 00000000 ................
020d80c4: 00000000 00000000 00000000 00000000 ................
020d80d4: 00000000 00000000 00000000 00000000 ................
020d80e4: 00000000 00000000 00000000 00000000 ................
020d80f4: 00000000 00000000 00000000 00000520 ............ ...
=> md 0x20d801c
020d801c: 02000001 00000000 00000000 00000000 ................
020d802c: 00000000 00000000 00000000 00000000 ................
020d803c: 00000000 00000000 00000000 00000000 ................
020d804c: 00000000 00000000 00000000 00000000 ................
020d805c: 00000000 00000000 00000000 00000000 ................
020d806c: 00000000 00000000 00000000 00000000 ................
020d807c: 00000000 00000000 00000000 00000000 ................
020d808c: 00000000 00000000 00000000 00000000 ................
020d809c: 00000000 00000000 00000000 00000000 ................
020d80ac: 00000000 00000000 00000000 00000000 ................
020d80bc: 00000000 00000000 00000000 00000000 ................
020d80cc: 00000000 00000000 00000000 00000000 ................
020d80dc: 00000000 00000000 00000000 00000000 ................
020d80ec: 00000000 00000000 00000000 00000000 ................
020d80fc: 00000000 00000520 40000000 00000000 .... ......@....
020d810c: 00000000 00000000 00000000 0000001f ................

0 Kudos