Skip to main content
Associate
Aug 2, 2024 9:30 AM UTC
Question

STM32U575 TrustZone access non secure area from secure mode

Flash Memory is divided in different zones Secure (also protected by watermark), NCS and NS. All of such zone are defined in the the partition_stm32U575xx.h and SAU is enabled.

MCU is in secure mode and want to write in the non secure area.

Erasing return without errors, writing return without errors, but reading back what have been wrote doesn't match with the original data.

We had similar issue on the L5 and in that case we had to promote the flash to secure using HAL_FLASHEx_GetConfigBBAttributes, perform all write operations then demote all blocks to non secure. 

Unfortunately the same trick here doesn't work.

Any suggestion or minimal example?

Thanks in advance

 

This topic has been closed for replies.

6 replies

Roger SHIVELY
ST Employee
Aug 2, 2024 10:01 PM UTC

Hello @fed,

 

This post has been escalated to the ST Online Support Team for additional assistance. 

We'll contact you directly.

 

Regards,

Roger

fedAuthor
Associate
Aug 12, 2024 5:26 AM UTC

Dear Roger,

           I have been contacted, but the problem is still open. At the moment I provided all information that has been requested but no answer since the last week.

 

Have a nice day

FDA