I am developing some SD card data storage logic in Dynamic C with a Rabbit BL4S200.
How can I initialize the SD card without it resetting everything? Data included? I have found that my device can record data to the SD card just fine, but if the board is powered off or does a hard reset, it has to reinitialize the SD card, deleting all of my data?
Is there a way around this? Say I save some device data, and then want to transfer the card to identical device running identical software without erasing the data?
So far, my code does the following to initialize the SD card on bootup:
dataCache->Dev = &SD;
However, I would really like to interface with the SD card without using the default initDevice() function which performs a card reset if I know my SD card has data on it.