FlexSRAM set traditional SRAM

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

FlexSRAM set traditional SRAM

1,448 Views
814420552
Contributor III

hello ,

When flexram is set to normal SRAM, can the last 0.5kb of flexram still not read and write like normal RAM?  my device is S32K146

0 Kudos
4 Replies

1,397 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello,

The whole FlexRAM, 4KB (0x14000000 - 0x14000FFF) can be used as an SRAM.

Could you please elaborate?

Do you have problems reading and writing the 0.5KB of SRAM?

Thank you,

BR, Daniel

0 Kudos

1,397 Views
814420552
Contributor III

hello,

 I found that if partitioned D-Flash with EEPROM and 512 bytes CSEc key, than set flexRAM as traditional SRAM, the last 0.5KB flexRAM also can't be accessed!   it is not meet what your description.

0 Kudos

1,397 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello,

Thank you for the information.

If the FlexNVM is partitioned for EEPROM with CSEc, the last bytes (up to 512B) of FlexRAM are not accessible.

 

AN5401 Getting Started with CSEc Security Module

pastedImage_1.png

The behavior of FlexRAM used as traditional RAM once the CSEc keys have been allocation is not clearly specified in the S32K1xx documentation. But in order to use the whole 4KB of FlexRAM as system RAM, the program partition command must be launched with parameter CSEc Key Size = 0. This will release the last 512 bytes.

Regards,

Daniel

0 Kudos

1,397 Views
814420552
Contributor III

hello,

   thanks for your answer, i got it!!

0 Kudos