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.

CCS/TMDSEVM572X: Building a ipc-big-data working application

Part Number: TMDSEVM572X

Tool/software: Code Composer Studio

Hello

I successful built ipc big data example from sdk (make big-data-ipc-demo). I build it for arm/Linux dsp1/tirtos. Built applications work properly.

After this I created project in QtCreator for arm/Linux application and project in CCS for dsp1/tirtos application. Each application based on source code from ipc-big-data examples. But when I try to run my applications they are not working properly.

If I use my application for arm and dsp1-application from example building they works fine. If I use arm-application from example building and my dsp1-application (building in CCS) they works bad.

Thus i decided that problem in my dsp1-application.

I run dsp1-application: it 

* successful create message queue (MessageQ_create(msgqName, &msgqParams); ) and

* start to wait for inbound messages (status = MessageQ_get(Module.slaveQue, (MessageQ_Msg *)&msg, MessageQ_FOREVER);).

After this I run arm-application: it

* successful open message queue on dsp (status = MessageQ_open(msgqName, &Module.slaveQue);),

* succesful allocate message (msg = (App_Msg *)MessageQ_alloc(Module.heapId, Module.msgSize);),

* successful send message (MessageQ_put(Module.slaveQue, (MessageQ_Msg)msg);).

After this arm-application try to get replied message (status = MessageQ_get(Module.hostQue, (MessageQ_Msg *)&msg, MessageQ_FOREVER);) and get it, but data in shared memory is not as expected and dsp1 also not get inbound messages (I looked at log by cat /sys/kernel/debug/remoteproc/remoteproc2/trace0).

I tried to compare project setting and, for example, changed xdctools version from 3_51_01_18 to 3_50_08_24 (as in example).

Could you give me some advice how I can resolve this problem?

cmem_dsp.zipI attach my project to this post.

I use CCS 8.3.0.00009 on Linux Ubuntu, rtos and linux sdk 5_02_00_10 version.