2026-03-21 4:01 AM
Hi ST Support Team,
#1 Demo provided by ST for STM32H7B3I-EVAL board is working on Windows Simulator.
But it is not working for Target (STM32H7B3I-EVAL board.)
#2 Does code generated by TouchGFX designer will run on Target board without any code changes on target (STM32H7B3I-EVAL).
Please help me to resolve this issue.
Regards,
Tejas
2026-04-10 7:12 AM
Hi,
I am trying direct load to target in TGFX. I have tired 3 versions. How to know correct version?
2026-04-10 7:20 AM
Hard to say. You need understand , that examples is created in time EVAL or DK board arrive. After this can took many time and ...
You have two ways. 1. play LEGO and try start right code. 2. debug and create working project self.
2026-04-10 7:36 AM
Hi John,
Thanks for your quick reply.
#STM32CubeIDE Version: 1.19.0 Build: 25607_20250703_0907 (UTC)
#TouchGFX Designer 4.26.0
The example at
C:\Users\YOUR_USER_NAME\STM32Cube\Repository\STM32Cube_FW_H7_V1.13.0\Projects\STM32H7B3I-EVAL\Examples\LTDC\LTDC_ColorKeying
was and is working, issue is not reported for that.
My problem concerns the TouchGFX demo. The board‑specific TouchGFX example for the STM32H7B3I‑EVAL does not run on the board. I have tried two flashing methods:
Both methods fail to produce a working demo on the board.
I also created a TouchGFX project following the tutorial at
https://support.touchgfx.com/academy/how-to/my-first-gui. The project runs correctly in the Windows simulator, but the same binary does not work on the board.
Problem statements
Please provide working steps, example projects, or any configuration details I should verify so I can validate the demo on the board.
If you need additional details (log output, CubeIDE/TGFX project files, or the exact flashing steps I used), I can provide them.
Regards,
Tejas Patel
2026-04-13 7:03 AM
Hello again.
I have investigated this a bit further. Since I do not have the correct hardware yet, I am unfortunately unable to verify the issue.
However, as far as I can see, the touch driver has been changed from FT5336 to GT911 on D04. Since the TBS available in TouchGFX Designer uses BSP code, there is a good chance that this could cause a hardfault. I do not know whether you have tried debugging the application to see what happens .. ?
You can quickly verify whether this resolves the issue by commenting out the contents of TouchGFX/target/STM32TouchController.cpp.
If this is indeed the issue, then there are two ways to fix this:
1. We previously had the exact same case with the STM32H735G-DK. This was fixed in version 3.0.22 of the TBS. You could look at TouchGFX/target/STM32TouchController.cpp in that project and try to replicate the behavior.
2. Update to the latest version of the BSP, which you can find in the firmware package.
Unfortunately, I cannot guarantee that the touch driver is the only issue until I get the new revision. Once we receive the new revision, we will update the relevant projects available in TouchGFX Designer.
Please let me know once you have had time to test it. Thank you!
Best regards,
Johan
2026-04-18 3:04 AM
Hi Johan and ST Micro Technical Support Team,
We previously shared a snapshot of the hard fault in our earlier communication. As we are new to TouchGFX and its environment, we kindly request that you provide the exact steps for commenting out the section in TouchGFX/target/STM32TouchController.cpp.
Additionally, please share detailed instructions on how to update to the latest version of the BSP. Clear guidance will help us avoid further delays.
We urgently request your assistance in resolving this issue, as we have already been waiting a long time for support from the technical team. After flashing through TouchGFX, the program counter remains stuck at a hard fault. We believe it is important to investigate the root cause of this issue. Kindly validate the problem on your setup using the same revision number as ours and share the results.
We have already invested in purchasing the evaluation board and spent significant time debugging issues on the new board. As customers, we expect STMicroelectronics to deliver fully supported and tested boards. It should not be the customer’s responsibility to debug problems on a brand-new board.
If the issue is not resolved within the next two weeks, we kindly request that STMicroelectronics replace the current board with a new, fully functional one.
We look forward to your prompt support and resolution.
Best regards,
Tejas Patel
2026-04-21 4:09 AM
Hello again.
Sorry - I missed the screenshot you shared earlier. However, it clearly shows that the system hardfaults because of the touch controller.
Therefore, I am almost certain that this is not an issue with the hardware you received, but rather an issue solely with the TBS available in TouchGFX Designer.
As mentioned previously, I do not currently have the hardware revision you are using, so I cannot test and validate a fix myself. However, I have tried updating the official TBS to the latest version of the BSP. The project is attached. Please validate whether this resolves your issue. If you confirm that it does, I will upload a new version of the TBS with this fix.
Best regards,
Johan
2026-04-26 5:39 AM
Hi Johan,
I have imported your project in My Cube IDE setup. But while build it giving me errors.
Regards,
Tejas Patel
2026-04-27 1:37 AM
Thank you for trying it out!
It looks like you may not have generated code in TouchGFX Designer first. Could you please try that? If you already have, please generate the code again.
When building the project, the process should be:
1. Open the .touchgfx file in TouchGFX Designer.
2. Create a GUI.
3. Generate code in TouchGFX Designer.
4. Open the project in STM32CubeIDE.
5. Build the project in STM32CubeIDE.
However, while validating the steps above, I realized that I forgot to update the STM32CubeIDE project file with the GT911 references in the project I previously shared. Because of that, that project also requires generating code in STM32CubeMX. I have attached a new project that does not have this issue.
Best regards,
Johan
2026-04-30 12:09 AM
2026-05-02 3:01 AM
Hi John,
# BSP2 package i have opened, build and flash from touch GFX. GUI is coming on LCD screen and i have tested on touch button it was working.
# If i open it on CUBE IDE and then build and flash it also working.
# I have attached sanpshot of GUI created.
# Now how to make it work in my own project. Please guide for the same.
Regards,
Tejas Patel