Skip to main content
Charlie CHEN
Associate III
January 19, 2024
Question

TouchGFX Official Demo cannot work completely on custom board problem

  • January 19, 2024
  • 2 replies
  • 2040 views

Hi All to Professional,

I`m using the TouchGFX to work on my custom board. (STM32H7Series)

And my environment of software tool.

- STM32CubeIDE Ver 1.11.2

- TouchGFX Desiger 4.20.0

 

Here`s the thing~

I build the project with CubeIDE and setting all peripheral, parameter etc.. .Then start with build-in TouchGFX target, and choose the official demo like below.

CharlieCHEN_1-1705631823804.png

After that, either generate TouchGFX code or compile the project, all success and no error.

Then start programming on custom board, it works fine. But it is weird that the Home Control is always getting stuck. And I try the TouchGFX simulator it is work.

 

What I`m doing the next step, is to get in to debug mode and check the process. And I found it always stuck at "syscalls.c" with no reason.

CharlieCHEN_2-1705632393771.pngCharlieCHEN_3-1705632406559.png

 

Is there any suggestion or experience about syscalls problem?

 

Thanks for any help~

 

Best regards,

Charlie

This topic has been closed for replies.

2 replies

ST Employee
January 26, 2024

Hello @Charlie CHEN ,

It is very hard to pinpoint the problem. Could you please provide more information about when the issue happens? like does it happen when just click to start the Home Control sub-demo? Or when you are running it and try to interact with it? 
It would be nice if you can take a screenshot of the call stack.

Thank you

Charlie CHEN
Associate III
January 30, 2024

Hi @Mohammad MORADI ESFAHANIASL ,

Thanks for your reply!

 

Here is the problem, when I trying to start  the Home Control demo, it will stock at the main page and cannot work or touchable, then I debug the code at the stock screen, it stops at the syscalls.c as previous topic.

I can`t figure out what`s wrong.

 

thank you.

 

Charlie

ST Employee
February 2, 2024

I see, 
Are you sure you have dedicated enough space to the heap and the stack? 
There shouldn't be a problem with the code of the application, and STM32H7 series are capable MCUs, so I suggest checking the configuration of your custom board. There is a good chance that the problem comes from the heap or stack size (For instance set them to 0x1000). 

Good luck

MEde.1
Associate III
February 19, 2024

Before you waste too much time on this, I can't get this demo to work on a board that STM say is actually supported (STM32H747I-Disco). I have just double checked and it fails on "program and run", all the others work fine.

ST Employee
February 20, 2024

Hello @MEde.1 ,

I'm deeply sorry for the issue, unfortunately, I can confirm that the demo fails to run on the target from the TouchGFX Designer, however, you can compile the project by STM32CubeIDE and program it on the board from STM32CubeProgrammer.
But anyway, we will fix this problem as soon as possible.
Thank you so much for pointing this issue out.

Best regards,