cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 Hardfault Error when calling fillBuffer under TouchGFX.

AEng7
Senior

Hey, I am running into issues with a custom PCB based on STM32H743IIT6.

Using IS42S32400J-6TLI as SDRAM,  with an LCD screen. Using TouchGFX and DMA2D deactivated.

A hard fault is encountered after entering Model:Tick()

Hard Fault Error Detected at:

AEng7_0-1770822211656.png

 

Debug stack view:

AEng7_1-1770822232259.png

 

LTDC:

AEng7_0-1770822298398.png

AEng7_1-1770822317365.png

SDRAM - only 16 data bits used:

AEng7_2-1770822365014.png

TouchGFX:

AEng7_3-1770822401018.png

 

MCU:

AEng7_0-1770823991550.png

 

 

Any suggestions what could be causing this Hard Fault error?

 

1 ACCEPTED SOLUTION

Accepted Solutions

This was solved by setting the SDRAM, LTDC, and unlocking the MCU regions appropriately 

View solution in original post

3 REPLIES 3
AEng7
Senior

Seems to go to 

AEng7_0-1770823352866.png

 

Then BusFault Handler at :

AEng7_1-1770823584417.png

 

 

Applying new MCU settings:

AEng7_0-1770825379420.png

 

I still get the BusFault_Handler error

 

This was solved by setting the SDRAM, LTDC, and unlocking the MCU regions appropriately