This section details how to program the
STM32756G-EVAL board using binaries produced by either of the supported compilers in TouchGFX. Focus for each section will be any special conditions required to succesfully program your applications.
Note: Please see the article Overview: Compilers and IDEs for troubleshooting and general information.
The projects for the
STM32756G-EVAL board do not offer flash loader support for the external flash. The article How do i program STM32 based boards using ST-Link? explains how to flash the external flash of each ST board supported by TouchGFX using the ST-Link flash utility GUI.
The IAR project is set up to use an ST-Link debugger.
The Keil uVision project for the STM32756G-EVAL board uses a custom flash programming algorithm for the external NOR flash (QSPI), which must be copied to your uVision installation directory in order to be able to flash your application. You can find the flash loader algorithm here:
Assuming that Keil uVision5 is installed in
C:\Keil_v5, copy the file to the following folder:
Note: Updating your device packs through the Keil package manager would also give you access to the above flashloaders. For instance, The flashloader for STM32756G-EVAL exists in device ST pack 2.2.0
After copying the flash algorithm file, please make sure that your uVision project settings correctly specify the use of this flash algorithm, and that the “RAM for algorithm” size is large enough (At least
0x5000bytes). The F7 based boards are configured to use ST-Link per default.
Opening the flash loader algorithm configuration, you should now see an entry for both internal and external flash:
As described in “How do i program STM32 based boards using ST Link” you may use the
flash option with
make to program STM32 based boards using the ST-Link CLI, or use the GUI to manually choose which binaries to download and which external flashloader to use.
$ cd app/example/canvas_widget_example $ make -f target/ST/STM32756G-EVAL/gcc/Makefile flash