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

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

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

2,815 Views
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 Kudos
Reply
9 Replies

2,558 Views
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 Kudos
Reply

2,527 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please address your new issue in a new thread.

Thanks.

0 Kudos
Reply

2,747 Views
yipingwang
NXP TechSupport
NXP TechSupport

Can you provide me schematics of the custom board ?

0 Kudos
Reply

2,743 Views
Dhanyalakshmi
Contributor III

This is the schematic:

 

0 Kudos
Reply

2,664 Views
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 Kudos
Reply

2,658 Views
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 Kudos
Reply

2,656 Views
yipingwang
NXP TechSupport
NXP TechSupport

Thanks.

0 Kudos
Reply

2,736 Views
yipingwang
NXP TechSupport
NXP TechSupport

Got it, thx

0 Kudos
Reply

2,778 Views
yipingwang
NXP TechSupport
NXP TechSupport

Discussing with the AE team.