This article details how to program the
ST324x9I-EVAL board with either 4.3” (MB1046) or 5.7” (MB1063) displays (screen drivers will automatically detect the correct screen).
Note: Please see the article Overview: Compilers and IDEs for troubleshooting and general information.
IAR project for the
ST324x9I-EVAL board offers full flash loader support for both internal and external flash and is configured to use an ST-Link debugger.
The Keil uVision 4 projects for the
ST324x9I-EVAL board uses a custom flash programming algorithm for the external NOR flash, which must be copied to your uVision installation directory in order to be able to flash your application. You will find the flash loader algorithm in the TouchGFX distribution:
Assuming that Keil uVision4 is installed in
C:\Keil, copy the file to the following folder:
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 0x2800 bytes):
As described in “How do i program STM32 based boards using ST Link” you may use the
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.
All examples are designed to run on a 4,3” display (480x272).
$ cd app/example/button_example/ $ make -f target/ST/STM324x9I-CUBE/gcc/Makefile flash
The 2015 demo is designed for a 5,7” display (640x480).
$ cd app/demo/touchgfx_demo2015 $ make -f target/ST/STM324x9I-CUBE/gcc/Makefile flash