[#5292] mmcinit fails to execute for some frequencies on bf518 board 0.2

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

[#5292] mmcinit fails to execute for some frequencies on bf518 board 0.2

Submitted By: Vivi Li

Open Date

2009-06-24 06:50:41     Close Date

2009-07-02 02:10:55

Priority:

Medium     Assignee:

Cliff Cai

Category:

N/A     Fixed In Release:

N/A

Found In Release:

2009R1     Status:

Closed

Board:

N/A     Processor:

BF518

Silicon Revision:

    Resolution:

Assigned (Not Start)

Is the bug repeatable?:

N/A     

Summary: mmcinit fails to execute for some frequencies on bf518 board 0.2

Details:

 

mmcinit fails to execute for some frequencies on bf518.

I've tried several frequency combination and bellow is my result.

 

CCLK/SCLK that passed:

100/40

156/78

200/80

200/67

200/57

225/37.5

250/71

400/57

400/44

 

CCLK/SCLK that failed:

100/50

200/50

400/50

225/50 

 

It seems it always fail when SCLK=50MHz. And it's not a regression.

 

Error log in u-boot:

--

U-Boot 2008.10-svn1947 (ADI-2009R1-rc2) (Jun 24 2009 - 18:48:28)

 

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

Board: ADI BF518F EZ-Board board

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

Clock: VCO: 200 MHz, Core: 200 MHz, System: 50 MHz

RAM:   64 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

MAC:   00:E0:FE:AA:85:73

Hit any key to stop autoboot:  0

bfin>

bfin> mmcinit

CID information:

Manufacturer ID:       1C

OEM/Application ID:    5356

Product name:          SDC

Product Revision:      1.0

Product Serial Number: 1046

Manufacturing Date:    03/11

SD Card detected (RCA 45928)

CSD information:

CSD structure version:   1.0

Card command classes:    5f5

Max trans speed: 25MHz

Read block length:       1024

Write block length:      8192

Card capacity:          2007498752 bytes

 

mmc: bread failed, status = 00000002, card status = 00000900

bfin>

--

 

Follow-ups

 

--- Vivi Li                                                  2009-07-02 00:04:24

I checked with 400/50 on bf518 board 0.1, no such problem.

This exists on board 0.2

 

--- Cliff Cai                                                2009-07-02 01:59:01

SD shares pins with SPORT0,and by default,SPORT0 is enabled on the BF518-EZBRD.

In order to make SD card work properly,SPORT0 must be disabled.

 

Cliff

 

--- Vivi Li                                                  2009-07-02 02:10:55

OK now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes