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
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
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.
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
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
hello,
thanks for your answer, i got it!!