Hi,
maybe because you are trying to access SRAM1/SRAM2 in secure. Need to change default RISAB settings to your needs.


I think also that depending on boot mode, the BootROM might change default settings as well.
https://wiki.st.com/stm32mpu/wiki/STM32MP2_ROM_code_resource_isolation
I'm not expert on this, you should read reference manual and use CubeMx to define more finely your RIF related settings.
I confirm DBP in PWR_BDCR2 is only writable by CPU3 under any circumstances. This bit is to allow CPU3 to unlock backup domain resources access.
For control from CPU1 or CPU2, you should use DBD3P in PWR_BDCR1, which is somewhat equivalent.
Regards.
In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent