|
[quote="ulf"]If you use the AT91SAM9G20EK_2MMC you have a problem. You need to connect PC2 and PC9 to GND on the PIOC connector. The card detect signal is bogus. Does not change state when a card is inserted....
Didnt do any measurements on this, but my Linux 2.6.39 kernel did not detect any cards, neither SDIO nor Memory. When I connected the wire between Slot A and PC2, the card was suddenly detected.
Other problems you might run into, is that you need pullups on the DAT[3..0] and the CMD line. Beware that the clock is shared between slot A and slot B.
The driver in linux 2.6.39 will enable slot B as default, but if it detects that it is a SAM9260EK_2MMC; it will change its mind and use slot A. Unlike the SAM9M10/G45 driver it will not enable both slots.
There is a bug in slot B, so you cannot use it for SDIO, and you can only boot from Slot A, so you cannot boot from SD when you are using an SDIO card.[/quote]
Hi ,
I have fixed the problem by changing the sam9g20.c file by adding detect pin as ENODEV . Now I could mount and work with both SD Card Slots simultaneously .
Thenral
|