Imx6solox locks in ROM at this address 0x140A, some times when we recycle the power it boots fine from emmc.
we have imx6solox configured to boot from emmc memory connected sd4 interface
I am reading boot config values fine even when it is locked in ROM.
I read below values in Lauterbach
Boot CFG4 =0,
Boot CFG3 = 0,
Boot CFG2 = 0x58
Boot CFG1 = 0x62
any idea what could be the problem why it is locking in ROM.
thanks
Niranjan
Hi Niranjan
unfortunately rom sources are not available, so not possible to find what is processor
doing. General debug steps is to recheck power up sequence described in datasheet
https://www.nxp.com/docs/en/data-sheet/IMX6SXCEC.pdf
try to extend POR (one can do it manually) up to 1 sec.
Check power supplies for glitches, use IMX6SXHDG Hardware Development Guide for i.MX 6SoloX,
sect.4.4 Checking for clock pitfalls, ripple voltage requirements in Table 2-7, check with oscilloscope
VDD_ARM_CAP, VDD_SOC_CAP, VDD_SNVS_IN, VDD_SNVS_CAP
http://www.nxp.com/assets/documents/data/en/user-guides/IMX6SXHDG.pdf
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
thanks for the response Igor
if I boot from Sdcard, i see below message while trying to access emmc. any idea what could be the problem.
mmc3: Timeout waiting for hardware interrupt.
mmcblk3: error -110 sending stop command, original cmd response 0x2000900, card
status 0x2400900
mmcblk3: error -110 transferring data, sector 0, nr 8, cmd response 0x2000900, c
ard status 0x0
mmcblk3: retrying using single block read
mmc3: Timeout waiting for hardware interrupt.
mmcblk3: error -110 transferring data, sector 0, nr 8, cmd response 0x2000900, c
ard status 0x0
end_request: I/O error, dev mmcblk3, sector 0
Hi Niranjan
is emmc working in uboot?
Problem may be related to drive strength issues as on
https://community.nxp.com/thread/332110
Best regards
igor
no it is not working in u-boot
please check emmc signlas with oscilloscope.
One can test usdhc module with baremetal SDK (adapt it for i.MX6SX changing
register addresses specific for i.MX6SX) and jtag
swp-report/iMX6_Platform_SDK/sdk/drivers/usdhc at master · backenklee/swp-report · GitHub
Github SDK
https://github.com/backenklee/swp-report/tree/master/iMX6_Platform_SDK
Best regards
igor
Thanks Igor