This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Example application with more than Pool

Other Parts Discussed in Thread: OMAPL138

Hi,

   I am using OMAPL138,  and DSPLink 1.65.1.06

   Message sample application have build for single MSGQ on GPP and single MSGQ on DSP.  There is only one pool in Dsplink shared memory.

Can I get an example application which has more than one Pool. 

  • The DSPLink sample application named message_multi shows usage of multiple POOLs.  It is located in dsplink_linux_1_65_01_06/dsplink/gpp/src/samples/message_multi.  It is documented in the User Guide as well.

    Regards,

    - Rob

     

  • Thanks Rob,

                  In DSP message multi application even though number of pool is 16, only one pool is used (POOL 0 ).  If I want to use more than one pool in DSP in omapl138.

    What change i have to made in message_config.c file.?

    how to configure MSGQ Transport for more than one POOL?

    can DSP able to locate GPP MSGQ which set its error handler in other Pool which is not used by DSP?

  • Kalaiyarasan ES said:

    how to configure MSGQ Transport for more than one POOL?

    I'm not sure I understand the question, although I don't currently have much knowledge of MSGQ transports.  I would expect that a MSGQ Transport can have only one pool assigned to it, and that that one pool is where the transport gets its buffers (otherwise, there would need to be a way to "tell" the transport which pool to use, and I don't think you have control of that).

    Kalaiyarasan ES said:

    can DSP able to locate GPP MSGQ which set its error handler in other Pool which is not used by DSP?

    I don't understand what you're asking here, please restate your query.

    However, I will say that, in general, either side (DSP or GPP) should be able to locate any MSGQ as long as it knows the right name.

    Regards,

    - Rob

  • Rob,

    If I set error handle of GPP MSGQ in different POOL.  can DSP able to locate & send message to that GPP MSGQ ?

  • Is there a document that explains how to setup multiple pools? I remember seeing one months ago, but I just can't seem to find it.

    The reason I ask is that, within the same pool (which has different buffers of various different size pool elements), you cannot specify which buffer you want to grab an element from. My solution for this is to use multiple distinct pools and MsgQs.

  • Nevermind, I think what I was looking for is contained in the docs/ProgrammersGuide.pdf, in the POOL sections -> Configuration -> Configuring Multiple pools

    The same description can also be seen here:

    http://linux.davincidsp.com/pipermail/davinci-linux-open-source/2007-October/004418.html