Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Multiple SD card readers on SPI


  • Please log in to reply
1 reply to this topic

#1 Crosswired

Crosswired

    New Member

  • Members
  • Pip
  • 4 posts

Posted 20 January 2012 - 06:43 PM

Hi all,

I have a question about hooking up multiple SD card readers via SPI. I was told on the chat here that the Micro Framework only supports one FAT16/32 device and that there would be a modification required to the framework to change that.

But is that one FAT16/32 device at a time or one in total? Could I unmount the on board SD, mount the secondary SD and use that one, then unmount the secondary and mount the on board one again when I have to?

If that would be possible, how long would the switch (unmounting SD1, mounting SD2) take ?

A line of code or two showing the mount and unmount (ie what command to use, and how you would specify the pin[s] used) would be appreciated.


Thanks!

#2 Bainesbunch

Bainesbunch

    Advanced Member

  • Members
  • PipPipPip
  • 61 posts
  • LocationFrance

Posted 20 January 2012 - 08:29 PM

Hi Croswired. I believe that on the Plus you don’t need to mount the SD card as it is already done when booting the device. I am not sure you can "un-mount" it . On a non Plus device there is no reason why you could not put two card on the bus via some logic to switch them in and out using an additional IO Pin, But to keep things clean you would have to mount and un-mount between switching cards. I hope this is some help. Cheers Pete.
I was going to change the world, then I discovered Netduino.
The world will have to wait.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.