Hi there.
Description:
1. Custom device. Not a development board.
2. Use emmc 5.1 SANDISK https://datasheet.lcsc.com/lcsc/2006081112_SANDISK-SDINBDG4-8G_C577444.pdf
Problem: device falls down in usb-downloader-mode at 5% power-up. It boots fine At other 95%
What tried:
It looks like the imx6 reads first data including DCD and execute it. Then it load usb-downloader-mode.
green - CMD
brown - CLK
Then we tested the device with boot_tester.exe
We have got the data:
Can any one tell me what does the Device Init Fail means?
Updated 13.02.2023:
Tried to read different registers with uuu. And found that some registers has not default values and not at the state I have set at DCD.
For example:
I set at DCD gpio for SD4 at value 0x0001D020,but in time when the device fall to USB I have 0x000070F0. It is not a default value (0x0001B0B0).
You can see diff of two registers (bmode usb VS freeze)
And it is not only with iomuxc problem. Some times I see problems even with mmdc initialization. For example:
Above you can see registers after two different freezes. At the left side mmdc registers even are not set (I haven't compared with default).At the right side another freeze but mmdc registers are set almost properly. Look at the register 0x021b08b8 must be 0x00000800. But there none of them contain this value.
OSC looks stable.
Powers - also stable. I reproduce the freezes even in cycle reset.
Just set at u-boot param bootcmd as reset
Hi @Kanstantsin1,
Yes. Sorry I haven't mentioned that my emmc on uSDHC4
MFG Mode USDHC device Init Fail looks like it's absent
Yes. Sorry I haven't mentioned that my emmc on uSDHC4.
There are another devices on uSDHC1 and uSDHC2 on the custom device. So MFG uSDCH INIT will not be passed anyway.
Here is written about uSDHC1 and uSDHC2: