cancel
Showing results for 
Search instead for 
Did you mean: 

What are the reasons of Memory Managent Exception?

akoluacik
Senior

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?

4 REPLIES 4
Erwan SZYMANSKI
ST Employee

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
Chief II

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

Erwan SZYMANSKI
ST Employee

@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.

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