When compiling TouchGFX, I get an "Assertion Failed!" error.
/Middlewares/ST/Touchgfx/framewaork/include/mvp/MVPApplication.hpp line 167. How do I debug this? It doesn't compile so I can't use use the IDE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-10 5:16 PM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-09 11:28 AM
The problem was not in compiling in TouchGFX. That worked. The problem I had was STMCubeIDE must have had something corrupted. I removed CUBEIDE 1.4.0 completely and installed CubeIDE 1.5.0 in a new workspace. I can now use the IDE to debug TouchGFX and the rest of my program.
I consider this closed.:face_with_tears_of_joy:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-16 9:33 PM
Hello,
Could you provide the steps you did to arrive to this error ?
In the future, it is good practice to be explicit and provide a detailed description of your issue (steps, board used, software versions, etc.) to ensure fast and useful answers ;)
/Alexandre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-17 11:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-17 6:53 PM
If I understand correctly your issue is a compiling error right ?
You also confirm that you started with the F469-DISCO Application Template available in TouchGFX Designer ?
In any case, I recommend you to recreate a project from TouchGFX Designer using the F469-DISCO Application Template.
Then, import your UI into your project. To do so, simply go to Edit->Import GUI and select the .touchgfx file of your UI project.
Generate code.
Now open CubeMX (NOT CubeIDE) and configure your settings nice and easy. Generate code. Regenerate code from TouchGFX Designer. Add your custom code using any editor (personally I'm very fond of Visual Studio Code) or even CubeIDE.
Then if not already done, open CubeIDE and double click on your .project file. This will automatically import the project into CubeIDE. Build and see the results ;)
PS: I highly recommend you to avoid using CubeMX inside CubeIDE in the future. It's not as reliable as the standalone CubeMX.
/Alexandre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-20 8:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-22 6:00 PM
When you are talking about "Import project", what are you referring to ? I mean in TouchGFX you only have "Import UI". Are you talking about standalone CubeMX ? Maybe a picture could help understand better :)
/Alexandre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-22 7:52 PM
Hello,
I try to import from TouchGFX, seems to have no problem when compiling.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-09 11:28 AM
The problem was not in compiling in TouchGFX. That worked. The problem I had was STMCubeIDE must have had something corrupted. I removed CUBEIDE 1.4.0 completely and installed CubeIDE 1.5.0 in a new workspace. I can now use the IDE to debug TouchGFX and the rest of my program.
I consider this closed.:face_with_tears_of_joy:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-09 9:10 PM
Hello LDoyl,
When your question is answered, please close this topic by choosing Select as Best.
/Alexandre
