cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F746IGT , 7 inch display With TouchGFX issues?

GMano.1
Associate II

Hai

i have a STM32F746IGT Development board and (Waveshare) 7inch display(800x480).

Using tools are following bellow;

STM32CubeIDE 1.6.1

TouchGFX 4.16.0

STM32CubeMX 6.2.1

  1. while run the code it's go to Hard Fault ();
  2. after doing some change in LTDC start Frame Buffer address and some were it work fine. if there any changes in screen using TouchGFX tool display is also update.(Note: while display working time it's not enter the While() loop function)
  3. Once switch OFF and ON the controller come back to fist position.

I change Stack Size is also it not work.

Searching in internet related this issues but not find anything.

i am facing this issues for long time.

any one please share solution for this problems.

Please find the attachment of Program file for reference.

where i am doing make mistakes....? i need change hardware or code........?

https://we.tl/t-c5Mk475n6w

Thanks you

by

M.Govind

2 REPLIES 2

I don't have this board combo, get a Hard Fault Handler that outputs useful information so you can track down specifically what is faulting.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
MM..1
Chief III

I dont check your code completely, but some tips:

  1. i dont see any lines to config LCD no BSP or user code...
  2. your set LTDC 0XD0000 but touch 0XC0000, pls set real functional ram area, without real ram = hard fault
  3. timing for SDRAM vs LTDC vs MCU vs ... must be set correctly when not = hardfault , i recommend start tests with internal RAM usw.
  4. use break points and locate code that runs ok and point for hardfault or as Tesla writes track faulting