Two SD Cards?
Zenexer
Posts: 20
Is it possible to interface with two SD cards simultaneously? I tried including two separate instances of SD-MMC_FATEngine, but they appear to conflict.
Comments
So, name one "0-SD-MMC_FATEngine.spin" and the other "1-SD-MMC_FATEngine.spin" and then include both as seperate objects. This will use up a lot of memory.
When you just include the same file twice it only allows you to have another file open (and much more... read AppNote 6 on the Parallax Semiconductor Website) using the same SD card.
Thanks,
The compiler figures out it's the same object even if it has a different name (this freaks me out).
I'd suggest changing the end of the driver from:
to:
This should be enough to keep the compiler from keeping only one copy of the object.
Duane
Duane, I'll try that, but I don't think that's the issue, as I'm getting a different effect when I use two differently named files than when I use a single file.
If it makes a difference, I'm using bst. That could explain why Duane's point _seems_ inapplicable (though I will give it a shot anyway).