2011-01-11 04:20:13     BF516 V0.1 SDH is not compatibility with some micro sd card problem

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

2011-01-11 04:20:13     BF516 V0.1 SDH is not compatibility with some micro sd card problem

Bill Xie (CHINA)

Message: 97335   

 

Hi,

 

     In my system using 8G class 2 sandisk micro sd card and 8G class transcend class 6 micro sd card work fine. But now  system  mount  8G class 4 sandisk and 8G class 4 kingston micro sd card with error or cann't work. Does the blackfin bf516 sdhc interface with some bug led to not compatibility with some micro sd card?

 

software version: Linux version 2.6.34.7-ADI-2010R1  (gcc version 4.3.5 (ADI-2010R1-RC4) )

 

Hardware version:ADSP-BF516 Rev 0.1.

 

Next time using sandisk 8G class 4 micro sd card to test.

 

 

 

1. if not mount card in system, the system often dectect  card remove and insert. I confirm that the card insert into card connector ok.

 

mmc0: card e624 removed

mmc0: host does not support reading read-only switch. assuming write-enable.

mmc0: new SDHC card at address e624

mmcblk1: mmc0:e624 SU08G 7.40 GiB

mmcblk1: unknown partition table

mmc0: card e624 removed

mmc0: host does not support reading read-only switch. assuming write-enable.

mmc0: new SDHC card at address e624

mmcblk1: mmc0:e624 SU08G 7.40 GiB

mmcblk1: unknown partition table

mmc0: card e624 removed

mmc0: host does not support reading read-only switch. assuming write-enable.

mmc0: new SDHC card at address e624

mmcblk1: mmc0:e624 SU08G 7.40 GiB

mmcblk1: unknown partition table

mmc0: card e624 removed

mmc0: host does not support reading read-only switch. assuming write-enable.

mmc0: new SDHC card at address e624

mmcblk1: mmc0:e624 SU08G 7.40 GiB

mmcblk1: unknown partition table

 

2.  mount -t ext2 /dev/mmcblock0 /mnt

 

 

mmcblk0: retrying using single block read

mmcblk0: error -110 sending status comand

mmcblk0: error -110 sending read/write command, response 0x800900, card status 0x800900

mmcblk0: error -110 requesting status

end_request: I/O error, dev mmcblk0, sector 0

Buffer I/O error on device mmcblk0, logical block 0

lost page write due to I/O error on mmcblk0

mmcblk0: error -110 sending status comand

mmcblk0: error -110 sending read/write command, response 0x800900, card status 0x800900

mmcblk0: error -110 requesting status

end_request: I/O error, dev mmcblk0, sector 0

Buffer I/O error on device mmcblk0, logical block 0

 

3. if use fat32 filesytem mount micro sd card, system wil be crash.

 

mmcblk0: error -110 sending read/write command, response 0x800900, card status 0x800900

end_request: I/O error, dev mmcblk0, sector 8192

FAT: unable to read boot sector

mount: mounting /dev/mmcblk0p1 on /mnt/ failed: Input/output error

root:/>  [6nirq 58: nobody cared (try booting with the "irqpoll" option)

Hardware Trace:

   0 Target : <0x00168874> { _dump_stack + 0x0 }

     Source : <0x0002ea9c> { ___report_bad_irq + 0x1c } JUMP.L

   1 Target : <0x0002ea9c> { ___report_bad_irq + 0x1c }

     Source : <0x0002eaf8> { ___report_bad_irq + 0x78 } JUMP.S

   2 Target : <0x0002eaf8> { ___report_bad_irq + 0x78 }

     Source : <0x00168978> { _printk + 0x14 } RTS

   3 Target : <0x00168974> { _printk + 0x10 }

     Source : <0x00010d5e> { _vprintk + 0x16a } RTS

   4 Target : <0x00010d52> { _vprintk + 0x15e }

     Source : <0x00010d44> { _vprintk + 0x150 } IF CC JUMP pcrel

   5 Target : <0x00010d3c> { _vprintk + 0x148 }

     Source : <0x00010e26> { _vprintk + 0x232 } JUMP.S

   6 Target : <0x00010e26> { _vprintk + 0x232 }

     Source : <0x0001097a> { _release_console_sem + 0x1be } RTS

   7 Target : <0x00010972> { _release_console_sem + 0x1b6 }

     Source : <0x00010964> { _release_console_sem + 0x1a8 } IF CC JUMP pcrel

   8 Target : <0x00010954> { _release_console_sem + 0x198 }

     Source : <0x00010946> { _release_console_sem + 0x18a } IF CC JUMP pcrel (BP)

   9 Target : <0x0001093e> { _release_console_sem + 0x182 }

     Source : <0x0002327e> { _up + 0x3e } RTS

  10 Target : <0x00023278> { _up + 0x38 }

     Source : <0x0002326a> { _up + 0x2a } IF CC JUMP pcrel (BP)

  11 Target : <0x00023240> { _up + 0x0 }

     Source : <0x0001093a> { _release_console_sem + 0x17e } JUMP.L

  12 Target : <0x00010926> { _release_console_sem + 0x16a }

     Source : <0x0001081e> { _release_console_sem + 0x62 } IF CC JUMP pcrel

  13 Target : <0x000107fe> { _release_console_sem + 0x42 }

     Source : <0x00010850> { _release_console_sem + 0x94 } IF CC JUMP pcrel (BP)

  14 Target : <0x00010846> { _release_console_sem + 0x8a }

     Source : <0x000103ce> { __call_console_drivers + 0x62 } RTS

  15 Target : <0x000103c8> { __call_console_drivers + 0x5c }

     Source : <0x000103a2> { __call_console_drivers + 0x36 } IF CC JUMP pcrel

Stack info:

SP: [0x00215d08] <0x00215d08> /* kernel dynamic memory */

Memory from 0x00215d00 to 00216000

00215d00: 00215d08  0000003a [0000003a] 0002eaa0  0020a3e8  0000003a <0002dc56> 0000003a

00215d20: 00000000  0002ec08  0020a3e8  000353d0  0002f430  002093a8  0002f430  0020a3e8

00215d40: 00214008  00214000  0000003a  00215ed8  00000000  0000000a  001fedb0  0001488a

00215d60: 0020e4fc <ffa00352> 0020e4fc  0000003a  00215d88  ffa00c40  0150ee60  ffa00c40

00215d80: 0020e4fc  00000202  00000000  0001ff46  0002dc28  000080d0  0001491c  0000c090

00215da0: 00000000  00000000  00248000  002811f4  0001491c  ffa00338  00000007  02002000

00215dc0: 00294105  000ea8ec  002940ba  000ea8ea  00000000  00000000  00000007  00000000

00215de0: 00000007  00000000  00000000  00000000  00000000  00000000  00000000  00000000

00215e00: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

00215e20: 015141ac  00215ed8  00216000  001fedb0  0020e4fc  00214008  00214000  00206a64

00215e40: 00214000  001fa094  00000202  00000000  00000000  0000000a  00215eb0  00000100

00215e60: 00214000  0000ffff  0000ffff  001fa094  00000006  00000000  0002f430  0020a3e8

00215e80: 00214008  00214008  0000003a  001f526c  ffa00338  0020e4fc  00214008  00214008

00215ea0: 0000003a  00000000  00000000  00000000  00000000  00000000  00000007  ffa00c40

00215ec0: ffa00118  ffa00118  00000000  00000000  00000000  00000000  ffa0013c  00008090

00215ee0: 00000000  00000000  00248000  002811f4  ffa0013c <ffa002d0> 00000007  02003024

00215f00: 00294105  000ea8ec  002940ba  000ea8ea  00000000  00000000  00000007  00000000

00215f20: 00000007  00000000  00000000  00000000  00000000  00000000  00000000  00000000

00215f40: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

00215f60: 015141ac  00206a64  00216000  001f526c  ffa00118  00214008  00214008  00206a64

00215f80: 00206a64  ffa009c8  ffa00118  00000000  00000000  00000000  00000000  00000000

00215fa0: 00000000  0000ffff  0000ffff  ffa009c8  00000006  00000000  0022d7d4  00000000

00215fc0: 00216000  00216630  00200684  001f5004  00000000  0022d7d4  001b9cb0  0022ae04

00215fe0: 001f44c8  00000018  00216208  0022d7d4  0021f7c6  00000000  00000000  ffb00000

Return addresses in stack:

    address : <0x0002dc56> { _handle_IRQ_event + 0x4a }

    address : <0xffa00352> { _asm_do_IRQ + 0x72 }

    address : <0xffa002d0> { _cpu_idle + 0x30 }

handlers:

[<00116870>] (_sdh_stat_irq+0x0/0x170)

Disabling IRQ #58

 

3. if use ext4 filesystem, mount -t ext4 /dev/mmcblk0 /mnt

 

 

EXT4-fs (mmcblk0): recovery complete

EXT4-fs (mmcblk0): mounted filesystem with ordered data mode

root:/>cd /mnt

root:/mnt> ls

mmcblk0: retrying using single block read

[1;34mlost+found [0m

root:/mnt>  [6nmmcblk0: error -110 sending read/write command, response 0xc00900, card status 0x800900

NULL pointer access

Kernel OOPS in progress

Deferred Exception context

CURRENT PROCESS:

COMM=mmcqd PID=171  CPU=0

invalid mm

return address: [0x0010f4f0]; contents of:

0x0010f4d0:  6142  e3fe  d9f7  6000  2f85  e14a  0020  e10a

0x0010f4e0:  6a64  9110  0040  3001  2f7d  0000  3209  3200

0x0010f4f0: [914a] a210  0c00  1c04  a1d1  0c01  1407  0000

0x0010f500:  ad0a  0c42  180e  3041  0052  0000  e400  002d

 

ADSP-BF516-0.1 400(MHz CCLK) 80(MHz SCLK) (mpu off)

Linux version 2.6.34.7-ADI-2010R1 (xiechl@localhost) (gcc version 4.3.5 (ADI-2010R1-RC4) ) #4 Wed Jan 12 01:19:07 CST 2011

 

SEQUENCER STATUS:        Not tainted

SEQSTAT: 00000027  IPEND: 8088  IMASK: ffff  SYSCFG: 0006

  EXCAUSE   : 0x27

  physical IVG3 asserted : <0xffa00760> { _trap + 0x0 }

  physical IVG7 asserted : <0xffa00df8> { _evt_evt7 + 0x0 }

  physical IVG15 asserted : <0xffa00f9c> { _evt_system_call + 0x0 }

  logical irq   6 mapped  : <0xffa0039c> { _bfin_coretmr_interrupt + 0x0 }

  logical irq  24 mapped  : <0x00116450> { _sdh_dma_irq + 0x0 }

  logical irq  29 mapped  : <0x000ffe28> { _bfin_serial_dma_rx_int + 0x0 }

  logical irq  30 mapped  : <0x000ffb9c> { _bfin_serial_dma_tx_int + 0x0 }

  logical irq  35 mapped  : <0x0010f17c> { _bfin_mac_interrupt + 0x0 }

  logical irq  58 mapped  : <0x00116870> { _sdh_stat_irq + 0x0 }

RETE: <0x00000000> /* Maybe null pointer? */

RETN: <0x0053bcb4> /* kernel dynamic memory (maybe user-space) */

RETX: <0x00000480> /* Maybe fixed code section */

RETS: <0x00116842> { _sdh_cmd_done + 0xde }

PC  : <0x0010f4f0> { _mmc_request_done + 0x4 }

DCPLB_FAULT_ADDR: <0x00000000> /* Maybe null pointer? */

ICPLB_FAULT_ADDR: <0x0010f4f0> { _mmc_request_done + 0x4 }

PROCESSOR STATE:

R0 : 0151a400    R1 : 00000000    R2 : 0000ffc0    R3 : 00000002

R4 : 0000003f    R5 : 0000003a    R6 : 00000000    R7 : 000000c5

P0 : 0151a400    P1 : 00000000    P2 : 00000000    P3 : 00206a64

P4 : ffc038c0    P5 : 0151a578    FP : 01522964    SP : 0053bbd8

LB0: ffa016c8    LT0: ffa016a8    LC0: 00000000

LB1: ffa003ee    LT1: ffa003ee    LC1: 00000000

B0 : 0000001b    L0 : 00000000    M0 : ffffffff    I0 : 0053bd54

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 00194818

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000020

B3 : 00000001    L3 : 00000000    M3 : 00000000    I3 : 0000000f

A0.w: 00186a00   A0.x: 00000000   A1.w: 00000826   A1.x: 00000000

USP : 00000000  ASTAT: 02003024

 

Hardware Trace:

   0 Target : <0x00003f10> { _trap_c + 0x0 }

     Source : <0xffa006f4> { _exception_to_level5 + 0xa4 } JUMP.L

   1 Target : <0xffa00650> { _exception_to_level5 + 0x0 }

     Source : <0xffa00504> { _bfin_return_from_exception + 0x18 } RTX

   2 Target : <0xffa004ec> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa005a8> { _ex_trap_c + 0x74 } JUMP.S

   3 Target : <0xffa00534> { _ex_trap_c + 0x0 }

     Source : <0xffa007ba> { _trap + 0x5a } JUMP (P4)

   4 Target : <0xffa00760> { _trap + 0x0 }

      FAULT : <0x0010f4f0> { _mmc_request_done + 0x4 } P2 = [P1]

     Source : <0x0010f4ee> { _mmc_request_done + 0x2 } 0x3200

   5 Target : <0x0010f4ec> { _mmc_request_done + 0x0 }

     Source : <0x0011683e> { _sdh_cmd_done + 0xda } JUMP.L

   6 Target : <0x00116832> { _sdh_cmd_done + 0xce }

     Source : <0x001167de> { _sdh_cmd_done + 0x7a } IF CC JUMP pcrel

   7 Target : <0x001167a8> { _sdh_cmd_done + 0x44 }

     Source : <0x00116824> { _sdh_cmd_done + 0xc0 } IF CC JUMP pcrel (BP)

   8 Target : <0x00116822> { _sdh_cmd_done + 0xbe }

     Source : <0x001167a0> { _sdh_cmd_done + 0x3c } IF CC JUMP pcrel (BP)

   9 Target : <0x0011679e> { _sdh_cmd_done + 0x3a }

     Source : <0x0011677a> { _sdh_cmd_done + 0x16 } IF CC JUMP pcrel (BP)

  10 Target : <0x00116764> { _sdh_cmd_done + 0x0 }

     Source : <0x00116978> { _sdh_stat_irq + 0x108 } JUMP.L

  11 Target : <0x00116976> { _sdh_stat_irq + 0x106 }

     Source : <0x00116898> { _sdh_stat_irq + 0x28 } IF !CC JUMP pcrel

  12 Target : <0x00116870> { _sdh_stat_irq + 0x0 }

     Source : <0x0002dc54> { _handle_IRQ_event + 0x48 } CALL (P2)

  13 Target : <0x0002dc4e> { _handle_IRQ_event + 0x42 }

     Source : <0x0002dc38> { _handle_IRQ_event + 0x2c } JUMP.S

  14 Target : <0x0002dc0c> { _handle_IRQ_event + 0x0 }

     Source : <0x0002f400> { _handle_simple_irq + 0x38 } JUMP.L

  15 Target : <0x0002f3c8> { _handle_simple_irq + 0x0 }

     Source : <0xffa00350> { _asm_do_IRQ + 0x70 } CALL (P1)

Kernel Stack

Stack info:

SP: [0x0053bc7c] <0x0053bc7c> /* kernel dynamic memory (maybe user-space) */

FP: (0x0053bcd0)

Memory from 0x0053bc70 to 0053c000

0053bc70: 0151a578  ffc038c0  00206a64 [00000000] 00000000  0151a400  000000c5  00000000

0053bc90: 0000003a  0000003f  00000002  0000ffc0  00000000  0151a400  0151a400  0151a400

0053bcb0: 00000006  00000007  02003025  ffa003ee  0011697c  0151a578  ffa016a8  00000000

0053bcd0:(00000000)<0002dc56> 014df220  ffffffc0  00000000  00000000  00000000  00000000

0053bcf0: 0000001b  0002f404  0020a4e4  0151ba00  0151cce8  0000003a  00000000  0000000f

0053bd10: 00000001  01522964  0001488a  00194818 <ffa00352> 0020e5f8  0000003a  0151a578

0053bd30: 0053be10  0151cce8  ffa00c40  00206a64  00000015  0053bf44  0053be24  0000000f

0053bd50: 00000001  0010ff58  00008090  00000000  00000000  01526000  002412a2  0010ff58

0053bd70: 00115cfa  00000007  02003004  ffa003ee  ffa016c8  ffa003ee  ffa016a8  00000000

0053bd90: 00000000  00000826  00000000  00186a00  00000000  00000001  00000000  00000000

0053bdb0: 0000001b  00000000  00000000  00000000  00000000  00000000  00000000  00000000

0053bdd0: ffffffff  0000000f  00000020  00194818  00000000  00000000  01522964  00206a64

0053bdf0: 0151ba00  0151cce8  00206a64  0151a400  010000c0  00000015  0053bf44  0000000f

0053be10: 00000001  00000045  00000002  0000ffff  0000ffff  0000ffff  010000c0  00000006

0053be30: 00000004  00115d70  0000000d  00115cfa  00115cfa  002072e4  0151b80c  ffffff92

0053be50: 00c00900  00800900 <00009b74> 0053bf38  0053bf34  0053bf30  0053bf2c  0053bf28

0053be70: 0053bf24  0053bf20  0053bf1c  00000000  0053be94  0053beec  0053bec0  0053be2c

0053be90: 00110738  00000019  00440000  00c00900  00000000  00000000  00000000  000000b5

0053beb0: 00000000  ffffff92  0053beec  0053be80  0000000c  00000000  00000000  00000000

0053bed0: 00000000  00000000  0000049d  00000000  00000000  00000000  0053be80  11e1a300

0053bef0: 00000000  00000200  00000008  00000000  00000100  00000000  0053bec0  0053be80

0053bf10: 00000001  014da2c0  0000000d  e6240000  00800900  00000000  00000000  00000000

0053bf30: 00000195  00000000  00000000  00000000  0053be28  0000000d  e6240000  00000900

0053bf50: 00000000  00000000  00000000  00000015  00000005  00000000  00000000  0053be28

0053bf70: 0053a000 <0011630c> 01522964  0053a000  01503220  00000001  0053bf94  0152296c

0053bf90: 00206a64  00000000  0053a008  0053a000  015030c8  00000000 <0001fbae> 0105dd88

0053bfb0: 001162a4  00000000  01522964  00000000  00000000  00000000  00000000  0001fb54

0053bfd0: 000014a8  00000000  00000000  0053bfdc  0053bfdc <000014ae> 00000000  00000000

0053bff0: 00000000  00000000  ffffffff  00000006

Return addresses in stack:

   frame  1 : <0x0002dc56> { _handle_IRQ_event + 0x4a }

    address : <0xffa00352> { _asm_do_IRQ + 0x72 }

    address : <0x00009b74> { _dequeue_task + 0x6c }

    address : <0x0011630c> { _mmc_queue_thread + 0x68 }

    address : <0x0001fbae> { _kthread + 0x5a }

    address : <0x000014ae> { _kernel_thread_helper + 0x6 }

Modules linked in:

Kernel panic - not syncing: Kernel exception

Hardware Trace:

Stack info:

SP: [0x0053bafc] <0x0053bafc> /* kernel dynamic memory (maybe user-space) */

FP: (0x0053bcd0)

Memory from 0x0053baf0 to 0053c000

0053baf0: 0000000b  0053bafc  00000013 [001bbbac] 001688f2  0053bbd8  001bbbac  001fa4be

0053bb10: 001fa4be  001fa4be  0053bb2c  0000434c  0053bbd8  00008088  0053bbd8  0000003f

0053bb30: 0000003f  00000000  00000000  0003000b  00000000  0001491c  0000c090  00000000

0053bb50: 00000000  00000000  00000000  0001491c  ffa00338  00000007  02002040  0000e598

0053bb70: ffa016c8  0000e582  ffa016a8  0002e1f4  00209bd4  0000ffff  0000001d  00000019

0053bb90: 00000000  ffffffff  00000001  0002e51e  00209bd4  00000000  00000000  00000000

0053bbb0: 001002cc  ffa006f8  001f7000  00008088  00000027  0000003a  0000003f  0151a578

0053bbd0: ffc038c0  00000480  00000480  00008088  00000027  00000000  0053bcb4  00000480

0053bbf0: 0010f4f0  00116842  0151a400  02003024  ffa003ee  ffa016c8  ffa003ee  ffa016a8

0053bc10: 00000000  00000000  00000826  00000000  00186a00  00000000  00000001  00000000

0053bc30: 00000000  0000001b  00000000  00000000  00000000  00000000  00000000  00000000

0053bc50: 00000000  ffffffff  0000000f  00000020  00194818  0053bd54  00000000  01522964

0053bc70: 0151a578  ffc038c0  00206a64  00000000  00000000  0151a400  000000c5  00000000

0053bc90: 0000003a  0000003f  00000002  0000ffc0  00000000  0151a400  0151a400  0151a400

0053bcb0: 00000006  00000007  02003025  ffa003ee  0011697c  0151a578  ffa016a8  00000000

0053bcd0:(00000000)<0002dc56> 014df220  ffffffc0  00000000  00000000  00000000  00000000

0053bcf0: 0000001b  0002f404  0020a4e4  0151ba00  0151cce8  0000003a  00000000  0000000f

0053bd10: 00000001  01522964  0001488a  00194818 <ffa00352> 0020e5f8  0000003a  0151a578

0053bd30: 0053be10  0151cce8  ffa00c40  00206a64  00000015  0053bf44  0053be24  0000000f

0053bd50: 00000001  0010ff58  00008090  00000000  00000000  01526000  002412a2  0010ff58

0053bd70: 00115cfa  00000007  02003004  ffa003ee  ffa016c8  ffa003ee  ffa016a8  00000000

0053bd90: 00000000  00000826  00000000  00186a00  00000000  00000001  00000000  00000000

0053bdb0: 0000001b  00000000  00000000  00000000  00000000  00000000  00000000  00000000

0053bdd0: ffffffff  0000000f  00000020  00194818  00000000  00000000  01522964  00206a64

0053bdf0: 0151ba00  0151cce8  00206a64  0151a400  010000c0  00000015  0053bf44  0000000f

0053be10: 00000001  00000045  00000002  0000ffff  0000ffff  0000ffff  010000c0  00000006

0053be30: 00000004  00115d70  0000000d  00115cfa  00115cfa  002072e4  0151b80c  ffffff92

0053be50: 00c00900  00800900 <00009b74> 0053bf38  0053bf34  0053bf30  0053bf2c  0053bf28

0053be70: 0053bf24  0053bf20  0053bf1c  00000000  0053be94  0053beec  0053bec0  0053be2c

0053be90: 00110738  00000019  00440000  00c00900  00000000  00000000  00000000  000000b5

0053beb0: 00000000  ffffff92  0053beec  0053be80  0000000c  00000000  00000000  00000000

0053bed0: 00000000  00000000  0000049d  00000000  00000000  00000000  0053be80  11e1a300

0053bef0: 00000000  00000200  00000008  00000000  00000100  00000000  0053bec0  0053be80

0053bf10: 00000001  014da2c0  0000000d  e6240000  00800900  00000000  00000000  00000000

0053bf30: 00000195  00000000  00000000  00000000  0053be28  0000000d  e6240000  00000900

0053bf50: 00000000  00000000  00000000  00000015  00000005  00000000  00000000  0053be28

0053bf70: 0053a000 <0011630c> 01522964  0053a000  01503220  00000001  0053bf94  0152296c

0053bf90: 00206a64  00000000  0053a008  0053a000  015030c8  00000000 <0001fbae> 0105dd88

0053bfb0: 001162a4  00000000  01522964  00000000  00000000  00000000  00000000  0001fb54

0053bfd0: 000014a8  00000000  00000000  0053bfdc  0053bfdc <000014ae> 00000000  00000000

0053bff0: 00000000  00000000  ffffffff  00000006

Return addresses in stack:

   frame  1 : <0x0002dc56> { _handle_IRQ_event + 0x4a }

    address : <0xffa00352> { _asm_do_IRQ + 0x72 }

    address : <0x00009b74> { _dequeue_task + 0x6c }

    address : <0x0011630c> { _mmc_queue_thread + 0x68 }

    address : <0x0001fbae> { _kthread + 0x5a }

    address : <0x000014ae> { _kernel_thread_helper + 0x6 }

 

 

 

Best regards

 

  Thanks.

 

-Bill

QuoteReplyEditDelete

 

 

2011-01-11 05:06:07     Re: BF516 V0.1 SDH is not compatibility with some micro sd card problem

Sonic Zhang (CHINA)

Message: 97340   

 

Can you read/write these SD card in uboot?

 

run "mmc read devnum 0x1000000 20 10" in uboot.

QuoteReplyEditDelete

 

 

2011-01-12 02:08:50     Re: BF516 V0.1 SDH is not compatibility with some micro sd card problem

Bill Xie (CHINA)

Message: 97366   

 

Thank you. No, I will try this way to test sd card. Please tell me why to do this way?

 

Best regards

 

-Bill

QuoteReplyEditDelete

 

 

2011-01-12 03:07:04     Re: BF516 V0.1 SDH is not compatibility with some micro sd card problem

Sonic Zhang (CHINA)

Message: 97370   

 

To narrow the problem.

QuoteReplyEditDelete

 

 

2011-02-18 03:43:25     Re: BF516 V0.1 SDH is not compatibility with some micro sd card problem

Bill Xie (CHINA)

Message: 98249   

 

  I try test four types micro sd card in u-boot.  sankdisk 8GB class 4 and Kingston 8GB class 4 test failed.

 

 

 

Using sandisk 8GB class 4:

 

  U-Boot 2010.06 (ADI-2010R1-RC2) (Jan 27 2011 - 00:31:04)

 

CPU:   ADSP bf516-0.1 (Detected Rev: 0.1) (spi flash boot)

Board: ADI BF518F EZ-Board board

       Support:   blackfin.uclinux.org/

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

RAM:   32 MiB

MMC:  Blackfin SDH: 0

SF: Detected W25Q32 with page size 256, total 4 MiB

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Warning: Generating 'random' MAC address

Net:   bfin_mac

Hit any key to stop autoboot:  5

 

   bfin> mmcinfo

tranfering data failed

sending CMD51 failed

sending CMD51 failed

sending CMD51 failed

Device: Blackfin SDH

Manufacturer ID: 3

OEM: 5344

Name: SU08G

Tran Speed: 25000000

Rd Block Len: 512

SD version 2.0

High Capacity: Yes

Capacity: 7948206080

Bus Width: 1-bit

bfin> mmc read devum 0x1000000 20 10

 

MMC read: dev # 0, block # 32, count 16 ... sending CMD8 failed

sending CMD55 failed

sending CMD1 failed

Card did not respond to voltage select!

sending CMD16 failed

0 blocks read: ERROR

 

 

 

Using Kingston 8GB class 4:

 

bfin> mmcinfo

Device: Blackfin SDH

Manufacturer ID: 2

OEM: 544d

Name: SD08G

Tran Speed: 25000000

Rd Block Len: 512

SD version 1.0

High Capacity: Yes

Capacity: 7969177600

Bus Width: 1-bit

bfin> mmc read devnum 0x1000000 20 10

 

MMC read: dev # 0, block # 32, count 16 ... sending CMD8 failed

sending CMD55 failed

sending CMD1 failed

Card did not respond to voltage select!

sending CMD16 failed

0 blocks read: ERROR

 

 

 

Using Sandisk 8GB class 2:

 

bfin> mmcinfo

Device: Blackfin SDH

Manufacturer ID: 3

OEM: 5344

Name: SU08G

Tran Speed: 25000000

Rd Block Len: 512

SD version 1.0

High Capacity: Yes

Capacity: 7948206080

Bus Width: 1-bit

bfin> mmc read devnum 0x1000000 20 10

 

MMC read: dev # 0, block # 32, count 16 ... 16 blocks read: OK

 

Using Transcend 8GB class 6:

 

  bfin> mmcinfo

Device: Blackfin SDH

Manufacturer ID: 1b

OEM: 534d

Name: USD 

Tran Speed: 25000000

Rd Block Len: 512

SD version 1.0

High Capacity: Yes

Capacity: 8017412096

Bus Width: 1-bit

bfin> mmc read devum 0x1000000 20 10

 

MMC read: dev # 0, block # 32, count 16 ... 16 blocks read: OK

 

 

 

QuoteReplyEditDelete

 

 

2011-02-18 05:48:32     Re: BF516 V0.1 SDH is not compatibility with some micro sd card problem

Aaron Wu (CHINA)

Message: 98251   

 

It should be the timming compatibility problem, we have test some cards however not all the cards. The output log in your failure have given some very useful information, suggest you to dig more according to it. Add some delay for your failed command transaction cycle to have a try. Also as a general test you may try lower the SD operation clock first. Same advice applies to the Linux kernel.

QuoteReplyEditDelete

 

 

2011-02-21 02:20:51     Re: BF516 V0.1 SDH is not compatibility with some micro sd card problem

Bill Xie (CHINA)

Message: 98284   

 

Thank you for reply. You suggest I add some delay code in the mmc driver to lower sdh speed to access sd card.

 

   Bf516 sdh  is not have the capability to access (sd class 4) 4MB/sec device? But Class 6 (6MB/Sec) sd card work fine . I hope ADI  test sandisk 8G Class 4 in uClinux or VDSP. If you test some cards, please tell me which 8G and 16G type cards test ok.

 

Thank you.

Attachments

    Outcomes