[#5731] For some clock, spi mmc fail to work on bf537-stamp u-boot

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

[#5731] For some clock, spi mmc fail to work on bf537-stamp u-boot

Submitted By: Vivi Li

Open Date

2009-11-30 23:18:06     Close Date

2010-03-01 03:18:25

Priority:

Medium     Assignee:

Cliff Cai

Category:

N/A     Fixed In Release:

N/A

Found In Release:

N/A     Status:

Closed

Board:

STAMP     Processor:

BF537

Silicon Revision:

    Resolution:

Fixed

Is the bug repeatable?:

N/A     

Summary: For some clock, spi mmc fail to work on bf537-stamp u-boot

Details:

 

Spi mmc fail to work on bf537-stamp uboot when CCLK is 200MHz and SCLK is 100MHz. This happens after bug 5634 is fixed.

 

--

CPU:   ADSP bf537-0.2 (Detected Rev: 0.2) (bypass boot)

Board: ADI BF537 stamp board

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

Clock: VCO: 400 MHz, Core: 200 MHz, System: 100 MHz

RAM:   64 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

Hit any key to stop autoboot:  9 ^H^H^H 8 ^H^H^H 7 ^H^H^H 0

bfin>

bfin> set mmc_cs 4; set mmc_hz 20000000

bfin> save

Saving Environment to Flash...

. done

Un-Protected 1 sectors

Erasing Flash...

. done

Erased 1 sectors

Writing to Flash... done

. done

Protected 1 sectors

bfin> printenv mmc_cs mmc_hz

mmc_cs=4

mmc_hz=20000000

bfin> mmc init

using spi0.4 at 20000000 hz with mode 3

No MMC card found

bfin>

--

 

Follow-ups

 

--- Cliff Cai                                                2009-12-07 03:04:23

fixed,the baud value of spi should be rounded up, otherwise, sck may bigger than

the one we expect

 

--- Vivi Li                                                  2010-03-01 03:17:30

OK in trunk now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes