2008-11-28 10:44:54     MMC/SD Diagnostics

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

2008-11-28 10:44:54     MMC/SD Diagnostics

V Hemanth Kumar (INDIA)

Message: 65969   

 

Hi,

 

Has any one written a diagnostics or initialization code for MMC/SD (microSD) in SPI mode for uBoot or VDSP?

 

Is there an option to test the MMC/SD card in uBoot?

 

~Hemanth

QuoteReplyEditDelete

 

 

2008-11-28 11:37:24     Re: MMC/SD Diagnostics

Robin Getz (UNITED STATES)

Message: 65971   

 

Hemanth:

 

On which part? Cliff recently added BF54x MMC/SDIO support to U-Boot. (which has the built in controller).

 

http://blackfin.uclinux.org/gf/project/u-boot/scmsvn/?action=browse&path=%2Ftrunk%2Fu-boot-2008.10%2Fdrivers%2Fmmc%2Fbfin_sdh.c&view=log

 

-robin

QuoteReplyEditDelete

 

 

2008-11-28 11:42:52     Re: MMC/SD Diagnostics

V Hemanth Kumar (INDIA)

Message: 65972   

 

Hi Robin, thanks for the reply.

 

I am using BF527 EZ Kit.

 

~Hemanth

QuoteReplyEditDelete

 

 

2008-11-28 11:46:38     Re: MMC/SD Diagnostics

V Hemanth Kumar (INDIA)

Message: 65973   

 

We have interfaced the microSD slot (with SPI mode connections) to the BF527 EZKIT.

 

For this we need to test the initialization of the microSD card in SPI mode & just read the manufacturer information.

 

 

QuoteReplyEditDelete

 

 

2008-11-28 15:49:45     Re: MMC/SD Diagnostics

Mike Frysinger (UNITED STATES)

Message: 65988   

 

there is no driver currently for MMC/SD over SPI in u-boot

QuoteReplyEditDelete

 

 

2008-12-01 00:14:28     Re: MMC/SD Diagnostics

V Hemanth Kumar (INDIA)

Message: 66052   

 

Also I assume no driver is available for MMC/SD for SD mode right?

 

~Hemanth

QuoteReplyEditDelete

 

 

2008-12-01 00:21:44     Re: MMC/SD Diagnostics

Mike Frysinger (UNITED STATES)

Message: 66054   

 

i dont really understand what you're asking

QuoteReplyEditDelete

 

 

2008-12-01 01:49:45     Re: MMC/SD Diagnostics

V Hemanth Kumar (INDIA)

Message: 66057   

 

I am sorry for the short description.

 

As you might be knowing that, MMC/SD cards support SD mode & SPI mode. The SD mode requires all 8 pins of SD card to be connected to the host. Where are SPI mode requires only 6 pins.

 

So my question was, are there any drivers in uboot supporting either of these modes.

 

Hope my question is clear.

 

~Hemanth

QuoteReplyEditDelete

 

 

2008-12-01 02:48:48     Re: MMC/SD Diagnostics

Mike Frysinger (UNITED STATES)

Message: 66058   

 

the only MMC/SD driver that exists in u-boot is for Blackfin parts with SDH on-chip

Attachments

    Outcomes