This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

6748 / BIOSPSP MMCSD Example Errors

I am trying to run the BIOSPSP 3_0_1_0 'mmcsd' and 'mmcsd_fatfs' examples on a C6748_LCDK development board.  In both cases, I am able to initialize the SD card, and read the appropriate card parameters (# sectors, write protect mode, etc) using the IOCTL inteface calls in the examples.  However, whenever the example attempts a block write (Blk_Write()), the application hangs and waits forever for the mmcsd application semaphore callback to be released.

I have stepped through the Blk_Write function call and verified that command is being queued for transmission to the SD card.  I added breakpoints in the primary interrupt handler routines (mmcsdIsrHandler0/mmcsdDmaIsrHandler) as well as the interrupt service task (mmcsdTask0) but they are never triggered. 

I am loading the standard GEL file from the StarterWare_1_20_3_3 tools/gel directory (C6748_LCDK.gel).

My Configuration:

  • C6748_LCDK
  • SYS/BIOS 6_33_01_25
  • BIOSPSP 3_0_1_0
  • EDM3 2_11_2_4
  • Kingston 4GB micro SD

Thanks in advance,

Jeff Kauffman

  • Update for TI Support:

    I changed mmcsd driver to operate in polled mode (PSP_MMCSD_OPMODE_POLLED), and the example now works.

    Can you point me to the code location in BIOSPSP or EDMA where the IRQ registration and Event handling is performed for the mmcsd driver?