LPCOpen SD card drivers and Chan FatFs not compatible?

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

LPCOpen SD card drivers and Chan FatFs not compatible?

1,162 次查看
jameso
Contributor II

The 'periph_sdmmc' example (from LPCOpen v2.10 for the LPC1788 EA board) uses Chan FatFs with LPCOpen SD card drivers. However, the disk I/O function checker from the elm-chan FatFs webite (http://elm-chan.org/fsw/ff/res/app4.c) fails with the LPCOpen drivers.

Is there a fix to the LPCOpen library to make it fully work with Chan FatFs?

Alternatively, is there an example similar to 'periph_sdmmc' using FreeRTOS + FAT instead of the Chan FatFs?

Thank you.

0 项奖励
回复
1 回复

838 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi James O,

   The lpcopen code still use the older fatfs system.

   Your code http://elm-chan.org/fsw/ff/res/app4.c should use the new fatfs, that's why you run it fails.

   If you want to use the new app, you also need to modify the lpcopen fatfs file to the new fatfs lib.

   We still don't have the updated version, so if you need it, you can try to replace the old fatfs system file with the newest lib file by yourself.

Wish it helps you!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复