AnsweredAssumed Answered

MKW36A512 - Use FlexNvM as code memory

Question asked by Daniele Nava on May 18, 2020
Latest reply on May 19, 2020 by vicentegomez

Short Question: Can FlexNvM(D-Flash) contain a region defined as NvM Block and another region defined as program data? Is it perfectly equivalent to using P-Flash for program data?

 

Hi All,

I develop an application for MKW36A512 and am defining the regions for code, data and NVM.

The micro has 2x256Kb Flash defined as follows:

I don't need to use the full 256 Kb of D-Flash to store data (I actually need only a small part to be use as long term memory) and plan to increase the size of the region dedicated to program code. From the reference manual: https://www.nxp.com/docs/en/reference-manual/MKW36A512RM.pdf.

Is this something that can be done without any concern, or using FlexNvM to store program code brings something that should be considered?

 

TLDR: Can D-Flash contain a region defined as NvM Block and another region defined as program data? Is it perfectly equivalent to using P-Flash for program data?

Outcomes