AnsweredAssumed Answered

BF 705 EZLite SD card identification problem

Question asked by wlodek on Nov 13, 2015
Latest reply on Jun 17, 2016 by wlodek

Hi,

When running the sample Power_On_Self_test program for the BF707 the Test_SD test hangs in sd_mmc_identification_sdv2(uint32_t response) procedure.

The do .. while loop never ends.

....................................

do{   /* card with compatible voltage range */

        DEBUG_STATEMENT("\n   Requesting OCR register... ");

        error = sd_mmc_send_command(SD_MMC_CMD_APP_CMD, 0, RESPONSE_SHORT, TRANS_NONE, CRCDIS);

        adi_rsi_GetShortResponse(hDevice, &response);

       error = sd_mmc_send_command(SD_CMD_GET_OCR_VALUE, 0x40FF8000, RESPONSE_SHORT, TRANS_NONE, 0);

       adi_rsi_GetShortResponse(hDevice, &response);

       DEBUG_STATEMENT("\n   OCR register received");

       adi_rsi_card_registers.sd.ocr = response;

    }while(!(adi_rsi_card_registers.sd.ocr & (unsigned int)SD_OCR_CARD_POWER_UP_STATUS));

..........................................


 

This only happens when I use the SDHC cards with capacity higher than 2GB.

The same test on 2 GB card runs smoothly.

Can somebody help ?

Outcomes