eMMC detection issue with 8M Mini, error "Card did not respond to voltage select "

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

eMMC detection issue with 8M Mini, error "Card did not respond to voltage select "

12,690 Views
nija_mankodi
Contributor II

Hi,

I am using 8M Mini dual core processor in my custom board with eMMC V5.1 SDINBDG4-16G-XI1.

eMMC on the board is not detected on the board in u-boot and below are console logs,

U-Boot SPL 2020.04-5.4.24-2.1.0+ge0a885f (Jun 19 2021 - 07:31:31 +0000)
power_pca9450_init
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from USB SDP
SDP: initialize...
SDP: handle requests...
Downloading file of size 1409696 to 0x40400000... �one
Dumping to header at 0x40400000
Header Tag is not an IMX image
Found header at 0x40429da0
NOTICE: BL31: v2.2(release):imx_5.4.24_er3-0-gb0a00f2
NOTICE: BL31: Built : 07:36:33, Jun 19 2021
 
U-Boot 2020.04-5.4.24-2.1.0+ge0a885f (Jun 19 2021 - 07:31:31 +0000)
 
CPU: i.MX8MMD rev1.0 1600 MHz (running at 1200 MHz)
CPU: Industrial temperature grade (-40C to 105C)`at 51C
Reset cause: POR
Model: NXP i.MX8MM EVK board
DRAM: 6 GiB
setup_fec: Setting 50MHz clock
MMC: FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... MMC: no card present
*** Warning - No block device, using default environment
 
*]-Video Link 0 can't find cec device id=0x3c
fail to probe panel device adv7535@3d
failed to get any video link display timings
probe video device failed, ret -22
 
[0] lcdif@32e00000, video
[1] mipi_dsi@32e10000, video_bridge
[2] adv7535@3d, panel
Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
failed to get any video link display timings
probe video device failed, ret -22
In: serial
Out: serial
Err: serial
 
BuildInfo:
- ATF b0a00f2
- U-Boot 2020.04-5.4.24-2.1.0+ge0a885f
 
MMC: no card present
Detect USB boot. Will enter fastboot mode!
Net: sould not get PHY for FEC0: addr 0
could not get PHY for FEC0: addr 0
No ethernet found.
 
Fastboot: Normal
Boot from USB for mfgtools
*** Warning - Use default environment for mfgtools
, using default environment
 
Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "
Run fastboot ..."; fastboot 0; fi;
Hit any key to stop autoboot: 0
 
## Checking Image at 43800000 ...
Unknown image format!
Run fastboot ...
Detect USB boot. Will enter fastboot mode!
flash target is MMC:1
MMC: no card present
MMC card init failed!
MMC: no card present
** Block device MMC 1 not supported
Detect USB boot. Will enter fastboot mode!
flash target is MMC:2
Card did not respond to voltage select!
MMC card init failed!
Card did not respond to voltage select!
** Block device MMC 2 not supported
Card did not respond to voltage select!
 
Please guide on the issue area and how to rectify this.
Tags (1)
0 Kudos
Reply
15 Replies

12,204 Views
BiyongSUN
NXP Employee
NXP Employee

The possible issue is you haven't changed the number and order of the usdhc in u-boot /spl

The bsp  map is for  i.MX8MM evk.

The u-boot is running, the issue is surely not related to the boot stage. 

You can use the uuu shell mode and use u-boot command in uuu shell to check which mmc interface is available before change the code.  

 

 

int board_mmc_init(struct bd_info *bis)
{
	int i, ret;
	/*
	 * According to the board_mmc_init() the following map is done:
	 * (U-Boot device node)    (Physical Port)
	 * mmc0                    USDHC1
	 * mmc1                    USDHC2
	 */
	for (i = 0; i < CONFIG_SYS_FSL_USDHC_NUM; i++) {
		switch (i) {
		case 0:
			init_clk_usdhc(1);
			usdhc_cfg[0].sdhc_clk = mxc_get_clock(MXC_ESDHC2_CLK);
			imx_iomux_v3_setup_multiple_pads(
				usdhc2_pads, ARRAY_SIZE(usdhc2_pads));
			gpio_request(USDHC2_PWR_GPIO, "usdhc2_reset");
			gpio_direction_output(USDHC2_PWR_GPIO, 0);
			udelay(500);
			gpio_direction_output(USDHC2_PWR_GPIO, 1);
			break;
		case 1:
			init_clk_usdhc(2);
			usdhc_cfg[1].sdhc_clk = mxc_get_clock(MXC_ESDHC3_CLK);
			imx_iomux_v3_setup_multiple_pads(
				usdhc3_pads, ARRAY_SIZE(usdhc3_pads));
			break;
		default:
			printf("Warning: you configured more USDHC controllers"
				"(%d) than supported by the board\n", i + 1);

 

0 Kudos
Reply

12,201 Views
hongtao_li
Contributor III

Hi Biyong,

This is my issue link https://community.nxp.com/t5/i-MX-Processors/Image-cannot-be-burnt-to-emmc-with-UUU-tool-for-iMX8mm-.... We use usdhc3 for emmc and the map is right.

Thanks.

0 Kudos
Reply

12,196 Views
BiyongSUN
NXP Employee
NXP Employee

It is very clear the map is wrong in your debug log.

no mmc1

does this board have mmc1? if not, the number and order is not correct. 

 

 

you can use uuu shell mode to debug it. 

 

 

Run fastboot ...
Detect USB boot. Will enter fastboot mode!
flash target is MMC:1
MMC: no card present
MMC card init failed!
MMC: no card present
** Block device MMC 1 not supported
Detect USB boot. Will enter fastboot mode!
flash target is MMC:2
Card did not respond to voltage select!
MMC card init failed!
Card did not respond to voltage select!
** Block device MMC 2 not supported
Card did not respond to voltage select!

 

0 Kudos
Reply

12,178 Views
hongtao_li
Contributor III

This log is not mine. I only searched this similar issue to mine. 

Mine issue description is here  Image cannot be burnt to emmc with UUU tool for iM... - NXP Community.

0 Kudos
Reply

12,679 Views
nxf63675
NXP TechSupport
NXP TechSupport

Hi @nija_mankodi,

 

Could you share the schematics and boot config?

 

Regards,

Israel.

0 Kudos
Reply

12,669 Views
nija_mankodi
Contributor II

Hi

Attached is the schematic snapshot.

Please note that resistors R78 to R85, R109 and R106 are not mounted by default.

 

Do you think this issue is because of absence of these resistors due to bus floating?

0 Kudos
Reply

12,649 Views
nija_mankodi
Contributor II

Hi,

Please guide on this issue and its root cause.

0 Kudos
Reply

12,635 Views
nxf63675
NXP TechSupport
NXP TechSupport

Hi nija_mankodi,

 

The connections just seem good you could try to populate the R78 to R85, R109, and R106, so we can discard this but I do not think that this can cause the incorrect voltage issue., could you share how you did the boot configuration?

 

Regards,

Israel.

0 Kudos
Reply

12,626 Views
nija_mankodi
Contributor II

Hi @nxf63675 Isreal,

Thank you for responding.

I tried mounting the suggested resistors but issue is still prevailing.

Attached is the boot configuration image. Please guide.

 

0 Kudos
Reply

12,604 Views
nija_mankodi
Contributor II

Hi,

Please share an update on this. This is critical issue for us now so need your guidance ASAP.

0 Kudos
Reply

12,554 Views
nxf63675
NXP TechSupport
NXP TechSupport

Hi nija_manko,

 

Sorry for my late response I was sick the last weeks and just recently come back.

I review the boot configs and the memory you are using, there are a few things that come to my mind to debug this, usually is because the memory uses a different work voltage than the one you are using, from what I see this is correctly configured, according to the schematics you share, but we could try to move the BOOT_CFG[1] that change the operating eMMC voltage.

 

Other stuff that probably is causing this and we could try:

1. reason may be poor soldering, one can resolder eMMC or change from a known good board.

2. one can debug it using an oscilloscope or digital analyzer and sect.7.4.2 Operating voltage range validation eMMC specification:

http://yourcmc.ru/wiki/images/5/55/EMMC_JESD84-A441.pdf

https://community.nxp.com/thread/341480

 

If there is something more I can do for you, please let me know.

Regards,

Israel.

0 Kudos
Reply

12,548 Views
nija_mankodi
Contributor II

Hi @nxf63675,

 

No issues. I hope you are in good health now.

I am sorry but I did not get your point of moving the BOOT_CFG[1] that change the operating eMMC voltage. Could you please explain for which pin you are recommending to move this?

Is it BOOT_MODE1 pin? How will it change eMMC operating voltage? 

 

 

0 Kudos
Reply

12,540 Views
nxf63675
NXP TechSupport
NXP TechSupport

Hi @nija_mankodi,

 

The operating voltage is going to affect the processor and no the eMMC, but with this, it will change the voltage that the processor operates, I just one to discard this, the BOOT_CFG1 => SAI1_RXD1.

This is the change that you could try:

nxf63675_0-1626846938675.png

 

Regards,

Israel.

 

0 Kudos
Reply

12,579 Views
nija_mankodi
Contributor II

Hi NXP team,

This is getting critical for us so please share your valuable comment/resolution for this issue.

0 Kudos
Reply

12,208 Views
hongtao_li
Contributor III

Hi nija_mankodi,

Is your issue resolved? I have the same issue.

0 Kudos
Reply