2025-06-19 3:02 AM
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?
Solved! Go to Solution.
2025-06-25 4:15 AM
Adding below line fixed the issue.
// Enable clock for CRC init
__HAL_RCC_SYSCFG_CLK_ENABLE();
2025-06-21 3:33 AM
Any solution?
2025-06-24 6:26 AM
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.
Also there's a readme.md in the root of your project that might help you, for debugging.
BR,
2025-06-25 4:15 AM
Adding below line fixed the issue.
// Enable clock for CRC init
__HAL_RCC_SYSCFG_CLK_ENABLE();