HardFault when upgrading TouchGFX 4.9.3 to 4.10.0
Hi ST Community,
I've ported touchgfx on my custom board, and it runs successfully. The hardware and software configuration is as follows,
HW configuration
CPU -> STM32L4R9 family
SW configuration
IAR 8.30
TouchGFX Designer 4.9.3
Now, I'm trying to upgrade TouchGFX Designer to 4.10.0, I do the following steps,
- open the project in TouchGFX Designer 4.10.0, and choose "Yes" to upgrade (TouchGFX Designer 4.10.0 will download something, seems like touchgfx core)
- run simulator successfully
- generate code in TouchGFX Designer 4.10.0
- open the project in IAR, and rebuild the project
- download the image to the custom board, and it crash.
I backup the call stack when crashing as follows. It crash when touchgfx_generic_init() -> FrontendHeap::getInstance(); is called.
HardFault_Handler
<Exception frame>
[_ZN8touchgfx6Screen4drawEv + 0x23]
[_ZN8touchgfx11ApplicationC1Ev + 0x61]
touchgfx::MVPApplication::MVPApplication()
touchgfx::MVPApplication::subobject MVPApplication()
FrontendApplicationBase::FrontendApplicationBase(class Model &, class FrontendHeap &)
FrontendApplicationBase::subobject FrontendApplicationBase(class Model &, class FrontendHeap &)
FrontendApplication::FrontendApplication(class Model &, class FrontendHeap &)
FrontendHeap::FrontendHeap()
FrontendHeap::getInstance()
class touchgfx::HAL & touchgfx::touchgfx_generic_init<STM32HAL_SPI>(class touchgfx::DMA_Interface &, class touchgfx::LCD &, class touchgfx::TouchController &, signed short, signed short, unsigned short *, unsigned int, unsigned int)
touchgfx::touchgfx_init()
GRAPHICS_Init()
I have no idea so far, can anyone help to look into the issue? Thanks!
