2022-08-25 06:28 AM
I’m using STM32H753IIT6 part for my development of a LCD display. I am getting a hard fault, when my data size crosses 8752 bytes. I’m using External memory using QSPI and using the FreeRTOS for GUI threads. The flash size is less than <1MB. For data size less than 8752 it works fine and if it crosses this value it hits the hard fault (it breaks inside a routine where I call a function pointer, function pointers are getting same addresses as in
Please help in figuring the issue.
2022-08-25 09:47 AM
Data from the actual Hard Fault would be most helpful
Instrument Hard Fault so it might output actionable data
https://github.com/cturvey/RandomNinjaChef/blob/main/KeilHardFault.c
Does behaviour change if you don't enable/configure the MPU?
2022-08-26 12:57 AM
2022-08-26 03:58 AM
2022-08-26 03:59 AM
the MPU enable and disable doesn’t make any difference