cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6 MX_TouchGFX_PreOsInit() Fails

JDave.4
Associate III

Hello,

MX_TouchGFX_PreOsInit() fails at the line below and connection to the debugger is lost in my project. Please see the screen below for the issue. The .ioc file is also attached. What's wrong with it? It is a custom board and working from RAM in FSBL. Is there any example project for TouchGFX with N6?

 

JDave4_0-1750326910045.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
JDave.4
Associate III

Adding below line fixed the issue. 

  // Enable clock for CRC init
  __HAL_RCC_SYSCFG_CLK_ENABLE();

 

View solution in original post

3 REPLIES 3
JDave.4
Associate III

Any solution?

LouisB
ST Employee

Hello @JDave.4 ,

The N6 is harder to debug than the other board in touchgfx, do you use touchgfx 4.25 and the latest board TBS (v3.0.2) ? It was updated with better debugging capabilities.

LouisB_0-1750771481965.png

Also there's a readme.md in the root of your project that might help you, for debugging.

BR,

Louis BOUDO
ST Software Engineer | TouchGFX
JDave.4
Associate III

Adding below line fixed the issue. 

  // Enable clock for CRC init
  __HAL_RCC_SYSCFG_CLK_ENABLE();