I am using Freescale FRDM-KL25Z board and OpenSDA on the board for debugging and flashing. I would like to interface a SD card to my micro controller and send data through SPI to the SD card after creating a file in it. Can anyone provide me with a sample code for the same as I don't have any idea how to do so. I have ensured that SPI module is working fine. So I would like to have a working code for writing the data in a file in SD card. I do not use Processor Expert and hence I am not able to refer to the example given in the forum.I use Keil as the IDE.Kindly respond at earliest.
Thanks and regards