cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H753IIT6 Custom board with clean TouchGFX project rises HardFault handler.

JBars.1
Associate

Hi,

I'm working with my first TouchGFX project and also this is my first project with STM32H7 (I have been working with F1 and F4).

I have custom made PCB with STM32H753IIT6 rev. V, 16-bit SDRAM, 24-bit RGB 800x480 LCD without touchscreen. I'm using STM32CubeIDE 1.6.1 and TouchGFX Generator 4.16.1.

I got working LCD with external SDRAM framebuffer, but I can't get working TouchGFX. When I add TouchGFX code, I'm getting HardFault with Imprecise data access violation (IMPRECISERR). I also tried to use internal RAM, to exclude some potencial problems with external RAM.

I have D-cache, I-cache, MPU disabled. CPU runs at 400Mhz.

I tried to fallow this instruction: https://support.touchgfx.com/docs/development/board-bring-up/board-introduction, but without external FLASH section.

I also tried to use with and without FreeRTOS and with and without Chrom-ART.

Can it be something with cache or MPU? I'm new in Cortex M7 cache systems. Maybe someone can point me in to good tutorial how to setup MPU?

Thank you!

Janis

1 REPLY 1
MM..1
Chief III

Try generate demo project from TouchGFX for H750DK and compare with your code.