Skip to main content
AMerc.4
Senior
January 25, 2021
Solved

touchgfx HardFault with STM32H743II

Hello,

this is not the first time i set touchgfx in a custom board (with STM32F767 MCU). I always followed the method described in the touchfgx documentation, which can be summarized in this video guide.

Now i'm trying to get it to work with STM32H743 MCU. I tested first the framebuffer in the internal and external ram respectively, following the official documentation. Once working, i enabled touchgfx 4.16 (i'm using CUBEIDE 1.5.1), i enabled CRC and FreeRTOS v2 and i inserted MX_TouchGFX_Process() inside the GUI Task.

When i debug it returns HardFault, but if i remove the MX_TouchGFX_Process() function it debugs without problems, but obviously nothing happens.

I tried to use __HAL_RCC_CRC_CLK_ENABLE(); before initializing Touchgfx, but nothing.

I also noticed that the "Generate Under Root" checkbox is checked and i can't uncheck it, while the official documentation says to uncheck it.

Cane someone help me?

Thank you.

This topic has been closed for replies.
MM..1
MM..1Best answer
Super User
January 25, 2021

4 replies

MM..1
MM..1Best answer
Super User
January 25, 2021
AMerc.4
AMerc.4Author
Senior
January 25, 2021

How can i enable Dcache from CubeMX?

MM..1
Super User
January 25, 2021

First menu SystemCore ... CORTEX M7