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.

RTOS/AM5728: After the SDR104 communication failed

Part Number: AM5728
Other Parts Discussed in Thread: TMDSEVM572X

Tool/software: TI-RTOS

Hi,
My customers are using the MMCSD_evmAM572x_DMA_armTestProject to verify SD card communication.
After SDR104 communication failed, confirmation processing of SDR50→DDR50→HS→DEFAULT was not performed.

Question
They think that they solved it with the following correction.
Is this correct?
■Fix
C:\ti\pdk_am57xx_1_0_11\packages\ti\drv\mmcsd\src\v1\MMCSD_v1.c
MMCSD_switch_card_speed() function
×memset(dataBuffer,0,sizeof(cmd6_response_buf));
⇒memset(cmd6_response_buf,0,sizeof(cmd6_response_buf));

■Environment
Projects:MMCSD_evmAM572x_DMA_armTestProject
TMDSEVM572X
pdk_am57xx_1_0_11

  • Hi,

    I looked at the pdk_am57xx_1_0_13\packages\ti\drv\mmcsd\src\v1\MMCSD_v1.c code, MMCSD_switch_card_speed() function. I agree that:
    memset(dataBuffer,0,sizeof(cmd6_response_buf));
    should be:
    memset(cmd6_response_buf,0,sizeof(cmd6_response_buf));

    I opened a ticket to review with development team to fix it. Thanks for finding this out!

    Regards, Eric