2009-07-31 03:34:22     BF518F的MMC问题

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

2009-07-31 03:34:22     BF518F的MMC问题

Jie Zhou (CHINA)

Message: 78235   

 

Hi,  我有一块BF518F-ezbrd(REV 0.2),烧入u-boot-bf518f-ezbrd-spi-2009R1-rc3.ldr,将SW20、SW21全部拨到“ON”,用mmcinit看板子上的U16(2G的MMC),大部分显示出来的是:

 

bfin> mmcinit

CMD55 timeout

CMD1 timeout

No MMC card found

 

偶尔有几次也能显示:

 

bfin> mmcinit

CMD55 timeout

CID information:

Manufacturer ID:       13

OEM/Application ID:    0000

Product name:

Product Revision:      1.1

Product Serial Number: 2023034545

Manufacturing Date:    06/05

CSD information:

CSD structure version:   1.2

Card command classes:    0f5

Max trans speed: 50MHz

Read block length:       1024

Write block length:      8192

Card capacity:          2056257536 bytes

 

不知道是我这块板的个性硬件问题还是u-boot的问题?请求帮助!

 

谢谢!

QuoteReplyEditDelete

 

 

2009-07-31 04:18:39     Re: BF518F的MMC问题

Yi Li (CHINA)

Message: 78239   

 

请把你的u-boot 启动message 贴在这里,例如这是我的bf518-ezbrd:

 

U-Boot 2008.10-svn1767 (ADI-2009R1-pre) (Mar 31 2009 - 16:20:37)

 

CPU:   ADSP bf518-0.0 (Detected Rev: 0.0) (spi flash boot)

Board: ADI BF518F EZ-Board board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 400 MHz, Core: 400 MHz, System: 80 MHz

RAM:   64 MB

Flash: ## Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MB

0 kB

SF: Got idcode 20 20 15

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

MAC:   00:E0:FE:6A:65:53

Hit any key to stop autoboot:  0

 

另外uboot的 developer 目前外出,等他回来看看。

QuoteReplyEditDelete

 

 

2009-07-31 04:21:36     Re: BF518F的MMC问题

Yi Li (CHINA)

Message: 78240   

 

你还可以在Linux kernel 里enable SD host, 然后试一下在 linux kernel里能否正确检测 sd/mmc 卡。 http://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:bfin_sdh

QuoteReplyEditDelete

 

 

2009-08-02 20:25:04     Re: BF518F的MMC问题

Jie Zhou (CHINA)

Message: 78275   

 

Hi,

 

我的bf518f-ezbrd的uboot启动信息如下:

 

U-Boot 2008.10 (ADI-2009R1-rc3) (Jul 16 2009 - 18:00:05)

 

CPU:   ADSP bf518-0.0 (Detected Rev: 0.0) (spi flash boot)

Board: ADI BF518F EZ-Board board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 400 MHz, Core: 400 MHz, System: 80 MHz

RAM:   64 MB

Flash:  4 MB

SF: Got idcode 20 20 15

In:    serial

Out:   serial

Err:   serial

Net:   Warning: Generating 'random' MAC address

Blackfin EMAC

MAC:   FA:BA:B0:C9:C7:2B

Hit any key to stop autoboot:  0

 

谢谢!

QuoteReplyEditDelete

 

 

2009-08-02 23:36:33     Re: BF518F的MMC问题

Cliff Cai (CHINA)

Message: 78282   

 

SD and sport0 share the same pins on bf518-ezbrd,so,you need to turn off the sport connections first.See below

 

http://docs.blackfin.uclinux.org/doku.php?id=hw:boards:bf518f-ezbrd

 

 

 

Cliff

QuoteReplyEditDelete

 

 

2009-08-03 04:55:04     Re: BF518F的MMC问题

Jie Zhou (CHINA)

Message: 78297   

 

Hi,  Cliff,  Hi, Yi,

 

When I turn the SW15 all OFF, the problem is solved. Thank you.

 

Jie

Attachments

    Outcomes