Firewall reset when accessing unprotected SRAM1 memory, STM32L4R9
Hello, I've adapted SBSFU (X-CUBE-SBSFU) example projects for a STM32L4R9 in single bank (flash) mode. I get a firewall reset when accessing SRAM1 that's outside of the defined protected area. Only a small section of SRAM1 is protected by the SBSFU (the secure engine itself, about 4k), so I'm losing quite alot of usable SRAM. According to the STM32L4R errata (en.DM00371862) there are 2 Firewall related limitations:
- Only 128kB of the 192kB can be protected by the firewall.
- A 'Spurious' Firewall reset can occur when using FMC or OctoSPI.
I'm not using FMC or OctoSPI; I am using LTDC, SDMMC and UARTs.
Even when accesing SRAM1 above 128kB (which can't be protected) I get Firewall resets.
Using SRAM2 and SRAM3 is ok; no problems there...
So following questions:
- Is the 'spurious' firewall reset possible on SRAM1 above 128kB?
- Can it be caused by peripherals other dan OctoSPI and FMC?
- Am I missing something? Any other suggestions?
Thank you,
rvan
