Imx6solox locks in ROM

cancel
Showing results for 
Search instead for 
Did you mean: 

Imx6solox locks in ROM

660 Views
niranjanbc
Contributor IV

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

Labels (6)
0 Kudos
6 Replies

405 Views
igorpadykov
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

405 Views
niranjanbc
Contributor IV

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

0 Kudos

405 Views
igorpadykov
NXP TechSupport
NXP TechSupport

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

0 Kudos

405 Views
niranjanbc
Contributor IV

no it is not working in u-boot

0 Kudos

405 Views
igorpadykov
NXP TechSupport
NXP TechSupport

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

0 Kudos

405 Views
niranjanbc
Contributor IV

Thanks Igor

0 Kudos