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.

Share memory problem on DM816x

Hi,

We have a problem working with shared memory allocated on the A8, and sent to the cx6dsp to work with.

We allocate the memory with Vsys_allocBuf, region 0, which fill a Vsys_AllocBufInfo bufInfo

typedef struct {

    UInt8 *physAddr;
    /**< Physical address */

    UInt8 *virtAddr;
    /**< Virtual address */

    UInt32 srPtr;
    /**< Shared region Pointer SRPtr */

} Vsys_AllocBufInfo;

we than send the virtAddr to the cx6dsp through system_link to process

The problem is the cx6dsp does not read the memory intended.

how do we translate the address for the cx6dsp to see the same memory?

Do we use the correct function to allocate shared memory?

Thanks