S32K FLEXRAM EEPROM

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

S32K FLEXRAM EEPROM

727 Views
chenze
Contributor II

Hi,

    Currently there is a problem in using S32K144,in case of setting FlexNVM is 32k d-flash(Base addr:0x10000000) and 32k e-flash(Base addr:0x10008000), setting FlexRAM is 4k EEE(Base addr:0x14000000)。d-flash is used to save calibration data,e-flash is used to save DID and DTC and other data(Such as the application program valid flag)。How do I store the initial value of DID in EEPROM。How do I store a valid flag  for an application program in EEPROM。

Method 1:

I want to write into e-flash by using JFLASH SWD。

Method 2:

The runtime checks if the initial value has been written, and if not, writes。

but a valid flag  for an application must be written together with the application program,because bootloader program need to judge the flag to determine whether to jump to application program。

The address of valid flag  for an application is 0x14000000,but JFLASH cannot program the address,but can program address from 0x10000000 to 0x1000FFFF. I want to kown address 0x14000000 map to Which address from 0x10000000 to 0x1000FFFF.

Labels (1)
Tags (1)
0 Kudos
1 Reply

523 Views
JustVb
Contributor III

hi , have you got any solution? I met the same problem and could you pls share the solution?

0 Kudos