Hi,
I am currently interested in the memory mapping of S32k14x products.
For the case of S32K142 , it is mentioned that the size of the Flash is 256KB , by cons in the reference Manual page 785 it is mentioned :
This would imply that the flash size is reduced by X , X being the size of the FlexMemory , however in all the Notes applications I have read , and even in the diagram in Figure 36-4. 256KB flash memory from the reference manual, the FlexNVM (64 KB) and the Flash (256KB) are represented as whole memories and not as being one (FlexNVW) in the other (Flash memory). So I have the following question: What should be considered? Needing 256KB, if the flexNVM is within the flash size, we cannot use its functionality.
In the same order,
The document refers to 2 read partitions (one of 256KB and one of 64KB), I can’t find details on the granularity of the flash, the flash is divisible into elementary zones so that one zone can be erased while another is written? Some Application notes talk about Blocks and sections, but I can’t find the details and descriptions. Can you tell me about this MCU, that it is the accessible flash detail?
Thank you
Hi @Senlent
Thank you for the support , i was mislead by the picture i sent in, my post .
Futhermore the AN12003 is for S32K148 flex NVM , and the note seems to tell that the usage of this flex NVM is different from others S32kx mcus .
can you give me the link for AN with the usage of Flex NVM on others S32kx ?
What about my second question , where to found details about P-Flash granularity Bank,Sector,Sections definitions and delimitations ?
Thank You
You have some misunderstanding here
The P-Flash of S32K142 is 256kb, but FlexNVM can be set to use as P-Flash, then the maximum size of available program flash memory can be 256kb+64kb.
1.you can find the below file in S32K-RM attachments,
2.Take a look at the application note AN12003 which will show your more detail about the FlexNVM.
AN12003:Using S32K148 FlexNVM Memory
https://www.nxp.com/docs/en/application-note/AN12003.pdf