Hi,
I am trying to run the IPC MessageQ example on my C6A8168 EVM board. I am using SYSBIOS 6_31_04_27, IPC 1_22_03_23 and XDC tools 3_20_08_88.
I compiled both ARM and DSP versions of the example code. There was one warning in the DSP compile (below) which is OK since the build completes.
cl674 package/cfg/message_dsp_p674.c ...
3326.ARM_sysbios_ipc_MessageQ_example.zip
lnk674 message_dsp.p674 ...
"package/cfg/message_dsp_p674.xdl", line 48: warning: specific address 0x20
overrides alignment of 1024 for ".text"
"package/cfg/message_dsp.p674.s674", WARNING! at line 31514: [W9999]
Placing data in a code section (.text) is discouraged. The data may
be interpreted as code. This section will not be compressed.
b __c_int00
No Assembly Errors, 1 Assembly Warning
'Finished building: ../message_dsp.cfg'
I noticed that the configuration file message_common_cfg.xs has 4 processors configured. Are there really 4 cores in the system? Do i need to load and run all 4 copies of the messageQ program?
I did load and run on only two cores (HOST and DSP). First i stepped the main() program on dsp, it got into running state after Ipc_start(). So I stopped it and found that it was in ti_sdo_ipc_Ipc_getSlaveAddr_I() function. Secondly I stepped the main() program on Host, it got into running state after Ipc_start(). I stopped it and found that it was in SharedRegion_isCacheEnabled() function. None of the breakpoints in tsk0_func() was hit for both DSP and HOST programs.
I have attached both zipped up directories of the program. Please let me know what is wrong with my program and procedures.
Thanks,
Zhao
5775.DSP_sysbios_ipc_MessageQ_example.zip
var MultiProc = xdc.useModule('ti.sdo.utils.MultiProc');
MultiProc.setConfig(Program.global.coreName,
["VIDEO-M3", "VPSS-M3", "DSP", "HOST"]);