AnsweredAssumed Answered

how to initialize (erase) an SD card

Question asked by Mark Potts on Aug 5, 2011
Latest reply on Aug 9, 2011 by Mark Potts



I have mnaged to get the sample MQX SPI and SDcard drivers working and can fread() and fwrite() sectors to an SD card with no problems (so far). I also need to erase the card but I don't think there is any facility to do this at the SDcard driver level. I assume I will have to drop back to SPI level and send some low-level SD/SPI commands. Does anyone have experience with this that they could share.