I'm using an Artemis Openlog and Neo-M9N GPS board to make a GPS datalogger and have been using one of the SD examples for testing out writing to the SD card. I got that to work then copy/pasted the relevant sections into the code I had written to read the GPS board (which had been working perfectly). Now the SD card won't initialise. I thought I'd wrecked the SD card so I checked it and I can read/write to it in windows. I formatted it and then copied a small .txt file onto it to make sure and it works fine in windows explorer but it just won't initiallise. I went over and over the code and there was nothing added which could have messed it up, such as writing to it and not closing the file etc.
I then went back to the code I had working to test the read/write to the SD card and that card doesn't initialise in the code anymore. I took another SD card and it does. I'm hesitant to try this card in the GPS code as I fear I'll "wreck" it as well.
I'm wondering if there's something in the GPS library which could be interfering with the SD card stuff?