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: Problem with Address

Other Parts Discussed in Thread: TCI6630K2L

Tool/software: Code Composer Studio

Hii all,

I am working on DSP to DSP communication using messageQ. Communication between the 2 DSP's is working fine. The below code for shared region which I am using in current project.

//This is for shared region
var SharedRegion = xdc.useModule('ti.sdo.ipc.SharedRegion');
SharedRegion.translate = false;
SharedRegion.setEntryMeta(0,
{ base: 0xc0000000,
len: 0x0010000,
ownerProcId: 0,
isValid: true,
cacheEnable: true,
cacheLineSize: 128, // Aligns allocated messages to a cache line
name: "internal_shared_mem",
});

In the above code I am giving the base address as 0xc000000.The address I am using is MSMCSRAM address in k2l board. when I create a messageQ see below code

messageQ = MessageQ_create("CORE0", NULL); //STEP-1
if (messageQ == NULL){
System_abort("MessageQ_create failed\n");
}

messageQ handler is creating in L2SRAM address (0x00800808). handler is creating in the L2S then dsp2 cannot open the messageQ which is created in the dsp1 but dsp2 is successfully opening the messageQ.

1) In this I have a doubt is that how the dsp2 is open the messageQ which is created in the dsp1??? 

2) I am allocating the MSMCSRAM memory in shared region but how messageQ handler is creating in L2SRAM????

please help me......

board:k2l (TCI6630K2L)

Regards

mohan