How to use Flash memory to save variable in the MC9S12P128

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Flash memory to save variable in the MC9S12P128

221 Views
tanguydietrich
Contributor I

Hello,

I want to save a variable in the D-Flash or P-Flash memory, to get it at the startup of the system.

I dont want to use a const variable. I want to be able to modifiy it and save it to use it after the shutdown of the systeme.

The board i am using is the KT33812ECUUG, the microcontroller i am using is the MC9S12P128.

Thank tou for your help.

1 Reply

67 Views
tanguydietrich
Contributor I

I think I found the solution here.

confuse in memory map of mc9s12p128.