2391157_en-US

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

2391157_en-US

2391157_en-US

Undefined SD Card symbols using MCUxpresso 25.6 on FRDM-K64F

Hi,

I am having trouble getting the SD card software going.

All I need to do is get a few items on power-up, no other active management of the SD Card,although I might need logging later on..

I am trying to use data type sd_card_t, and am getting 'unknown type name' error.

I have previously included fsl_sd.h and fsl_sdhc.h. but when I do that I get a multiple definition message for many functions in either.  So I assumed that we don't need fsl_sd.h.   It isn't even in my SDK, so for the original multiple definiiton error I downloaded both from github.  Now I have fsl_sdhc.h from the SDK and am still getting the 'unknown type name' message.  Needless to say I am finding the SD card examples very hard to use!

Any help would be very much appreciated!



Re: Undefined SD Card symbols using MCUxpresso 25.6 on FRDM-K64F

Hi @ve3id 

Thank you for your post,

Please Manage the SDK components in you project and add drivers-> sdhc and middleware->memories->SDMMC Stack->SD

At the sdcard_polling example the following components are included:

carlos_o_0-1783371266922.png


To enter into manage the SDK components you need right click the project and go to SDK Managment -> Manage SDK Components

carlos_o_0-1783371381511.png

Let me know if this solves the issue. 

Re: Undefined SD Card symbols using MCUxpresso 25.6 on FRDM-K64F

Thank you for the quick reply, Carlos, but I have already done that, so maybe there is something else? Here is my window for the SD management:

ve3id_0-1783426302819.png


Re: Undefined SD Card symbols using MCUxpresso 25.6 on FRDM-K64F

Hi @ve3id 

Thanks for clarifying,

Could you please share which SDK version you are using? 

I tried with 2.11.0 and I'm not able to replicate it at my end. 

Re: Undefined SD Card symbols using MCUxpresso 25.6 on FRDM-K64F

I am using SDK_2.11.0_FRDM-K64F

I removed it, and built and downloaded a new one of the same version using the "download and install sdks' tab and still have the same problem.

thanks

Nigel




タグ(1)
評価なし
バージョン履歴
最終更新日:
11 時間前
更新者: