Skip to main content
Associate II
March 21, 2026
Question

Not able to Run TouchGFX demo provided by ST on STM32H7B3I-EVAL

  • March 21, 2026
  • 9 replies
  • 421 views

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

9 replies

tejas210Author
Associate II
March 21, 2026

When i run demo on debug mode. Code is going into HardFault_Handler(). 

/**

* @brief This function handles Hard fault interrupt.

*/

void HardFault_Handler(void)

{

/* USER CODE BEGIN HardFault_IRQn 0 */

/* USER CODE END HardFault_IRQn 0 */

while (1)

{

/* USER CODE BEGIN W1_HardFault_IRQn 0 */

/* USER CODE END W1_HardFault_IRQn 0 */

}}

tejas210Author
Associate II
March 21, 2026

error_stm32.png

MM..1
Chief III
March 21, 2026

Every eval board from ST have more as one revision with different chips displays etc.

Then in source code of demos exist defines for it or demo is only for one revision. 

And primary on your screenshot left side you see crash is in touch panel func . then start diagnostic with disable this func =  touch not work , but display yes...

ST Employee
March 23, 2026

Hello @tejas210.

Which board revision do you have? You can find it on a sticker on the underside of the board.

I have just tested with the board I have here, and it works fine. The board revision I am using is MB1331-H7B3LIQ-D03.

Best regards,
Johan

tejas210Author
Associate II
March 24, 2026

Hi Johan,

 

The board revision I am using is MB1331-H7B3LIQ-D04.

Regards,

Tejas

tejas210Author
Associate II
March 28, 2026
Hi Johan,
We are trying to run below demo.  Programming is successful on board but nothing is displayed  on LCD. 
We tried reset button after flash and power cycle but issue is same. 
Boot Mode: 0    is set in our board. 
 
Please refer below snapshot for board specific demo which "versions" we need to choose for MB1331-H7B3LIQ-D04.
Also share which demo example have you tired on your setup. we will try same on our setup for comparisons. 
Please do need full for us as we are waiting for your response.
 
Regards,
Tejas Patel
boot_mode_settings.png 
 

error_touchgfx.png

tejas210Author
Associate II
April 4, 2026

Dear ST Technical Support Team,
We recently purchased a brand-new STM32H7B3I-EVAL board (MB1331-H7B3LIQ-D04) from Mouser Electronics. Based on the available documentation and demonstration videos, we expected to explore TouchGFX functionality on the STM32H7 platform. However, the demo provided with the board is not working, and we are currently blocked in our evaluation.
We have already reached out but have not received any response so far. Could you please confirm whether this issue is hardware- or software-related, and whether the board was tested before shipment? As this is a new evaluation board, we would appreciate your guidance to resolve the problem at the earliest.
We have attached a photo of the product details for your reference.
Looking forward to your prompt support.
Best regards,
Tejas PatelWhatsApp Image 2026-04-04 at 11.25.27 AM (1).jpegWhatsApp Image 2026-04-04 at 11.25.27 AM.jpegScreenshot 2026-04-04 113017.png

 

 

MM..1
Chief III
April 4, 2026

How many versions you test ?

 
 

tgtg.png

plus you test without IDE , use direc load to target in TGFX ?

tejas210Author
Associate II
April 10, 2026

Hi, 

 

I am trying direct load to target in TGFX.   I have tired 3 versions.  How to know correct version? 

ST Employee
April 8, 2026

Was there an application already running on the board when you received it?

How are you powering the board? With this specific EVAL board, I sometimes experience issues if I do not use an external power supply, as the board requires quite a lot of power. Please remember to set the jumper correctly according to your setup on the pins between the DC jack and the RS232 connector.

Could you also try to run one of the demos from the firmware pack? For example the one placed here:
C:\Users\YOUR_USER_NAME\STM32Cube\Repository\STM32Cube_FW_H7_V1.13.0\Projects\STM32H7B3I-EVAL\Examples\LTDC\LTDC_ColorKeying.

Best regards,
Johan

tejas210Author
Associate II
April 10, 2026

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:

  1. Directly loading the image from TouchGFX Designer to the target.
  2. Opening the project generated by TouchGFX in STM32CubeIDE and flashing it from there.

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

  • The board‑specific TouchGFX demo provided by ST for the STM32H7B3I‑EVAL does not working on the board. How can I get this demo to work?
  • My custom TouchGFX project (TouchGFX Designer 4.26.0) runs in the simulator but not working on the board. What steps are required to make it work on the hardware?
  • Not working = Flashing is successful but display is blank. there is not data or image on LCD display.

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

 

ST Employee
April 13, 2026

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

tejas210Author
Associate II
April 18, 2026

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

 

 

ST Employee
April 21, 2026

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

tejas210Author
Associate II
April 26, 2026

Hi Johan, 

I have imported your project in My Cube IDE setup. But while build it giving me errors. 

 

tejas210_0-1777207134177.png

Regards,

Tejas Patel

 

ST Employee
April 27, 2026

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