Configuring FlexNVM for MK10DX128VMD10 ?

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

Configuring FlexNVM for MK10DX128VMD10 ?

877 Views
grahammartin
Contributor II

Does anyone know how to configure the FlexNVM for the MK10DX128VMD10? In particular what are the partition codes to set the split between EEPROM and Data Flash sizes? The K10 Sub-Family Reference Manual document gives information on the DEPART values in section 29.3.3.2 FlexNVM Partition Code, but the numbers seem to be for the 256 series devices (ie. D-flash up to 256K). I have also looked at the C90TFS flash driver source code, this also does not seem to have any configuration that fits the MK10DX128VMD10, the nearest is the _FTFx_KX_256K_256K_4K_2K_2K_H_ configuration ie. 256K P-flash, 256K D-flash, 4K FlexRAM. I think that the MK10DX128VMD10 should use a _FTFx_KX_128K_128K_4K_2K_2K_H_ configuration, but this does not exist in the code available on the Freescale site.

If possible I would like to split the flash to get 64K of flash available for general data storage, and the full 4K of FlexRAM used as EEPROM.

Labels (1)
0 Kudos
3 Replies

406 Views
Monica
Senior Contributor III

Hello Graham,

have this information helped you? Please keep us posted on your project's progress :smileywink:

Best,

Monica.

0 Kudos

406 Views
grahammartin
Contributor II

Information is useful, I now think I understand how to do the configuration I want. Got loads of other code to finish yet before I am at a point to test this though!

Regards, Graham

0 Kudos

406 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi,

The flash derivative of FTFx_KX_256K_256K_4K_2K_2K can also be applied on MK10DX128VMD10, you just have to change the PFlashBlockSize and DFlashBlockSize definitions when you define the structure of "FLASH_SSD_CONFIG flashSSDConfig".

Hope that helps,

B.R

Kan