Hi,
I have a custom board which is very close to AM335x. here i have written the same code as starterware code but changed my pin configurations as per required
INitially i need to check is SD Card is recognized or not. but i have a doubt here in starterware code. here in below code, they have used both HSMMCSDControllerSetup() and MMCSDCardPresent() for test. will this work???
/* Basic controller initializations */
HSMMCSDControllerSetup();
/* First check, if card is insterted */
while(1)
{
if (MMCSDCardPresent(&ctrlInfo) == 0)
{
//UARTPuts("MMC/SD Card not found\n\r", -1);
}
else
{
break;
}
}
both have their different initializations.. but still can it work?
Q2) can anyone let me know whats the difference between the two files hs_mmcsd_rw and mmcproto files??
Regards,
M.Shradhanand