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.

Msgcom test

Hi,


I am working with a EVMK2H. I want to create an application that runs on the ARM and that send tasks to DSPs when needed, therefore I want to test communication between cores.

For that purpose, I am following the "SYSLIB Unit Test Document" provided with the MCSDK to test the msgcom library. The thing is that when I load the msgcom files on the DSPs through CCS, the ARM console gets stuck.

I have also tried loading the .out files on the DSPs using mpmcl instead of doing it through CCS, getting an error. Here is what it appears in mpmsrv.log 

mpmsrv.c:76:mpm_server: waiting for slave message
mpmsrv.c:105:mpm_server: received message of size 107 bytes for cmd 1
mpmsrv.c:127:mpm_server: received load command for dsp0 filename /home/root/Core0_msgCom_tmdxevm6638lxe_UnittestProject_big.out
mpmssm.c:363:mpm_load_slave: loading dsp0
mpmdlif.c:195:map_and_copy_segment: transport mmap failed for addr 0x80001000 size 545296 (err: No such file or directory)
mpmdlif.c:958:DLIF_allocate: map and copy failed for image /home/root/Core0_msgCom_tmdxevm6638lxe_UnittestProject_big.out with addr 0x80001000, size 0x85210
mpmdlif.c:1116:DLIF_error: << D L O A D >> ERROR:
mpmdlif.c:1119:DLIF_error: Failed to allocate target memory for static executable.

mpmdlif.c:641:mpm_dlif_load: Image loading failed for file /home/root/Core0_msgCom_tmdxevm6638lxe_UnittestProject_big.out
mpmssm.c:374:mpm_load_slave: Image loading failed for /home/root/Core0_msgCom_tmdxevm6638lxe_UnittestProject_big.out
mpmssm.c:337:mpm_ssm_state_error: entered error state for dsp0

I presume there must be a problem with the msgcom test project configuration. I have checked the build settings and the .cfg file, but I don't find where the problem is. I would really appreciate if someone can point me in the right direction.


Thanks

Regards,

Ernesto Alonso Gutiérrez