Skip to main content
akoluacik
Associate III
August 31, 2022
Question

What are the reasons of Memory Managent Exception?

  • August 31, 2022
  • 3 replies
  • 4526 views

I am implementing a program that retrieves sound from MEMS microphone and process it with XCUBE-AI. The sound is retrieved with DMA, and the related data is written inside RAM. When I use this data, the program goes into Memory Management handler. However, if I fill a memory with loop and use it as sound data, the program works well.

My question is that I couldn't find anything about Memory Management exception, the reasons, etc. How can I solve it?

This topic has been closed for replies.

3 replies

Erwan SZYMANSKI
Technical Moderator
September 5, 2022

Hello @Anıl Koluaçık​ ,

Can you please give me some more information concerning your issue ?

Maybe you have some logs when your system crash (a backtrace)?

Can you also give me the Openstlinux version on which you work ?

Kind regards,

Erwan.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Piranha
Principal III
September 5, 2022

The person works on STM32F7 and most likely hasn't noticed the difference of MCU vs MPU...

akoluacik
akoluacikAuthor
Associate III
September 8, 2022

Sorry for that issue, this is twice I am making this mistake. Sry again.

Erwan SZYMANSKI
Technical Moderator
September 6, 2022

@Anıl Koluaçık​ @Piranha​ ,

Hello,

My bad I thought that you were using X-LINUX-AI. So true, if you work on STM32F7, please post your topics on St Community MCU side.

Kind regards,

Erwan.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.