- Thu Mar 31, 2016 9:26 pm
#44615
Multiple devices accessing the SD card.
Assuming the interface is SPI then one and only one can access the card at a time. Each device wishing to access the card would need to check if the SD card has its CS pulled low.
Now the issues arise if a device releases the CS before completing a task in that case the context has to be preserved so that upon regaining access it can resume otherwise all transactions against the card will be blocking until completed.
Initialization of the SD card needs to be done but the pointers into that translate logical addresses to physical blocks will require storing for context. Possibly this will be messy to implement as non blocking and difficult to troubleshoot.