cancel
Showing results for 
Search instead for 
Did you mean: 

Issues Setting Up TouchGFX Project for STM32N6570-DK

TerZer
Associate II

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.

1 REPLY 1
GaetanGodart
ST Employee

Hello @TerZer ,

 

I have reproduced the steps you did :

  1. Create a STM32N6 project from TouchGFX Designer
  2. Generate code from TouchGFX Designer
  3. Open STM32CubeMX and generate code to fix the clock issue
  4. Open STM32CubeIDE and try to build the application

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,

Gaetan Godart
Software engineer at ST (TouchGFX)