2025-06-19 6:04 AM - last edited on 2025-06-19 6:33 AM by Andrew Neil
I am working with the STM32H7A3ZI microcontroller and planning to integrate an external flash memory to run application code. The flash memory I intend to use supports both standard SPI and QSPI interfaces.
I would like to confirm the following:
Your assistance in clarifying these points would be greatly appreciated as I finalize the hardware design.
Thank you in advance for your support.
2025-06-19 6:41 AM
Hello @Arun3 and welcome to the ST community,
If you intend to use the internal ST bootloader, that's not possible to update the QSPI.
You need to develop your own bootloader where you can implement the read and write operation to the QSPI.
2025-06-19 7:51 AM - edited 2025-06-19 7:52 AM
On STM32H7A execution always starts from the internal flash or the "system bootloader". Then your code in the internal flash will initialize the QSPI interface, enable memory-mapped mode (aka XIP) and jump to your application in the external flash.
You connect the QSPI flash to the STM32 pins intended for the QSPI controller.
You can configure the start (boot) address of STM32H7A to point to address outside of internal flash or system bootloader - but this does not make any sense.