2025-02-03 11:27 PM
I’m running into some trouble when trying to create a new application with TouchGFX Designer version 4.24.2 on the STM32N6570-DK board. After generating the code and opening the project in STM32CubeMX, I encounter a clock configuration error. It seems to resolve itself automatically, but the real issue starts when I move to STM32CubeIDE.
In STM32CubeIDE, I get an error saying the .elf file does not exist. When I try to build the project, I encounter numerous errors like "bad instruction" in tx_initialize_low_level.S.
Has anyone successfully set up a TouchGFX project for the STM32N6570-DK? Any guidance on how to resolve these issues would be greatly appreciated!
Thanks in advance for your help.
2025-02-04 12:47 AM
Hello @TerZer ,
I have reproduced the steps you did :
I do get multiple error when building on step 4, however, I am able to fix these issues by going back to TouchGFX Designer and regenerating code between step 3 and 4.
After generating code from STM32CubeMX, you should re-generate code from TouchGFX Designer aswell.
If this comment solves your issue I invite you to select it as "best answer".
Hope this helps!
Regards,