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.

Trouble with messageQ

Hello,

The forum doesn't allow me to attach my tarball with sources, so please get it here: http://the-grue.de/~markus/myMsqQ.tar.bz2

 

After getting rid of code composer studio and instead using xdc / gmake on linux and Lee Holevas help (thanks!), I managed to "extract" syslinks "messageQ" example and compile it on its own. I want to modifiy it to create a simple telegram communication. I got along quite well, but now I'm stuck:

First, I got "region is invalid" assertion errors when calling HeapMemMP_open on Integras DSP (DSP/pt/msgq/MessageQApp.c::187)

    /* Open the heap created by the other processor. Loop until opened. */
    do {
        status = HeapMemMP_open(aInfo.heapName, &heapHandle);
        if (status == HeapMemMP_E_NOTFOUND) {
            /* Sleep for a while before trying again. */
            Task_sleep (10);
        }
    }

The assertain that failed was this one in line 203 of ipc_1_22_05_27/packages/ti/sdo/ipc/SharedRegion.c:

        /* Make sure the region is valid */
        Assert_isTrue(region->entry.isValid == TRUE,
                ti_sdo_ipc_SharedRegion_A_regionInvalid);

Strangely enough, after some debugging with CCS, I don't get this assertin any more, but only because it seems that the APPNotify_callbackFxn is never called. When I start the test, nothing happens for a long time. When I stop the debugger I get this backtrace:

The breakpoint after the semaphore (DSP/pt/msgq/MessageQApp.c::180) is never reached.

It would be very kind if someone could have a look at it...

The versions of the used packages are:

ipc_1_22_05_27
syslink_02_00_00_68_beta1

TIA,
Markus