I have been trying to use the on-board SD-Slot of a SAM4S Splained Pro, but so far I can only get back "CARD UNUSABLE" status. I have tried many different approaches and am puling my hair for days on this.
So far I did change accordingly the card CD Gpio from portc C/27 to port C/12, and also configured all the initialization steps I could think of.
I am using ASF under Atmel Studio 6.2 and accessing the card via the HSMCI interface.
I have added all the modules via the ASF Wizard, correctly I believe.
Considering that this is my first project with the SAM4S Xplained Pro I may be forgetting to do something, or making a mistake, so at this point I can only ask someone who may have succeeded in accessing the on-board SD-slot to share a piece of code which shows the "Rosetta Stone".
Thanks a lot,