AnsweredAssumed Answered

KSDK 1.1 and Processor Expert adding SD card with MFS

Question asked by Adrian Rockall on Mar 3, 2015
Latest reply on Aug 20, 2015 by Loic Guillain

Hi,

 

I have created a KSDK 1.1 + MQX project with Processor Expert for my custom board that has a MK64FN1MoVLQ12 processor.

I now want to use MFS on an microSD card through the SDHC interface.

 

Do I need to add the memoryCard component or an sdcard component or just the Init_SDHC?

If so, how can I connect the MFS to one of them?

 

I have run the sdcard_twrk64f120m sample project in the MFS folder on my board and if I by-pass the card detect code it seems to work but that doesn't appear to use any of the above. So if I copy the technology from that project how would I change it to use the CD3 pin as the card detect?

 

I am not sure if I am missing something obvious or if I am just wanting things that have not been implemented yet so I would appreciate any hints.

 

P.S. If I add the memoryCard component with the auto-initialise option set then I get a hard afult when the Init thread ends. If I switch off auto-initialise and call the SDCARD_DRV_Init function from my thread then it appears to be OK.

 

Best regards,

Adrian

Outcomes