cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX path mismatch error during asset generation for STM32H745 (CM7)

pankajprasad100
Associate II

Hello ST Community Team,

I am facing a TouchGFX project generation issue related to path mismatch while working on an STM32H745 dual-core device – unable to locate .ioc / .cproject ?

I am sharing my setup and issue details below.

 

 

Environment Details:

STM32CubeIDE: 1.17.0

TouchGFX: 4.25.0

X-CUBE-TOUCHGFX: 4.25.0

Controller: STM32H745XIH3

Core Used: CM7

Toolchain: STM32CubeIDE

OS: Windows

 


Issue Description:

I have written application code for Core-M7, and when I try to generate images / assets using TouchGFX, the generation fails during Post Generate Target.

Error observed:

Post Generate
touchgfx update_project --project-file=simulator/msvs/Application.vcxproj
Done
Post Generate Target
touchgfx update_project
Unable to locate D:/WORKSPACE_APPLICATION/LPOCIP_090126_1430_PM/LPOCIP_SCRATH_jumper_QSPI_APIS_SWETHA_UPDATED_QSPI_SDRAM_CAN_PWM/.cproject
Failed
Failed

However, the actual .ioc file exists at:
D:/WORKSPACE_APPLICATION/LPOCIP_090126_1430_PM/LPOCIP_SCRATH_jumper_QSPI_APIS_SWETHA_UPDATED_QSPI_SDRAM_CAN_PWM/CM7/.cproject

touchgfxissue.png

Questions:

Is this a known issue with TouchGFX 4.25.0 and STM32H745 dual-core projects?

Is there a recommended project structure for CM7 when using TouchGFX with CubeIDE?

Are there any additional settings required in application.config or CubeIDE for CM7-only TouchGFX usage?

3 REPLIES 3
JohanAstrup
ST Employee

Hello @pankajprasad100.

From your description it sounds like TouchGFX thinks the "Generate under root" option is enabled. Could you please verify in STM32CubeMX that it is not enabled?
JohanAstrup_0-1768814056883.png

 

If you haven't seen it already, you can have a look at the STM32H745I-Disco TBS available in TouchGFX Designer for reference.

Best regards,
Johan

Hello @JohanAstrup 

 

I apologize for the late reply. I was busy with some work.

I have verified the option, and it is ticked. Please have a look.

pankajprasad100_0-1769660140807.png

 

Regards,

Pankaj.

 

JohanAstrup
ST Employee

No need to apologize - I have been very busy myself :)

Using the "Generate under root" option is not the recommended project structure when using TouchGFX, as also mentioned here in the documentation.

Is it a requirement in your project to use Generate under root?
If so, there may be a workaround; however, I have not verified that it works for dual-core projects, and there is a risk of encountering additional issues:
You can manually specify the location of the project file in the TouchGFX part file. By default, the .ioc file is referenced to always update the project for the selected toolchain. You can try to manually reference the STM32CubeIDE project file instead.

Best regards,
Johan