cancel
Showing results for 
Search instead for 
Did you mean: 

Hard Fault when the data section of memory increases STM32H753IIT6

Sheela
Associate II

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.

4 REPLIES 4

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?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Sheela
Associate II
 
Sheela
Associate II

0693W00000StqZ0QAJ.png

Sheela
Associate II

the MPU enable and disable doesn’t make any difference