Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: AT91RM9200 and dual SD cards
PostPosted: Mon Aug 11, 2008 4:59 am 
Offline

Joined: Mon Aug 11, 2008 4:50 am
Posts: 1
Hi there,

I'm new to the AT91, and I'm designing a board using the AT91RM9200 with two SD slots: one uSD connected to MCDA, and one normal SD connected to MCDB. I've found source in the kernel tree that suggests the two separate SD devices are supported, but can anyone confirm that they've used (ie. mounted) the two separate SD ports at the same time?

(from linux-2.6.21\arch\arm\mach-at91\at91rm9200_devices.c)

Code:
void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data)
.
.
.
   if (data->slot_b) {
      /* CMD */
      at91_set_B_periph(AT91_PIN_PA8, 1);

      /* DAT0, maybe DAT1..DAT3 */
      at91_set_B_periph(AT91_PIN_PA9, 1);
      if (data->wire4) {
         at91_set_B_periph(AT91_PIN_PA10, 1);
         at91_set_B_periph(AT91_PIN_PA11, 1);
         at91_set_B_periph(AT91_PIN_PA12, 1);
      }
   } else {
      /* CMD */
      at91_set_A_periph(AT91_PIN_PA28, 1);

      /* DAT0, maybe DAT1..DAT3 */
      at91_set_A_periph(AT91_PIN_PA29, 1);
      if (data->wire4) {
         at91_set_B_periph(AT91_PIN_PB3, 1);
         at91_set_B_periph(AT91_PIN_PB4, 1);
         at91_set_B_periph(AT91_PIN_PB5, 1);
      }
   }


My hope is to use the uSD for a filesystem, while leaving the full sized SD open to tinkering with Atheros' SDIO/WLAN code.

thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: