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:.
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