ls1043 is booting fail from sd

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

ls1043 is booting fail from sd

1,268 Views
yangxs1977
Contributor II

is the ls1043'booting fail if the pin sdhc_cd is no conected? note: i want to boot from SD with ls1043.

0 Kudos
6 Replies

975 Views
Pavel
NXP Employee
NXP Employee

Check the LS1043a SDHC pin termination using the Table 16 of the LS1043A Design ChecklList:

https://www.nxp.com/webapp/Download?colCode=AN5012&location=null&Parent_nodeId=&Parent_pageType=

 

Look at also the AN12081:

https://www.nxp.com/webapp/Download?colCode=AN12081

 

Check your RCW source. See the TABLE 4-9 of the LS1043a Reference Manual.

 

Comparte your RCW code and the LS1043ARDB RCW for SD boot:

08100010 0A000000 00000000 00000000 

14550002 80004012 60040000 C1002000 

00000000 00000000 00000000 00038800 

00000000 00001100 00000096 00000001 


Have a great day,
Pavel Chubakov

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

0 Kudos

975 Views
zheng
Contributor II

yipingwang‌ PavelChubakov‌ please help me. thank you!

0 Kudos

975 Views
zheng
Contributor II

hi, Pavel

I meet the same problem. 98khz clock can be detected at sd_clk , cmd and dat[3:0] are pulled to 3.3v without toggle. RCW_SRC has been set to ox40, boot from SD. I think none of bit of RCW data from SD block can be loaded into the RCWSRn registers.  

how to solve the problem?

Thank you!

0 Kudos

975 Views
yangxs1977
Contributor II

See the Table 27-6 of the LS1043a Reference Manual. the error code 0x41. it means if there is no card detected, an error will be reported to platform. PBL  initializes the QuadSPI, eSDHC, or IFC FCM(NAND flash) interface before accessing the RCW or PBI commands.

975 Views
yangxs1977
Contributor II

Hello, Pavel

    I can only see the sd_clk(100khz),no other signal (cmd,dat0~3) is found. it looks like that the cpu do not read the sd card.

Best Regard,

Yang,xiaosong

975 Views
Pavel
NXP Employee
NXP Employee

Connection of this pin is not needed for SD boot. This pin is assigned to I2C_2 in the LS1043ARDB RCW for SD boot:

08100010 0A000000 00000000 00000000 

14550002 80004012 60040000 C1002000 

00000000 00000000 00000000 00038800 

00000000 00001100 00000096 00000001 

The 445-447 bits are cleared. See the Table 4-14 of the LS1043a Reference Manual.


Have a great day,
Pavel Chubakov

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

0 Kudos