2023-03-06 01:58 AM
I am using the SBSFU example of "NUCLEO-L552ZE-Q" Projects.
I have added my application code to the NON-Secure application project.
When I see "Region_defs.h", in which nonsecure (NS_TOTAL_RAM_SIZE ) size is 192 KB whereas secure (S_TOTAL_RAM_SIZE)size is 64 KB. Most of my application code is in the non-secure application.
If I want to repartition SRAM is it possible? If yes how can I do it?
I want to increase the nonsecure ram size to 235 KB, Is it feasible?
2023-03-06 09:05 PM
I have tried to increase the nonsecure ram to 235 KB, in this case, the application is not booting correctly. With 216KB of nonsecure ram, the application boots properly. Is there any other dependency as well to change nonsecure RAM size?
@Frantz LEFRERE , Can you please help me regarding this?
2023-04-12 02:04 AM
Hi @PYada.1 ,
you can refer to this document: https://www.st.com/resource/en/user_manual/dm00678763-getting-started-with-stm32cubel5-tfm-application-stmicroelectronics.pdf
Section 8.3.2 explains the SRAM memory layout.
I am not sure you can easily change this because:
I am not sure you can shrink the secure part.
If you want to do so, you must: