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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,383件の閲覧回数
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,285件の閲覧回数
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 件の賞賛
返信