AnsweredAssumed Answered

RT1050 SD Card Sensitivity

Question asked by avir on Jul 30, 2018
Latest reply on Jul 31, 2018 by CarlosCasillas

Hello all,

 

I'm experiencing issues with the sd_jpeg example included in the EVKB-IMXRT1050 SDK. The example will work on some SD cards and not others (different manufacturers and sometimes different capacities will behave differently), and sometimes erratically with a 'functional' SD card. Failure sometimes occurs in the MOUNT_SDCard() function during the last check:

 

   // Open file to check
    error = f_open(&jpgFil, _T("/000.jpg"), FA_OPEN_EXISTING);
    if (error != FR_OK)
    {
        PRINTF("No demo jpeg file!\r\n");
        return -4;
    }

 

This implies that the SD card is actually recognized and mounts properly, yet the relevant image files are not found. I am loading the program into SDRAM, and am able to step through the code using MCUXpresso.

 

Has anyone else experienced similar issues with the SD card and this example?

 

Board: i.MXRT1050 EVKB

SDK: KSDK 2.4.2 (2018-07-24)

IDEs: MCUXpresso 10.2.0_759

Outcomes