cancel
Showing results for 
Search instead for 
Did you mean: 

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

GLion.1
Associate II

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.

1 REPLY 1
N. SANTINI
ST Employee

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