I noticed that the KSDK 2.0 has support for the eMMC. Are there any examples?

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

I noticed that the KSDK 2.0 has support for the eMMC. Are there any examples?

ソリューションへジャンプ
1,276件の閲覧回数
calvinday
Contributor III

I am using a K66 device.

ラベル(1)
0 件の賞賛
返信
1 解決策
968件の閲覧回数
calvinday
Contributor III

I was able to get the sdcard_fatfs_twrk65f180m example working with the eMMC device.

(C:\Freescale\SDK_2.0\boards\twrk65f180m\driver_examples\sdcard_fatfs)

It does require a few changes:

I had to add SDHC_D4 - SDHC_D7 multiplexing and did not use the card detect. (eMMC is not normally removed)

Debug was on a different port.

const TCHAR driverNumberBuffer[3U] = {MMCDISK + '0', ':', '/'}; // this was SDDISK

#define  _VOLUMES 5 // this was 3

#define MMC_DISK_ENABLE  // this was added

I couldn't set the max speed 52 MHz because my system clock is set to 32.768 MHz

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
969件の閲覧回数
calvinday
Contributor III

I was able to get the sdcard_fatfs_twrk65f180m example working with the eMMC device.

(C:\Freescale\SDK_2.0\boards\twrk65f180m\driver_examples\sdcard_fatfs)

It does require a few changes:

I had to add SDHC_D4 - SDHC_D7 multiplexing and did not use the card detect. (eMMC is not normally removed)

Debug was on a different port.

const TCHAR driverNumberBuffer[3U] = {MMCDISK + '0', ':', '/'}; // this was SDDISK

#define  _VOLUMES 5 // this was 3

#define MMC_DISK_ENABLE  // this was added

I couldn't set the max speed 52 MHz because my system clock is set to 32.768 MHz

0 件の賞賛
返信
968件の閲覧回数
calvinday
Contributor III

There is a code snippet. It would seem that there might be an example that goes with it:

C:\Freescale\SDK_2.0\docs\Kinetis SDK v.2.0 API Reference Manual\group__SDHC.html

0 件の賞賛
返信
968件の閲覧回数
ivadorazinova
NXP Employee
NXP Employee

Hi Calvin,

at the moment there is no such example for eMMC under KSDK 2.0.

I will keep you informed in case of any update.

Have a nice day.

Iva

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

0 件の賞賛
返信