-
Import QSPI_PreInitConfig project inside STM32CubeF7 MCU firmware package as shown below: STM32Cube_FW_F7_V1.15.0\Projects\STM32746G-Discovery\Examples\QSPI\QSPI_PreInitConfig
Note: the location of STM32Cube_FW_F7_V1.15.0 is where you download and unzip en.STM32Cube_FW_F7_V1.15.0.zip as requested in item 3 of Prerequisite.
-
Suggest to copy SW4STM32 folder and rename it (such as SW4STM32-to-CIDE) as shown below:
-
Change the name from STM32746G-DISCOVERY to STM32746G-DISCOVERY_QSPI_PreInitConfig in .project file:
-
Import the project and then build project.
-
Enter "Debug Configuration":
-
Enable and select external loader:
-
Press OK to run debug and watch LED blinking:
-
Set breakpoint at BSP_LED_Toggle inside GpioToggle() and watch the code really stops here where is located in QSPI: