Skip to main content

Installation

In this section we will show you how to install TouchGFX as well as all the necessary components in the toolchain required to start your embedded graphics development.

Installing STM32CubeMX

After downloading STM32CubeMX from STM32CubeMX location, uncompress the downloaded .zip file and launch the .exe installer file. Then Follow the instructions to complete the installation process.

Installing STM32CubeMX

Getting X-CUBE-TOUCHGFX

As mentioned in the previous article, TouchGFX is bundled in an X-CUBE package called X-CUBE-TOUCHGFX. This package is most easily downloaded and installed using STM32CubeMX, but can also be downloaded directly from ST's site.

Using STM32CubeMX

To get X-CUBE-TOUCHGFX through STM32CubeMX, start by selecting "Manage Embedded Software Packages" under "Help" (or press Alt + U).

Help -> Manage embedded software packages

Click "Refresh" to get an updated list of available packages.

Refresh to update available packages

Go to the "STMicroelectronics" tab. Scroll until you find "X-CUBE-TOUCHGFX" and expand the node. Check the checkbox for "TouchGFX Generator" and click "Install Now". This will download the package and bring up the license agreement.

Finding the TouchGFX Generator package

Read and accept the license agreement and click "Finish" to install TouchGFX Generator inside STM32CubeMX.

Accepting the license agreement

The X-CUBE-TOUCHGFX distribution is now unpacked to the following path: 

C:\Users\<user>\STM32Cube\Repository\Packs\STMicroelectronics\X-CUBE-TOUCHGFX\4.13.0

Location of the X-CUBE-TOUCHGFX package

Direct download

If your intention is to simply try TouchGFX Designer without the need to install STM32CubeMX and perhaps trying out some of the existing example GUIs on STM32 Evaluation kits, you can download X-CUBE-TOUCHGFX directly from the ST.com official website to anywhere on your hard drive and extract it.

Downloading X-CUBE-TOUCHGFX from st.com

Installing TouchGFX Designer

Inside the unpacked/extracted X-CUBE-TOUCHGFX distribution you will find the TouchGFX .msi installer in the following path:

Utilities\PC_Software\TouchGFXDesigner

Double-clicking the .msi file will bring up the installer. Follow the instructions to complete the installation process.

Installing TouchGFX Designer

Tip
You need the following tools to be able to flash your board directly from within TouchGFX Designer:

Installing STM32CubeProgrammer

After downloading STM32CubeProgrammer from STM32CubeProgrammer download location, uncompress the downloaded .zip file and launch the .exe installer file. Then Follow the instructions to complete the installation process.

Installing TouchGFX Designer

Caution
In order for the TouchGFX Designer and Makefiles to be able to use STM32CubeProgrammer for flashing target hardware it must be installed at the default install location: C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer

After downloading STM32 ST-LINK Utility from STM32 ST-LINK utility location, simply open the downloaded .exe file and follow the instructions to complete the installation process.

Installing STM32 ST-LINK Utility

Caution
In order for the TouchGFX Designer and Makefiles to be able to use STM32 ST-LINK Utility for flashing target hardware it must be installed at the default install location: C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility