LPCOpen SD card drivers and Chan FatFs not compatible?

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

LPCOpen SD card drivers and Chan FatFs not compatible?

1,569件の閲覧回数
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 返信

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