Difference between revisions of "MMC/SD"

From ArmadeusWiki
Jump to: navigation, search
m (Adapter board)
Line 1: Line 1:
How-To connect an MMC/SD adapter to the APF9328 (through DevLight board)
+
How-To connect an MMC/SD adapter/connector to your APF9328
  
For instructions on how to use MMC/SD on Linux, see [[MultiMediaCard]] page.
+
For instructions on how to use MMC/SD on Linux, see [[MultiMediaCard]] page.<br>
 +
'''SDCard, MiniSD, and Transflash/MicroSD are all the same devices but in different package shapes and are all pin compatible.''' <br>
 +
On Armadeus boards, MMC are controlled in 1 bit MMC mode and SD/MiniSD/MicroSD in 4 bits SD mode.
 +
We don't use MMC/SD in "fucking slow & error prone" SPI mode.
  
== Adapter board (for DevLight ou your custom board) ==
+
== Adapter board (for DevLight or your custom board) ==
 
We have designed a small adapter board with a push-pull MMC/SD connector on it.
 
We have designed a small adapter board with a push-pull MMC/SD connector on it.
 
You need to connect the signals listed in the table below to the corresponding one on your DevLight board.
 
You need to connect the signals listed in the table below to the corresponding one on your DevLight board.
Line 32: Line 35:
 
* CD_SW: Card Detect switch
 
* CD_SW: Card Detect switch
  
'''If you don't want to buy such an adapter or don't have a MMC slot (and are a hacker ;-) ), you can stil try this link:'''
+
'''If you don't want to buy such an adapter or don't have a MMC slot (and are a hacker ;-) ), you can still try this link:'''
 
* http://www.hackaday.com/2006/09/12/floppy-connector-mmc-card-slot/
 
* http://www.hackaday.com/2006/09/12/floppy-connector-mmc-card-slot/
 +
 +
== On a DevFull board, there is already a MMC/SD connector ==
  
 
== Supported Cards ==
 
== Supported Cards ==
Line 50: Line 55:
 
* Sandisk 512MB -> OK ( formating failure may happen sometimes. workaround: retry )
 
* Sandisk 512MB -> OK ( formating failure may happen sometimes. workaround: retry )
  
===miniSD:===
+
===MiniSD:===
 
* Dane-Elec 1GB -> doesn't work : Card recognized but partition table not found.
 
* Dane-Elec 1GB -> doesn't work : Card recognized but partition table not found.
  

Revision as of 12:34, 28 July 2007

How-To connect an MMC/SD adapter/connector to your APF9328

For instructions on how to use MMC/SD on Linux, see MultiMediaCard page.
SDCard, MiniSD, and Transflash/MicroSD are all the same devices but in different package shapes and are all pin compatible.
On Armadeus boards, MMC are controlled in 1 bit MMC mode and SD/MiniSD/MicroSD in 4 bits SD mode. We don't use MMC/SD in "fucking slow & error prone" SPI mode.

Adapter board (for DevLight or your custom board)

We have designed a small adapter board with a push-pull MMC/SD connector on it. You need to connect the signals listed in the table below to the corresponding one on your DevLight board. The WP and CD_SW signals are optional and must be connected to free i.MXL GPIOs, if used.

Top view, connector on the left
Signals name (Top view with MMC connector on the right):
MMC Adapt pinout.jpg
Adapter Pin Desc Adapter Pin Desc
1 (square) +3.3V 2 SD_DAT2
3 SD_CMD 4 SD_DAT3
5 SD_CLK 6 SD_DAT0
7 WP (option) 8 SD_DAT1
9 CD_SW (option) 10 GND

Remarks:

  • Pin 1 (rectangular/square pad)
  • WP: write protect
  • CD_SW: Card Detect switch

If you don't want to buy such an adapter or don't have a MMC slot (and are a hacker ;-) ), you can still try this link:

On a DevFull board, there is already a MMC/SD connector

Supported Cards

Here is a list of the current cards which were tested:

MMC

  • Hama 256MB -> OK

MMC+

  • Kingston 256MB -> OK

SD:

  • Kingston 512MB -> OK in 1bit mode. need more tests in 4 bits mode
  • Kingston 256MB -> OK
  • Dane-Elec 2GB -> OK in 1bit mode. doesn't work : Card recognized but partition table not found in 4bits mode
  • Transcend 2GB (x150) -> OK
  • Sandisk 512MB -> OK ( formating failure may happen sometimes. workaround: retry )

MiniSD:

  • Dane-Elec 1GB -> doesn't work : Card recognized but partition table not found.

uSD/Transflash:

  • Sandisk 512MB -> OK in 1bit mode. recognized but data tranfer is failing when accessing partition table (bad CRC) in 4bits mode


Links


FrenchFlag.png Page en français