Hello,
I am trying to run the IPC project templates (IPC and I/O examples -> C6472 Examples -> C6472: MessageQ / Notify), using
XDCtools: 3.20.8.88
SYS/BIOS: 6.30.3.46
IPC: 1.22.5.27
CCSv: 4.2.3
EVM6472 Board rev. 6
and have some newbie questions.
Trying to compile both projects fails due to a missing element "heapSize" in the ti.sysbios.BIOS structure (in message_multicore.cfg and notify_multicore.cfg ).
var BIOS = xdc.useModule('ti.sysbios.BIOS');
BIOS.heapSize = 0x8000 // error
When I comment out this line (perhaps not a good idea ;-) ) the project compiles, but does not run as expected.
Who calls the tsk0_func in message_multicore.c and notify_multicore.c ? I could not find it.
/*
* ======== tsk0_func ========
* Allocates a message and ping-pongs the message around the processors.
* A local message queue is created and a remote message queue is opened.
* Messages are sent to the remote message queue and retrieved from the
* local MessageQ.
*/
Void tsk0_func(UArg arg0, UArg arg1)
...
When I try to run the project in Debug mode in the CCSv4, first core0 (C64XP_A) is enabled and stops at the main function. Should one take care of a certain order to connect and run the rest of the cores (CORE1-5) ?
Running the messageQ example nothing is displayed on the console.
For the notify example
main: MultiProc id=0
main: MultiProc name=CORE0
is displayed on the console, so only core0 is running.
I have noticed, that the platform definition for the example project is
Platform: ti.sdo.ipc.examples.platforms.evm6472.core0
why not ti.platforms.evm6472 for a multicore example ?
What would be the procedure using CCS, if different sources should be run on different cores, not the same source on all cores?
I would be glad, if someone could help me and tell me what is are my basic mistakes.
Regards, Carsten