2021-07-26 10:53 AM
Hello,
I have problem with touchGFX once i updated it from 4.16.1 to 4.17 ....
when touchgfx_init() function reached to this line (FrontendHeap& heap = FrontendHeap::getInstance();) it makes hardfault which i have not on previous version....
in assembly on this line:
0x08009748 F7FAFBF4 BL.W _ZN12FrontendHeapC2Ev (0x08003F34)
Please help ......
Solved! Go to Solution.
2021-09-30 11:15 AM
Hi Romian,
The problem was solved when I decided to migrate from Keil to STM32CubeIDE... surprisingly everything's worked fine... I think Keil bugs made this issue...
Special thanks for your support.
2021-08-30 01:25 AM
Hi,
Digging this up a bit. Were you able to fix your issue ? Were you working on a custom hardware or on the STM32H743-EVAl board ? What toolchain/IDE are you working with (and which version) ?
I was not able to replicate your issue on the eval board, could you share your project if you are working on this board ? Or screenshots of the error message if any / hardfault ?
You say on your other post that you also tried to create a project from scratch, did you create it from STM32CubeMX 6.3 or from STM32CubeIDE ?
/Romain
2021-09-30 11:15 AM
Hi Romian,
The problem was solved when I decided to migrate from Keil to STM32CubeIDE... surprisingly everything's worked fine... I think Keil bugs made this issue...
Special thanks for your support.
2021-12-23 12:16 PM
Hello,
I have the same problem with identical behavior on stm32h743xi. Hard fault after line:
FrontendHeap& heap=FrontendHeap::getInstance();
Problem was in initialization of CRC module.
In my case default _weak implementation of HAL_CRC_MspInit() doesn't perform __HAL_RCC_CRC_CLK_ENABLE();
2021-12-25 11:34 PM
Hi, Are you using cubeIde or Keil?
2022-01-11 03:51 AM
Hi,
I use cubeide 1.8.0
2023-08-12 04:09 AM - edited 2023-08-12 04:16 AM
I have the same Error using a Custom Board with a STM32H743ZI controller.
First a want to use the internal Flash and RAM_D1 for the TouchGFX App but i always get a Hardfault on Line
FrontendHeap& heap=FrontendHeap::getInstance();
__HAL_RCC_CRC_CLK_ENABLE(); is executed
my Toolchain is up to date
any ideas?
2023-09-17 11:41 PM - edited 2023-09-18 09:58 AM
Same error here. Using STM32H747i Eval board.
Added the first TextBox widget to my project. Added wildcard. When FronendHeap::getInstance() is called it is trapped by the MemManage_Handler fault. When disabling the Memory Management Unit, it is trapped in the HardFault_Handler.
If I delete the textbox, error is gone.
QSPI is initialized and in MemoryMapMode. Address is readable by the debugger.
Occasionally, if I step through the code, I can get by the FrontEndHeap::getInstance() only to have to crash at touchgfx::TextArea::getTextWidth().
I can confirm all bitmaps in QSPI load correctly, so QSPI does not seem to be the issue.
2023-09-18 02:59 AM
A little more insight. When removing the linker directive for text and place it in flash, it works.
TextFlashSection :
{
ExtThirdPartyHeader = .;
KEEP(*(.TextFlashSection));
ExtThirdPartyHeader_end = .;
} >QSPI
Is there anything incorrect with the above directive?
2024-04-12 09:16 AM
i have the same problem