Tool/software: Code Composer Studio
Hii all,
I am currently working on messageQ. I am facing a problem with messageQ_open in DSP side .I am running DSP on BIOS and ARM on linux. I am creating the messageQ in the ARM side, in ARM side its successfully creating the messageQ. But the thing is If I try to open the created messageQ in the DSP side I am getting the status value -11 i.e messageQ not found. So what I thought is may be ARM is not syncing with the DSP.
Can anyone help me how to sync the ARM with DSP....?
ARM code:
status = Ipc_start();
if (status < 0) {
printf("Error: failed to initialize IPC, error=%d\n", status);
}
printf("App_setup: IPC ready, status=%d\n", status);
MessageQ_Params_init(&msgqParams);
messageQ = MessageQ_create("CORE0", &msgqParams);
if( messageQ == NULL )
{
printf("MessageQ_create failed\n");
}
DSP code:
do {
status = MessageQ_open("CORE0", &msgQueueId); //STEP-3
if (status < 0){
Task_sleep(1);
}
ipc version: ipc_3_35_01_07
xdc version: xdctools_3_30_05_60
bios version : bios_6_41_00_26
arm compiler: /opt/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux
device: evmTCI6630K2L
I am attaching my config file also please check the config file and if have done any mistake in config file please inform me ..
Thanks and Regards
Mohan
