2023-04-16 01:20 AM
Hi all,
Here is a CubeIde project for an external loader working over SPI interface (not QSPI).
It runs over a BlackPill board with a W25Q32 flash (the BlackPill has a place reserved to solder the flash ic).
https://github.com/JLuisAlcaraz/STM32F411CE_BlackPill_W25Q32_External_loader
Here is an excellent introduction:
My idea is to test TouchGFX over this MCU with a SPI flash and a SPI TFT.
Remember that an external loader depends on pin configuration. Check the project .ioc and change the pins according to your needs.
You'll find 2 files:
STM32F411CCUX_FLASH_ORG.ld
STM32F411CCUX_FLASH.ld
The "FLASH_ORG" one is the loader original from project. It lets you to run and debug the project "FLASH" is the loader you need to generate the .stldr file.
Rename them according to your propose (run and debug or generate the .stldr)