Hi,
I am trying to get the SD card functionality working on the TMS320C5515 using the
CSL examples. I need to be able to run the SdCardFSExtExample in order to see if the
data is being written to the SD and can be read by a Windows PC. I do not have any
errors during compilation.
However the program runs on the target and gets stuck in a loop.
Below are the messages logged in the console for the CSL_MMCSD_SdCardFSExtExample:
MMCSD-ATAFS TESTS!
MMCSD-ATAFS POLL MODE TEST!
SD Card detected
SD card is Standard Capacity Card
Memory Access will use Byte Addressing
SD card initialization Successful
The program gets stuck in the following loop in csl_mmcsd.c(3810-3819):
do
{
status = hMmcsd->mmcRegs->MMCST0;
if((status & CSL_MMCSD_DATA_TOUT_CRC_ERROR) != 0)
{
reIssueReadFlag = 1;
break;
}
} while((status & CSL_MMCSD_READ_READY) != CSL_MMCSD_READ_READY);
I can open the SD card on my PC, but there isn't any files on it.
I am using a Walgreens SD Adaptor with a microSD 2GB card. I formatted the card to FAT32 using
a Windows machine default. My CCS4 has Version: 4.2.4.00033. I am using the CSL 2.50.00.00.
Regards,
Dozier