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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,728 次查看
michaelc77
Contributor II

Hi,

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.

-Mike

0 项奖励
回复
1 回复

1,630 次查看
michaelc77
Contributor II

So, I found FatFs SDK example that writes to the SD Card. It compiles and works great. I'll see how their init code works.

0 项奖励
回复