cancel
Showing results for 
Search instead for 
Did you mean: 

Stuck on _exit() in syscalls.c with void STM32TouchController::init() - STM32F469I-DISCO

Kneepatch
Senior

I can't get my display to work after I enabled the uSD card on my STM32F469I-DISCO, it just sits at a black screen. When I ran the debugger, this is the call stack it shows, stuck on _exit() in syscalls.c:

2025-01-09_07-32-03.png

Is there an easy way to determine what conflict is happening when I add my uSD card? Full disclosure: using TouchGFX to generate this project file in STM32CubeIDE.

-Kneepatch
3 REPLIES 3
Iris-DM
Associate III

I've got exactly the same issue this afternoon.

CubeMX Ver 6.13.0

TouchGFX Ver 4.24.1

Running on STM32H747I-Disco with different screen. Instead of the 800x480 screen that comes with the dev kit, I've got a 5" 720x1280px display. The TouchGFX & STM32CubeIDE projects were built from the blank discovery kit project in TouchGFX designer and then modified in CubeMX to meet the correct specs for the screen. 

Pavel A.
Evangelist III

So it looks that BSP_TS_Init() returned not TS_OK. Debugger is your friend.

 

I've been going through the debugger but am still unable to determine the issue. BSP_TS_Init() returns that the touchscreen is not found (return code 3). Are there any other debugger features you are referring to that can help other than stepping through the code line by line? Any good tutorials that you can recommend? I found this series, but it really doesn't go through the debugger basics in STM32CubeIDE: STM32CubeIDE Advanced Debug Features: Part 1

-Kneepatch