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.

[OMAPL137] DSPLink: Unable to Locate Message Queue

Other Parts Discussed in Thread: OMAP-L137

Environment:

OMAP-L137, MontaVista Pro 5, DSPBios 5.33.05, CGTools 6.1.9, DSPLink version 1.63

The current issue I'm having is the following:

1) Utilizing the MSG component in DSPLink 1.63,  I'm using MSG_locate() on the GPP to locate a message queue on the DSP; however, I consistently get error message 0x80008054, which from the DSPLink API documentation is:
#define  DSP_ENOTREADY   (DSP_EBASE + 0x54l)

I've debugged the message queue on the DSP and it successfully OPENS the message queue.

2) I've followed the message example in DSPLink and double checked the transport is open, the pool is configured, etc, etc.  Everything is successful on the DSP side.  Utilizing the same pool, I can utilize the RING IO module that is similar to RingIO example provided in DSPLink and all is successful.

I have one Pool defined for both a RINGIO and MSG.  I see no pool-specific errors (or any other errors), only when the GPP tries to locate the DSP's queue.  NOTE:  I tried to locate the GPP's message queue on the DSP side as well, but it was unable to locate.

Any help would be greatly appreciated.

  • Hi,

    On the DSP-side, have you configured MSGQ? i.e. have you created the MSGQ transport? This corresponds to the definition of global variable MSGQ_config in the file dsplink_1_63\dsplink\dsp\src\samples\message\message_config.c

    Also, is ENABLEMSGQ set to TRUE in DSP-side configuration?

    bios.MSGQ.ENABLEMSGQ = true;
    The error indicates that the MSGQ transport was not created on the DSP-side. For details on the configuration of DSP-side MSGQ to create Message Queue Transports, you can look at the DSP/BIOS MSGQ module documentation.

    Regards,
    Mugdha