Hello everyone,
On C6678 we have a working application using IPC on 2, 4 and 8 cores (one project for 2 cores, another one for 4 and another one for 8). They work fine.
Now we are trying to use the System Analyser to get a better idea of the execution of the program (time spent doing IPC communication vs time spent processing data for example).
We now use CCS 5.3 (we started with 5.1 and just upgraded) and System Analyser works ok with 2 cores and 4 cores (execution graph + UIABenchmark with log_write ).
With 8 cores it doesn't work : the program execution fails, an exception is thrown and the registers values are dumped in the console.
If we remove the LoggingSetup part of the cfg, the program works again.
Any idea to solve this behaviour ?
---
The application uses Notify, 1 task and 1 function, no HWI no SWI, 1 Task_sleep.
Same image for each core
System Analyser 1.1.0.11
Sysbios 6.35
IPC 1.25
CCS 5.3
Here's the cfg :
/* ******* Modules *********/
var MultiProc = xdc.useModule('ti.sdo.utils.MultiProc');
var LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup');
var Log = xdc.useModule('xdc.runtime.Log');
var System = xdc.useModule('xdc.runtime.System');
var SysStd = xdc.useModule('xdc.runtime.SysStd');
var Notify = xdc.useModule('ti.sdo.ipc.Notify');
var Ipc = xdc.useModule('ti.sdo.ipc.Ipc');
var BIOS = xdc.useModule('ti.sysbios.BIOS');
var Task = xdc.useModule('ti.sysbios.knl.Task');
var SharedRegion = xdc.useModule('ti.sdo.ipc.SharedRegion');
var ti_sysbios_knl_Clock = xdc.useModule('ti.sysbios.knl.Clock');
var UIABenchmark = xdc.useModule('ti.uia.events.UIABenchmark');
/* ********** Modules configuration *********** */
ti_sysbios_knl_Clock.tickPeriod = 1; //1us.
LoggingSetup.eventUploadMode = LoggingSetup.UploadMode_JTAGRUNMODE;
LoggingSetup.sysbiosLoggerSize = 32768;
LoggingSetup.sysbiosSwiLogging = false;
LoggingSetup.sysbiosHwiLogging = false;
System.SupportProxy = SysStd;
System.extendedFormats = '%$L%$S%$F%f';
var nameList = ["CORE0", "CORE1","CORE2", "CORE3","CORE4", "CORE5","CORE6", "CORE7"];
MultiProc.numProcessors = 8;
MultiProc.setConfig(null, nameList);
BIOS.heapSize = 0x8000;
var tsk0 = Task.create('&tsk0_func');
tsk0.instance.name = "tsk0";
/* ********** IPC modules configuration *********** */
(not shown here)