Skip to main content
KKIM.6
Senior
October 13, 2022
Solved

MemManage fault detected in instruction located at 0x6414AA00.

  • October 13, 2022
  • 2 replies
  • 3980 views

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"

0693W00000Uo1lDQAR.pngHere is the question.

How can I understand what's this error and how can I fix it?

This topic has been closed for replies.
Best answer by Remy ISSALYS

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:

  • 0 = do not trap divide by 0; a divide by 0 returns a quotient of 0.
  • 1 = trap divide by 0.

Best Regards

2 replies

KKIM.6
KKIM.6Author
Senior
October 13, 2022

I can see this error also.0693W00000Uo1jxQAB.pngDIV_0_TRP bit was enabled.

What is this? and How can I understand this error and fix it?

Remy ISSALYS
Remy ISSALYSBest answer
Technical Moderator
November 7, 2022

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:

  • 0 = do not trap divide by 0; a divide by 0 returns a quotient of 0.
  • 1 = trap divide by 0.

Best Regards

KKIM.6
KKIM.6Author
Senior
November 10, 2022

Thanks for your reply...this problem is solved.