2022-10-13 02:27 PM
I'm developing a custom board with STM32WB55.
Because there is some error during debugging, I'm trying to solve it.
To check what is problem in the microcontroller, I tried Fault Analyzer in the STM32CubeProgrammer and the program found such an error below.
"MemManage fault detected in instruction located at 0x6414AA00"
Here is the question.
How can I understand what's this error and how can I fix it?
Solved! Go to Solution.
2022-11-07 06:57 AM
Hello,
According to UM2237 documentation the Memory Management Fault detects memory access violations to regions defined in the memory management unit (MPU), such as code execution from a memory region with read/write access only. If this fault was triggered by a faulty address, access is displayed on the MMFAR text field.
For the second point DIV_0_TRP allow to enable Usage Fault when the processor executes an SDIV or UDIV instruction with a 0 divider:
Best Regards
2022-10-13 02:30 PM
I can see this error also.DIV_0_TRP bit was enabled.
What is this? and How can I understand this error and fix it?
2022-11-07 06:57 AM
Hello,
According to UM2237 documentation the Memory Management Fault detects memory access violations to regions defined in the memory management unit (MPU), such as code execution from a memory region with read/write access only. If this fault was triggered by a faulty address, access is displayed on the MMFAR text field.
For the second point DIV_0_TRP allow to enable Usage Fault when the processor executes an SDIV or UDIV instruction with a 0 divider:
Best Regards
2022-11-10 04:03 AM
Thanks for your reply...this problem is solved.