跳转到主要内容

安装

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. 然后按照说明完成安装。

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).

帮助 ->管理嵌入式软件包

单击“刷新”以获取有效的可更新的软件包列表。

刷新以更新可用软件包

转到“STMicroelectronics”选项卡。 滚动直至找到“X-CUBE-TOUCHGFX”,然后展开节点。 点击“TouchGFX Generator”复选框,然后点击“立即安装”。 将下载软件包并显示许可协议。

找到TouchGFX Generator软件包

阅读并接受License,然后点击 "Finish" 以完成STM32CubeMX中TouchGFX Generator的安装.

接受许可协议

X-CUBE-TOUCHGFX发行版现在被解压到以下路径中: 

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

X-CUBE-TOUCHGFX软件包的位置

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.

从st.com上下载X-CUBE-TOUCHGFX

安装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

双击.msi文件可打开安装程序。 按照说明完成安装过程。

安装TouchGFX Designer

Tip
您需要使用以下工具,通过TouchGFX Designer来烧录您的板子:

安装STM32CubeProgrammer

从如下目录下载STM32CubeProgrammer之后 STM32CubeProgrammer download location, 解压文件.zip.exe安装. 然后按照说明完成安装。

安装TouchGFX Designer

Caution
为使TouchGFX Designer和Makefile能够使用STM32CubeProgrammer来烧录目标板,必须将其安装在默认安装位置: C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer

从以下链接下载STM32 ST-LINK之后 STM32 ST-LINK utility location, 打开下载的文件 .exe 并按照指示完成安装.

安装STM32 ST-LINK Utility

Caution
为使TouchGFX Designer和Makefile能够使用STM32 ST-LINK Utility来烧录目标硬件,必须将其安装在默认安装位置: C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility