• TI Thinks Resolved

TMDSEVM5517: About audio-preprocessing demo

Expert 2945 points

Replies: 13

Views: 249

Part Number: TMDSEVM5517

Hello.

I am evaluating audio-preprocessing demo following below document.

http://www.ti.com/lit/an/spracn7/spracn7.pdf

The demo works well with 4 mics on PCM1864CMBEVM.

Could you tell me how to run the demo with 6 mics on PCM1864CMBEVM?

I modified codec_pcm186x.h as below.

-----

// #define NUM_OF_MICS 4

#define NUM_OF_MICS 6

-----

But following build error exist.

-----

...Initializing DRC

Not enough heap, exiting

-----

Are there any additional modifications to run 6 mic audio-preprocessing demo?

Regards,

U-SK

  • Expert 2945 points

    Hi,

    Do you have any updates?

    Regards,

    U-SK

  • In reply to U-SK:

    Hi,

    Sorry for the delay. I was OoO.
    Have you tried modifying the linker.cmd file in your project?

    See:

    http://processors.wiki.ti.com/index.php/Linker_CMD_Files_for_CCS

    or: 

     http://software-dl.ti.com/ccs/esd/documents/sdto_cgt_Linker-Command-File-Primer.html

    Best Regards,
    Yordan

     


     Please make sure you read the forum guidelines first.

  • Expert 2945 points

    In reply to Yordan Kovachev:

    Hi Yodan,

    Thank you for your reply.

    I'll try it.

    Could you tell me in detail how to modify linker cmd file ?

    How much do we need heap size?

    Where should I add heap size option?(--heap_size=0x???)

    Regards,

    U-SK

  • Expert 2945 points

    In reply to U-SK:

    I changed heap size to some value (0x1000, 0x2000, 0x4000, etc), but below error appeared when program is executed.

    (Build error is nothing, sorry.)

    -----

    ...Initializing DRC

    Not enough heap, exiting

    -----

    Are there any additional configurations?

    It seems that memory allocation has failed in bf_men_alloc_align() function in bf_asnr_mss_vau.c.

    If I can be friend with you and send private message, I can send some current my files.(cmd file, map file etc)

    Regards,

    U-SK

  • Expert 2945 points

    In reply to U-SK:

    Hi Yodan,

    Do you have any updates?

    Regards,

    U-SK

  • In reply to U-SK:

    Hi,

    Check this e2e:
     

    Best Regards,
    Yordan

     


     Please make sure you read the forum guidelines first.

  • Expert 2945 points

    In reply to Yordan Kovachev:

    Hi Yordan,

    Thank you for your reply.

    I've checked the post you sent.

    I don't know where to check the map file.

    Could you give me advice about it?

    Have you ever run the audio-preprocessing demo with 6 mics?

    Regards,

    U-SK

  • In reply to U-SK:

    Hi,

    I don't know where to check the map file.

    Could you give me advice about it?

    You can find an answer here:
    http://software-dl.ti.com/ccs/esd/documents/ccs_files_in_projects.html#linker-map-file

    Best Regards,
    Yordan

     


     Please make sure you read the forum guidelines first.

  • Expert 2945 points

    In reply to Yordan Kovachev:

    Hi Yordan,

    Thank you for your reply.

    Have you ever run the audio-preprocessing demo with 6 mics?

    Did my problem(CCS error) reproduce on your setup?

    Regards,

    U-SK

  • Expert 2945 points

    In reply to U-SK:

    Hi Yodan,

    Do you have any updates?

    Regards,

    U-SK