AnsweredAssumed Answered

SD Card Initialization on MIMXRT1050-EVK(B) using FreeRTOS and FatFs

Question asked by Mike Cooke on Mar 12, 2019
Latest reply on Mar 14, 2019 by Mike Cooke



I have an issue trying to initialize the SD Card using FatFs. Please see attached code.


I have enabled FatFs, SDMMC, and flexio in my SDK manager (V2.4.2 SDK). I did enable SD Card support via SD_DISK_ENABLE in ffconf.h. 


I am getting several errors with the SDMMCHOST calls not being defined. The IDE is definitely seeing them if I right click and open declaration. If I comment out these errors, my code crashes when I try to mount the SD Card.


Has anyone else seen these issues before? I'm sure it will probably be a settings issue, but I'm just not sure where.