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!
Multiple SD card readers on SPI
Started by Crosswired, Jan 20 2012 06:43 PM
1 reply to this topic
#1
Posted 20 January 2012 - 06:43 PM
#2
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.
The world will have to wait.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users