安裝
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. 然後按照說明完成安裝。
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",並展開。 選取「TouchGFXGenerator」,然後點擊「立即安裝」。 將下載軟體包並顯示授權協議。
閱讀並接受授權協議,然後點擊「完成」,以在STM32CubeMX中安裝TouchGFXGenerator。
X-CUBE-TOUCHGFX現在被解壓到以下路徑中:
C:\Users\<user>\STM32Cube\Repository\Packs\STMicroelectronics\X-CUBE-TOUCHGFX\4.13.0
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.
安裝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檔案可打開安裝程式。 按照說明完成安裝。
Tip
安裝STM32CubeProgrammer
從如下目錄下載STM32CubeProgrammer之後 STM32CubeProgrammer download location, 解壓檔.zip 並.exe安裝。 然後按照說明完成安裝。
Caution
C:\ProgramFiles\STMicroelectronics\STM32Cube\STM32CubeProgrammer
安裝STM32ST-LINKUtility
從以下連結下載STM32 ST-LINK之後 STM32 ST-LINK utility location, 打開下載的檔.exe
並按照指示完成安裝。
Caution
C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility