Maestro audio play error for out of memory

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Maestro audio play error for out of memory

491 Views
antoniohsu888
Contributor II

Hi, NXP:

I met a error for maestro audio play.

This audio library is  play from memory which customized by NXP. (Support by Kerry Zhou)

Now I try to integrate this maestro play into MATTER project.

On my PCBA, MCU is RT1062 whti 64MB external flash and 32MB SDRAM.

I modified the project to use SDRAM and extend the heap and stack size.

But the audio play still shows this error

[STREAMER] Message Task started
[STREAMER] start
STREAMER CATASTROPHIC 0x0000000000000003 OUT OF MEMORY [CCID]Out of memory: ccidec_mem

Increase the task stack and heap sizie seems can't recover it.

Attached file is the customized maestro library.

By the way, I tried to disable the MATTER app task, and create a single task for audio play.

It can work, but if I enable the MATTER app. task, the audio play shows the out of memory error.

Seems it is the stack or heap issue, but I increase the stack and heap size can't fix it.

What is this error means and how to fix it ?

Thanks.

 

 

0 Kudos
3 Replies

468 Views
PabloAvalos
NXP TechSupport
NXP TechSupport

Dear @antoniohsu888 

 

Thanks a lot for the opportunity you are giving us to serve you. I really appreciate your patience too.

 

Regarding your issue, may I know which SDK version/example and IDE you are using for? So probably I can reproduce your issue on RT1062 to bring you some help.

 

Please let me know if you have some other questions I can help you with. I am willing to help.

 

Best Regards.
Pablo Avalos.

0 Kudos

448 Views
antoniohsu888
Contributor II

Hi, Pablo Avalos:

My project is based on Maestro_record.

It's SDK is RT1060_EVKB 2.11.1.

and the IDE is MCUXPresso IDE v11.5.1.

But the issue is on integration with NXP Matter project.

and the audio play library is customized play from memory.

Is it possible for you to check with your audio designer what is the error message?

Seems it is not related to heap or stack memory.

Where I can modify or increase the required memory size ?

STREAMER CATASTROPHIC 0x0000000000000003 OUT OF MEMORY [CCID]Out of memory: ccidec_mem

 

BR, Antonio.

 

0 Kudos

434 Views
PabloAvalos
NXP TechSupport
NXP TechSupport

Dear @antoniohsu888 

 

Thanks for letting me know.

 

I would suggest you to reach your local point of contact about NXP Matter Project, because we do not have anything about it so far, so I am afraid that I cannot help you with that, either my audio designer due to the integration with Matter is not available.

 

Your comprehension is too appreciated and we apologize for the issues that this might cause you.

 

Best Regards.
Pablo Avalos.

0 Kudos