How do I understand this mapping in S9S12G

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

How do I understand this mapping in S9S12G

395 Views
jingfang
Contributor IV

How do I understand this mapping?

Flash Space page 0xc?

企业微信截图_16859429982517.png

jingfang_0-1685943182436.png

 

0 Kudos
1 Reply

373 Views
lama
NXP TechSupport
NXP TechSupport

Hi,

Flash memory is programmable using the global addressing space. But, the code runs using the logical address PPAGE_Offset where the offset is from the interval [8000~BFFF]. PPAGE is from the interval [xx~0F], where xx depends on the size of the implemented memory. In the attachment you will find the entire image of the internal memory, I think in a better form. I also attached an example code so that you can see how you can programmatically write and read flash.

In the code you will find ho logical address is converted to global address if you want to use it for programming specific space.

Best regards,

Ladislav

0 Kudos