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.

DSPLink init fails

My customer has an issue where DSPLink fails to init the DATA component. A similar error shown on the DSPLink Wiki does not address the solution for our case:

DSP-side configuration mismatch/failure

0              -> success

Positive value -> DSP-side failure code.

(Uint32) -1    -> DSP-side component was not initialized.

 

    ProcId received : 0, Expected : 0

    DRV configuration status    [0x0]

    IPS configuration status    [0x0]

    POOL configuration status   [0x0]

    MPCS configuration status   [0x0]

    MPLIST configuration status [0x0]

    MQT configuration status    [0x0]

    DATA configuration status   [0xffffffff]

We have narrowed it down to POOL/CHN coming back with error condition and following up on it, looking at more detail, we captured the following trace. Can anyone help identify what the issue might be please?

picking up the trace in the middle:

Leaving SHMDRV_handshake ()     status [0x8000]

Leaving LDRV_DRV_handshake ()   status [0x8000]

Entered DSP_start ()

        dspId   [0x0]

        dspAddr [0xc20b57e0]

Entered DA8XXGEM_halBootCtrl ()

        halObj  [0xc2983000]

        cmd     [0x0]

        arg     [0xc2000000]

Leaving DA8XXGEM_halBootCtrl ()         status [0x8000]

Entered DA8XXGEM_halPwrCtrl ()

        halObj  [0xc2983000]

        cmd     [0x3]

        arg     [0x0]

Leaving DA8XXGEM_halPwrCtrl ()  status [0x8000]

Leaving DSP_start ()    status [0x8000]

 

At this point we get the handshake failure due to the DATA component not being initialized:

 

Entered LDRV_DRV_handshake ()

        dspId   [0x0]

        hshkCtrl        [0x1]

Entered SHMDRV_handshake ()

        dspId   [0x0]

        linkDrvId       [0x0]

        hshkCtrl        [0x1]

Leaving SHMDRV_handshake ()     status [0x8000]

Leaving LDRV_DRV_handshake ()   status [0x8000]

Entered LDRV_DRV_handshake ()

        dspId   [0x0]

        hshkCtrl        [0x2]

Entered SHMDRV_handshake ()

        dspId   [0x0]

        linkDrvId       [0x0]

        hshkCtrl        [0x2]

Expected DSP handshake value: [0xbaba00ff]

Leaving SHMDRV_handshake ()     status [0x80008017]

    Driver handshake with DSP failed [0x80008017]:

Entered GEN_Strcmpn ()

        str1    [0xc29c0000]

        str2    [0xbf05d5ea]

        numChars        [0x3]

        cmpResult       [0xc1f2fe00]

Leaving GEN_Strcmpn ()  status [0x8000]

DSP-side configuration mismatch/failure

0              -> success

Positive value -> DSP-side failure code.

(Uint32) -1    -> DSP-side component was not initialized.

 

    ProcId received : 0, Expected : 0

    DRV configuration status    [0x0]

    IPS configuration status    [0x0]

    POOL configuration status   [0x0]

    MPCS configuration status   [0x0]

    MPLIST configuration status [0x0]

    MQT configuration status    [0x0]

    DATA configuration status   [0xffffffff]

Leaving LDRV_DRV_handshake ()   status [0x80008052]

Leaving LDRV_PROC_start ()      status [0x80008052]

Is the DATA config really the cause? All memory allocations seem to be done correctly.