2025-04-17 8:56 AM
Hello.
I was glad to hear that the TouchGFX supportance have covered the STM32MP135F-DK. Even though it only support TouchGFX 4.24.0 and STM32CubeIDE 1.15.0 (I'm unable to download the IDE 1.15.0 ! Only 1.15.1 so I tried the 1.15.1).
Right from the start there was trouble with development.
After downloading the addon and installed it into the TouchGFX folder, I followed the wiki stm32mpu/wiki/How_to_install_X-TouchGFX_MPU_Addon and downgraded my 1.18.0 IDE to 1.15.1 and installed it into the default directory, which the tutorial asked me to do so. I've downloaded the required programmer before so there was no need for me to reinstall it. Before this trial, I'm already a senior developer at TouchGFX.
Generated the code……and clicked the "run target" as required……finally it went like, this↓
I wondered.
So I opened the CubeIDE project and tried to build it just in the IDE.
And unfortunately↓
I thought that it must be wrong, however, I done everything the wiki told me.
I was using my Windows 10 old laptop, and theTouchGFX version matched the addon, and I was using exactly the same IDE which the IDE cded to when the postbuild begun. Everything had been installed into their default directory. I did nothing wrong.
I tested with two of my computers, but both of them output the same bugs, which seemed like "some .py script problems".
I didn't know what had I missed, as I've read the whole wiki page carefully for three times.
If someone point out where the problem is, it will be great help.
Honestly, I believe there was something wrong with this addon, but not myself.
Thanks in advance.
@Mohammad MORADI ESFAHANIASL Wish you can help me. I trust in you. Whether it's a fault in this addon or there was something that I mistakened, please tell me clearly about it and better give me tips on how to solve this problem. Thanks in advance.
Solved! Go to Solution.
2025-05-05 5:37 AM
Hi @Nathan_Xi
Please find below answer I get from expert :
The first issue with TouchGFXDesigner Run button is due to hardcoded syntax in the release Mp135 TBS (gcc/Makefile). Using the right path should make the Run button working.
Then for the second issue:
Issue is with the ImageGenerator module in the TouchGFX v4.24.0 release (not in the X-TOUCHGFX-MPU Add-on).
All our Cube1 based products are NOT ‘necessarily’ compatible Python v3.x. This apply to the TouchGFX ImageGenerator scripts which are released with TouchGFX v4.24.0.
It's recommended to use Python v2.7.
Hope it help
Olivier
2025-05-05 5:37 AM
Hi @Nathan_Xi
Please find below answer I get from expert :
The first issue with TouchGFXDesigner Run button is due to hardcoded syntax in the release Mp135 TBS (gcc/Makefile). Using the right path should make the Run button working.
Then for the second issue:
Issue is with the ImageGenerator module in the TouchGFX v4.24.0 release (not in the X-TOUCHGFX-MPU Add-on).
All our Cube1 based products are NOT ‘necessarily’ compatible Python v3.x. This apply to the TouchGFX ImageGenerator scripts which are released with TouchGFX v4.24.0.
It's recommended to use Python v2.7.
Hope it help
Olivier
2025-05-05 8:42 AM
Hello @Olivier GALLIEN
I'm glad that the two fixes work pretty well right now.
What I had done after I received your reply:
1. Modified the workspace loaction.
2. Replaced python 3.9.8 with python 2.7.0.
Then the stm32 header was added successfully.
Here's the final result.
I'm working closely with the ST China Marketing Department, so I'll write an article as soon as possible to report this solution to the STM32 fans in China.
Thank you very much.
Nathan Xi