2008-11-14 01:17:16     microSD card not detected.

Document created by Aaronwu Employee on Aug 8, 2013
Version 1Show Document
  • View in full screen mode

2008-11-14 01:17:16     microSD card not detected.

V Hemanth Kumar (INDIA)

Message: 65265   

 

Hi,

 

I have BF527 EZkit on which I am not able to detect the microSD card in uClinux.

 

Hardware Setup:-

 

The microSD Adapter(Kingston) is connected to operate in SPI mode. The SPI signals on stamp PPI connector is used to connect to the microSD Adapter. The Chip Select (CS) of adapter is connected to SPISEL5 (PH9).

 

With this being done, the microSD card is inserted into the adapter.

 

Software Setup:-

 

I have built the uClinux with MMC/SD driver support. Also I have set 5 to SPI chip select and 2000000 for SPI clock. And "SPI Framework master" option for SPI driver.

 

With the above HW & SW configuration after booting the uClinux if I try cat /proc/spi_mmc it displays the below message:-

 

driver build date: Nov 14 2008

SCLK: 20000 KHz

SPISEL5 as chip select

Driver: SPI Framework master

No MMC/SD card found.

 

What could be the problem?

 

Am I doing some thing wrong either/both in SW/HW configuration? Please advise.

 

 

QuoteReplyEditDelete

 

 

2008-11-14 11:51:24     Re: microSD card not detected.

Frank Van Hooft (CANADA)

Message: 65309   

 

If you're using a microSD adaptor, does that mean you have a normal SD card socket on your board? If so, have you tried any regular SD cards? Try smaller cards (1 Gig & smaller) at first.

 

The driver runs the card in SPI mode. Note that for microSD, SPI support is optional. See:

 

http://en.wikipedia.org/wiki/MicroSD

 

If your particular card doesn't support SPI, then the driver certainly won't work.

QuoteReplyEditDelete

 

 

2008-11-17 01:57:24     Re: microSD card not detected.

V Hemanth Kumar (INDIA)

Message: 65355   

 

Hi Frank, thanks for the reply, the BF527 EZ Kit as such does not house a microSD slot, because of which we used the microSD adapter. What does normal SD card socket mean?

 

The card which I am using is of 1GB memory (I will try with smaller ones).

 

I will try contacting the Kingston technical support to know if it supports SPI mode or not.

 

 

QuoteReplyEditDelete

 

 

2008-11-19 22:06:34     Re: microSD card not detected.

Yi Li (CHINA)

Message: 65568   

 

V Hemanth Kumar,

 

> What does normal SD card socket mean?

 

I think Frank refers it to SD card with normal size.

 

-Yi

QuoteReplyEditDelete

 

 

2008-11-20 08:40:32     Re: microSD card not detected.

V Hemanth Kumar (INDIA)

Message: 65604   

 

Hi Yi Li, the SD adapter which I am using is Kingston MicroSD adapter which is normal to other SD adapters. What I mean is the pin is compatible as compared to other SD adapters.

Attachments

    Outcomes