Changing the circleProgress widget value goes to HardFault_Handler() on STM32G071_NUCLEO
- March 3, 2021
- 4 replies
- 2336 views
When I set the circleProgress widget value to something that is not 0 it goes to HardFault_Handler() and stop working.
I started crating the application with the TouchGFX Designer for the STM32G071_NUCLEO.
I finished my simple application and on the simulator the applications runs perfectly, but when I flash it to the board this problem occur.
Then I made a screen with only a circlePorgress. If from the start I set the circlePorgress.value() to 0 it opens the screen and shows the background. But if I set the circlePorgress.value() to something else, it does not show the widget and freezes, going to HardFault_Handler(). Ones it is set to 0 I also tried to increment the values and the same happens, HardFault_Handler(). It does not matter the background and image, always fails, and only happens with this widget, from the ones I tried.
I don't know if the chip is not powerful enough, or what is happening.
I use CubeMX v6.2, CubeIDE v1.6, TouchGFX v4.16 but I try it before with CubeMX v5.5, CubeIDE v1.2, TouchGFX v4.15, and then upgrade to see if it worked on newer versions.
I attached the application I have done.