Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

SD Card Drvier problem

I test SD card driver for uClinux with the NEEK board.

When I start the board is OK. (SDHC 2.0 Class 4 4GB)

--- Quote Start ---

mmc_spi spi2.0: ASSUMING SPI bus stays unshared!

mmc_spi spi2.0: ASSUMING 3.2-3.4 V slot power

mmc_spi spi2.0: SD/MMC host mmc0, no DMA, no WP, no poweroff

...

mmc0: host does not support reading read-only switch. assuming write-enable.

mmc0: new SDHC card on SPI

mmcblk0: mmc0:0000 SA04G 3.68 GiB

mmcblk0: p1

--- Quote End ---

When I redownload the hardware and software image to the board, it is error:

[Use "Ctrl+ C" to stop last running]

{nios2-configure-sof web_sd.sof ; nios2-download -g zImage ; nios2-terminal)

--- Quote Start ---

mmc_spi spi2.0: ASSUMING SPI bus stays unshared!

mmc_spi spi2.0: ASSUMING 3.2-3.4 V slot power

mmc_spi spi2.0: SD/MMC host mmc0, no DMA, no WP, no poweroff

...

mmc0: error -110 whilst initialising SD card

--- Quote End ---

I try a few times, it show same error.

Only press the power, it show ok in first times.

But I use 128MB or 256MB SD card to test the driver.

These are ok with "Ctrl+C".

The problem is SD card 2.0's problem? Or else?

BTW: I aleady used the up to date driver. I update it today.
No RepliesBe the first to reply