STM32F746 Disco HardFault_Handler

asked Oct 7, 2017 in System Integration by srcn


I use STM32F746 Disco kit and I try build any examples, kits has an error. 

1 Answer

0 votes
answered Oct 9, 2017 by Manfred Schweyer
Best answer


it is very difficult to find the root cause based on the provided information...

Which example are you trying to execute? Does the 'HelloWorld' example (according to the Getting Started documentation) work?

What are the versions of Embedded Wizard, the Build Environment and the STCube Firmware?

What compiler toolchain are you using and which version?

Are you using an original STM32F746 Discovery board - or is it modified?

Best regards,


commented Oct 9, 2017 by srcn
I try "HelloWorld" example. Actually STM32F746 Discovery boards TFT touch connection cable damaged. May be touch panel not working therefore I2C interface not initialize. If so, how should ı do ?
commented Oct 9, 2017 by Manfred Schweyer
The best solution is: Try to use a working hardware - otherwise, the behaviour of the software may be unpredictable if the board is somehow damaged.

Of course, you can try to deactivate the touch driver within the initialization and remove all touch driver accesses...
commented Oct 9, 2017 by srcn
I try ST demo software kits works just touch panel not work. How can I deactive the touch driver Embedded Wizard?
commented Oct 9, 2017 by Manfred Schweyer
You can remove the 'touch' function calls within main.c - there is no access from Embedded Wizard generated code to the touch driver.
commented Oct 9, 2017 by srcn
Thank your advice, I can remove the touch function calls and kits works

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint