2025-12-03 5:36 AM
Hello,
I am working on a custom board based on the STM32H747 to develop a Touchgfx application as User Interface, where I am using the same QSPI Flash device as the STM32H747I-EVAL kit (MT25TL01G 1Gbit), but with a different chip-select pin wiring.
On the STM32H747I-EVAL board, the external loader (MT25TL01G_STM32H747I-EVAL.stldr) is configured to use:
On my custom board, the MT25TL01G device is wired as:
I updated my firmware, CubeMX configuration, pin assignments, and the QSPI initialization, and QSPI is now working correctly inside my application firmware.
However, STM32CubeProgrammer cannot flash the external QSPI because the supplied stldr file still expects the original chip-select pin (PG6).
The external loader obviously needs to be rebuilt with the new QSPI pin mapping.
My questions are:
I simply need a way to rebuild the external loader with the following modification:
Chip Select pin: PC11 (QSPI_BK2_NCS) Dual-Flash: Enabled Flash Size: 1Gbit MT25TL01G
Any guidance or documentation on how to correctly regenerate a custom QSPI external loader for STM32CubeProgrammer would be greatly appreciated.
Thank you.
2025-12-03 6:25 AM
Hello @Shiv09,
Regarding your second question, you can find the MT25TL01G external loader driver at the following GitHub repository:
GitHub - STMicroelectronics/stm32-mt25tl01g
This component is utilized in the BSP example included in the latest STM32CubeH7 package. You can download the most recent STM32CubeH7 package from ST.com. Within this package, you will find a BSP example under STM32H747I_Disco examples that contains a sub-demo named QSPI_demo, which demonstrates the usage of this driver.
Br