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
