STM32U5: Writing Flash by user code with TFM activated
Hi,
we are developping a projet with TFM activated on STM32U585 device (by the way, we don't really need the full TFM but at least Secure boot and SBSFU). We would want to declare a Flash page to store some configurations parameters, so we created a dedicated page for these data in the memory mapping.
But I would want to know if it's allowed for the embedded user application code to write on this page without violating TFM rules. Or if have to use the SBSFU + teraterm (etc..) to update these configuration parameters.
Another question linked to the previous one, once the TFM is activated the complete memory seems to be used (from HASH REF to Local Loader memory area) so the 2 MB are allocated.
Is it possible to reduce the complete footprint and keep some memory pages free to put some data out of the TFM control ?
I didn't find these informations in the UM2851
Thanks in advance for your support.
C.S.
