KSDK and D-Flash

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KSDK and D-Flash

484 Views
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 ?

Tags (2)
0 Kudos
2 Replies

273 Views
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 Kudos

273 Views
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