MKW36A512 - Use FlexNvM as code memory

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

MKW36A512 - Use FlexNvM as code memory

532 Views
nava_daniele93
Contributor II

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:

pastedImage_1.png

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.

pastedImage_15.png

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?

0 Kudos
1 Reply

470 Views
vicentegomez
NXP TechSupport
NXP TechSupport

Hi Please check the following community documents

Creating an OTAP Image Preserving the Memory Content for KW36 

and

https://community.nxp.com/docs/DOC-342493 

Regards

Vicente

0 Kudos