2022-09-23 01:11 AM
Hi,
I am using Stm32F4Discovery board.
While debugging my customised application I got trapped in MemManage_Handler exception and when I viewed the cause for that exception in CFSR register at address 0xe000ed28, the bit MUNSTKERR was set. When referred in cortex m4 datasheet, it was mentioned as "MemManage fault on unstacking for a return from exception".But dont know where to look for to fix. Please help how to solve this issue.
2022-09-23 08:01 AM
The cortex guide also says "the processor has not adjusted the SP", so the SP still points to the stack entries that caused the problem. Where is SP pointing? Is it valid stack space? What values are on the stack.
2022-09-23 03:03 PM