Issue with micro-SDHC Card Detection on Custom LS1012A-Based Board

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Issue with micro-SDHC Card Detection on Custom LS1012A-Based Board

3,048 次查看
Dhanyalakshmi
Contributor III

Dear NXP Team,

We have designed a custom board based on the FRWY-LS1012A evaluation board, with minimal changes. The main differences are the removal of the audio jack, Micro-Click connectors, and Ethernet ports, while all other components remain the same.

I successfully flashed the U-Boot firmware (firmware_ls1012afrwy_uboot_qspiboot.img) onto the custom board’s QSPI NOR flash, and the board is booting correctly with console output as expected.

The next step was to load the OS from a micro-SDHC card. I formatted the card and copied both the OS image (ls-image-main-ls1012afrwy-20240806042644.rootfs.tar.gz) and the bootloader firmware (firmware_ls1012afrwy_uboot_qspiboot.img) onto it.

Note: The same micro-SDHC card successfully loads the OS on the evaluation board.

However, on the custom board, the micro-SDHC card is not detected. I used the "mmc info" command to verify this. While the card is detected on the evaluation board, it is not recognized on the custom board. I’ve attached an image of the relevant console output for your reference.

We have attempted to troubleshoot the issue and checked the clock signal for the SD card interface using an oscilloscope. Unfortunately, no clock signals are being generated.

Could you please advise on potential causes for this issue and the steps we should follow to resolve it? Are there any specific configurations we may have overlooked?

Looking forward to your prompt response.

Thank you.

 

With Regards,

Dhanyalakshmi K N

0 项奖励
回复
9 回复数

2,791 次查看
johnsmithcarey
Contributor III

Dear NXP Team,

We have designed a custom board based on the FRWY-LS1012A evaluation board, with minimal changes. The main differences are the removal of the audio jack, Micro-Click connectors, and Ethernet ports, while all other components remain the same.

I successfully flashed the U-Boot firmware (firmware_ls1012afrwy_uboot_qspiboot.img) onto the custom board’s QSPI NOR flash, and the board is booting correctly with console output as expected.

The next step was to load the OS from a micro-SDHC card. I formatted the card and copied both the OS image (ls-image-main-ls1012afrwy-20240806042644.rootfs.tar.gz) and the bootloader firmware (firmware_ls1012afrwy_uboot_qspiboot.img) onto it.

Note: The same micro-SDHC card successfully loads the OS on the evaluation board.

However, on the custom board, the micro-SDHC card is not detected. I used the "mmc info" command to verify this. While the card is detected on the evaluation board, it is not recognized on the custom board. I’ve attached an image of the relevant console output for your reference.

We have attempted to troubleshoot the issue and checked the clock signal for the SD card interface using an oscilloscope. Unfortunately, no clock signals are being generated.

Could you please advise on potential causes for this issue and the steps we should follow to resolve it? Are there any specific configurations we may have overlooked?

Looking forward to your prompt response.

Thank you.

 

With Regards,

We have successfully flashed U-Boot firmware onto our custom board and confirmed that it boots correctly, with expected console output. However, we are encountering a significant issue when attempting to load the OS from a micro-SDHC card.

0 项奖励
回复

2,760 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please address your new issue in a new thread.

Thanks.

0 项奖励
回复

2,980 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Can you provide me schematics of the custom board ?

0 项奖励
回复

2,976 次查看
Dhanyalakshmi
Contributor III

This is the schematic:

 

0 项奖励
回复

2,897 次查看
yipingwang
NXP TechSupport
NXP TechSupport

can you check the following:

1. the value on detect signal
2. dump the SD controller registers on uboot
3. can you provide us oscilloscope screenshots for all pins, detect, clock, etc ?

0 项奖励
回复

2,891 次查看
Dhanyalakshmi
Contributor III
Hello Yiping,
Thank You for the reply,

As I informed in my first post that SD_CLK is not getting generated,so we gave the card for X-Ray. I tried with other custom board that I have now SD card getting detected and OS is booted from it.

Thank You
0 项奖励
回复

2,889 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Thanks.

0 项奖励
回复

2,969 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Got it, thx

0 项奖励
回复

3,011 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Discussing with the AE team.