cancel
Showing results for 
Search instead for 
Did you mean: 

Severe python problem occurred to the X-TouchGFX MPU Addon

Nathan_Xi
Associate III

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↓

DESIGNER.png

 I wondered.

So I opened the CubeIDE project and tried to build it just in the IDE.

And unfortunately↓

IDE.png

 

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier GALLIEN
ST Employee

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.

OlivierGALLIEN_0-1746448485521.png

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 

 

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
Olivier GALLIEN
ST Employee

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.

OlivierGALLIEN_0-1746448485521.png

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 

 

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

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.

STM32MP135F-DK_TOUCHGFX.jpg

 

CUBE_IDE_SUCCESS_OUTPUT.png

 

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