Tool/software: TI-RTOS
Hi,
I would like to observe the execution of my application's Tasks, Hwis, Swis and so on. Therefore I'd ike to use the execution analysis tool with its execution graph.
When I run my code for approximately 10-15 seconds then suspend it and then open the RTOS Analyzer -> Execution Analysis the Execution Graph doesn't show any data.
This is my app.cfg file:
var Task = xdc.useModule('ti.sysbios.knl.Task');
var BIOS = xdc.useModule('ti.sysbios.BIOS');
var Swi = xdc.useModule('ti.sysbios.knl.Swi');
var Clock = xdc.useModule('ti.sysbios.knl.Clock');
var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
var ti_sysbios_family_c28_Hwi = xdc.useModule('ti.sysbios.family.c28.Hwi');
var Mailbox = xdc.useModule('ti.sysbios.knl.Mailbox');
var Boot = xdc.useModule('ti.catalog.c2800.initF2837x.Boot');
var LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup');
var task0Params = new Task.Params();
task0Params.instance.name = "task_MainLoop";
task0Params.priority = 5;
task0Params.stackSize = 256;
task0Params.stackSection = ".ebss:taskStackSection";
Program.global.task_MainLoop = Task.create("&MainLoop_task", task0Params);
var task1Params = new Task.Params();
task1Params.instance.name = "task_UnwuchtFilter1";
task1Params.priority = 15;
task1Params.stackSize = 256;
task1Params.stackSection = ".ebss:taskStackSection";
Program.global.task_UnwuchtFilter1 = Task.create("&Unwucht_Filter1_task", task1Params);
var task2Params = new Task.Params();
task2Params.instance.name = "task_UnwuchtFilter2";
task2Params.stackSize = 256;
task2Params.priority = 15;
task2Params.stackSection = ".ebss:taskStackSection";
Program.global.task_UnwuchtFilter2 = Task.create("&Unwucht_Filter2_task", task2Params);
var swi0Params = new Swi.Params();
swi0Params.instance.name = "swi_Drehzahl1_Berechnung";
swi0Params.priority = 10;
Program.global.swi_Drehzahl1_Berechnung = Swi.create("&Drehzahl_Berechnung1_swi", swi0Params);
var swi1Params = new Swi.Params();
swi1Params.instance.name = "swi_Drehzahl2_Berechnung";
swi1Params.priority = 10;
Program.global.swi_Drehzahl2_Berechnung = Swi.create("&Drehzahl_Berechnung2_swi", swi1Params);
var clock0Params = new Clock.Params();
clock0Params.instance.name = "clock_Keine_Drehzahl1";
clock0Params.period = 50;
clock0Params.startFlag = true;
Program.global.clock_Keine_Drehzahl1 = Clock.create("&Keine_Drehzahl1_swi", 50, clock0Params);
var clock1Params = new Clock.Params();
clock1Params.instance.name = "clock_Keine_Drehzahl2";
clock1Params.period = 50;
clock1Params.startFlag = true;
Program.global.clock_Keine_Drehzahl2 = Clock.create("&Keine_Drehzahl2_swi", 50, clock1Params);
var ti_sysbios_family_c28_Hwi0Params = new ti_sysbios_family_c28_Hwi.Params();
ti_sysbios_family_c28_Hwi0Params.instance.name = "hwi_AD_Wert1";
ti_sysbios_family_c28_Hwi0Params.maskSetting = xdc.module("ti.sysbios.interfaces.IHwi").MaskingOption_ALL;
Program.global.hwi_AD_Wert1 = ti_sysbios_family_c28_Hwi.create(76, "&AD_Wert1_hwi", ti_sysbios_family_c28_Hwi0Params);
var ti_sysbios_family_c28_Hwi1Params = new ti_sysbios_family_c28_Hwi.Params();
ti_sysbios_family_c28_Hwi1Params.instance.name = "hwi_AD_Wert2";
ti_sysbios_family_c28_Hwi1Params.maskSetting = xdc.module("ti.sysbios.interfaces.IHwi").MaskingOption_ALL;
Program.global.hwi_AD_Wert2 = ti_sysbios_family_c28_Hwi.create(78, "&AD_Wert2_hwi", ti_sysbios_family_c28_Hwi1Params);
var ti_sysbios_family_c28_Hwi2Params = new ti_sysbios_family_c28_Hwi.Params();
ti_sysbios_family_c28_Hwi2Params.instance.name = "hwi_Drehzahl1_Flanke";
ti_sysbios_family_c28_Hwi2Params.maskSetting = xdc.module("ti.sysbios.interfaces.IHwi").MaskingOption_ALL;
Program.global.hwi_Drehzahl1_Flanke = ti_sysbios_family_c28_Hwi.create(56, "&Drehzahl1_Flanke_hwi", ti_sysbios_family_c28_Hwi2Params);
var ti_sysbios_family_c28_Hwi3Params = new ti_sysbios_family_c28_Hwi.Params();
ti_sysbios_family_c28_Hwi3Params.instance.name = "hwi_Drehzahl2_Flanke";
ti_sysbios_family_c28_Hwi3Params.maskSetting = xdc.module("ti.sysbios.interfaces.IHwi").MaskingOption_ALL;
Program.global.hwi_Drehzahl2_Flanke = ti_sysbios_family_c28_Hwi.create(59, "&Drehzahl2_Flanke_hwi", ti_sysbios_family_c28_Hwi3Params);
var mailbox0Params = new Mailbox.Params();
mailbox0Params.instance.name = "mailbox_Filter1_In";
Program.global.mailbox_Filter1_In = Mailbox.create(6, 4, mailbox0Params);
var mailbox1Params = new Mailbox.Params();
mailbox1Params.instance.name = "mailbox_Filter2_In";
Program.global.mailbox_Filter2_In = Mailbox.create(6, 4, mailbox1Params);
BIOS.cpuFreq.lo = 200000000;
Program.stack = 1024;
BIOS.heapSize = 0;
BIOS.libType = BIOS.LibType_Debug;
BIOS.customCCOpts = "-v28 -DLARGE_MODEL=1 -ml --float_support=fpu32 -q -mo --program_level_compile -g";
Boot.OSCCLKSRCSEL = Boot.OscClk_XTAL;
Boot.OSCCLK = 20;
Boot.SPLLIMULT = 20;
Boot.SYSCLKDIVSEL = 1;
Boot.disableWatchdog = true;
Task.defaultStackSize = 256;
Task.defaultStackSection = ".ebss:taskStackSection";
BIOS.heapSection = ".ebss:taskStackSection";
LoggingSetup.sysbiosSwiLogging = true;
LoggingSetup.sysbiosHwiLogging = true;
LoggingSetup.sysbiosSemaphoreLogging = true;
LoggingSetup.benchmarkLogging = true;
LoggingSetup.countingAndGraphingLogging = true;
LoggingSetup.snapshotLogging = true;
var LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup');
LoggingSetup.sysbiosLoggerSize = 1024;
LoggingSetup.loadLogging = false;
BIOS.logsEnabled = true;
LoggingSetup.loggerType = LoggingSetup.LoggerType_STOPMODE;
This is a screenshot of my SYS/BIOS:
This is a screenshot of my UIA configuration:
This is a screenshot of my Execution Analysis Configuration:
And finally this is a screenshot of my empty Execution Graph:
I can't find my mistake and it would be great if someone had an idea what I am doing wrong.
Greets Alex