KSDK and D-Flash

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

KSDK and D-Flash

1,336 次查看
oaf
Contributor IV

I could not find any example or documentation regarding the use of D-Flash under MQX/KSDK.

I suppose that the D-Flash has to be partitioned before use, so I could just not use raw

memory in the area 0x1400.0000 -> 0x1400.0fff ?

标记 (2)
0 项奖励
回复
2 回复数

1,125 次查看
oaf
Contributor IV

Hi,

Well Yes, I'm using a FRDM-K64 board so the example contains partly what I was looking for. Problem with these examples are to integrate into your own project, and what I wanted to do was to use FlexRAM to emulate an EEPROM, but it seems that the FRDM-K64 uC doesn't have FlexRAM.:smileysad:.

0 项奖励
回复

1,125 次查看
DavidS
NXP Employee
NXP Employee

Hi Ole,

What device are you using?

For the FRDM-K64F120M please reference the following:

There are two areas you can look at.

First is KDS/KSDK flash demo: C:\Freescale\MQX_KSDK_1.0.0\demos\flash_demo\kds\frdmk64f120m

Second is the flash driver document and source code:

C:\Freescale\MQX_KSDK_1.0.0\platform\drivers\flash\C90TFS\FSL_eNVM_FTFx_UM.pdf

The flash demo is actually doing a flash swap example but it also erasing and writing to flash so a good multipurpose demo.

Regards,

David