I am using STM32F4xx with SDIO port to SanDisk SDIN5C2-8G 8GB using Keils SDIO driver.
I am getting finit(NULL) returning 1 every time. Debugging shows commands being sent not getting any response.
Does Keil support SDHC memory at 8GB ? Do I need to implement my own driver to support this memory ?. Any examples available ?
Couple a gotchas in files you should be aware of:
http://www.keil.com/forum/20930/
I do have the SDIO driver CheckMedia to indicate card is inserted permanently.
/****************************************************************************** * Description: CheckMedia * Return: 0000 0000 No Media * 0000 0001 Media Inserted * 0000 0002 Media Protected * 0000 0003 Media Inserted and Protected ******************************************************************************/ static U32 CheckMedia (void) { return(M_INSERTED); }