STM32L4P5xx system bootloader: is RAM3 valid SRAM for the stack pointer?
Does the system memory bootloader for the STM32L4P5xx consider RAM3 as valid SRAM for the stack pointer?
After programming bank 2, and then setting BFB2, The device will not boot into bank 2. The linker has the top of the stack at RAM3. The value written to both 0x8000000 (bank 1) and 0x8040000 (bank 2) is 0x20050000. I want to make sure this is correct. By the way, this is the 512K part STM32L4P5xE. The other relevant options bytes are set as follows: nBOOT1=1, nSWBOOT0=0, nBOOT0=1 (BOOT0=0). When I clear BFB2 I can boot. I have compared the flash memory from 0x08000000-Length with 0x8040000-Length, and they both match.
