STM32H573 Secure partition starts at 0xc000400 or 0xc000000? Mapping differs from OBkey settings
Hi All!
I'm trying to wrap my head around STM32H573 with trustzone, STiRoT etc in STM32CubeMX and I'm missing some information on the firmware sizes.
The STM32H573 has 2MB flash, secure part is from 0x0C00_0000 to 0x0C1F_FFFF. When I select STiRoT + Secure partition and open OBkey settings I want to use maximum firmware size, which is 1MB in my understanding (download area must be same size as application area). So I set firmware offset to zero, firmware download area offset to 0x0010_0000 and firmware area size also to 0x0010_0000.
When I generate obkey it gives me firmware slots 0 with address 0x0C00_0000 with size 0x10_0000 and slot 1 with address 0x0C10_0000 with size 0x10_0000.

But the mapping says Start address 0x0C00_0400 and End address 0xC0F_FFFF which is different from the configured address/size.

If tried going to Tools -> Memory Management but that gives a different image again!
That gives a size of 123kB and address range 0x0C00_0400 - 0x0C01_EFFF, which appears to be the default? But this can't be edited. And also nog the whole RAM range is used, only 320kB out of 640kB?

Can someone shed some light on this?
Thanks!
With kind regards,
Martijn
