cancel
Showing results for 
Search instead for 
Did you mean: 

get HardFault_Handler error in first frame

SEMad
Associate III

Hi.

I using stm32f767zgt6.

0693W00000WI2y2QAD.png there is no problem until I add 4 or more widget on the screen:

the original screen:

0693W00000WI2yCQAT.pngthe screen:

0693W00000WI2ybQAD.jpgin the middle of scan (?) it goes to hard fault handler!

what is the problem?

I test it in keil, cubeIDE, touchgfx 4.20, 4.19, 4.18, CubeMX 6.5, 6.6.1 but results were same!!

2 REPLIES 2
MM..1
Chief

Hardfault is named hard because report hardware fail.

Maybe SDRAM is first , second clocking.

Try move slider down if is source for trouble...

LCE
Principal

May latest hard faults came from some bad memory declarations and inequalities between linker file and declared memory size in c file.