Skip to main content
GLion.1
Associate
November 3, 2022
Question

Why does a HardFault_Handler occur in my touchgfx_generic_init on calling FrontendHeap::getInstance()?

  • November 3, 2022
  • 1 reply
  • 1400 views

Hello,

I have a problem during my touchgfx_generic_init call.

I fall in HardFault_Handler when FrontendHeap::getInstance(); is called.

Before that I have a strange behavior on calling hal.initialize(); which calls OSWrappers::initialize() and switch to disassembly code.

You can have look on the print screen joined.

Thanks for your help.

This topic has been closed for replies.

1 reply

N. SANTINI
ST Employee
November 10, 2022

Hi,

Do you have the CRC enabled ? It is mandatory to initialize the TouchGFX library, please see the following post : HardFault in MX_TouchGFX_Init() (st.com)

Best regards,

Nicolas