I'm using a custom board with a MK60DN512VLL10 and an SDHC socket. This is my third project using this combination (same MQX 3.8 stack) although this project includes the AR4100 patch and seems to fail on initialising the SDHC card depending on the project size??
The call that fails is in:
* $FileName: sdcard_esdhc.c$
* $Version : 220.127.116.11$
* $Date : Sep-1-2011$
/* [IN/OUT] SD card file descriptor */
/* Card identify */
command.COMMAND = ESDHC_CMD2;
command.TYPE = ESDHC_TYPE_NORMAL;
command.ARGUMENT = 0;
command.READ = FALSE;
command.BLOCKS = 0;
if (ESDHC_OK != ioctl (sdcard_ptr->COM_DEVICE, IO_IOCTL_ESDHC_SEND_COMMAND, &command))
If I change the size of the project by commenting out another function call or making a new one the issue goes away for a while and then comes back later!?
It almost looks like a boundary issue in the linker command file, but everything looks aligned as it should be?