Hi,
I have been trying to run the Stairstep example for Ethernet, to test the System Analyzer. I was able to see the execution graph but not the CPU and Taks Load graphs. I checked the events coming from the board and there are Load event from CPU and tasks. The following is the cfg file that I'm using:
/*
* ======== stairstepOneCore.cfg ========
*/
/* ================ XDC Configuration ================ */
/*
* The SysStd System provider is a good one to use for debugging
* but does not have the best performance. Use xdc.runtime.SysMin
* for better performance.
*/
var System = xdc.useModule('xdc.runtime.System');
var SysStd = xdc.useModule('xdc.runtime.SysStd');
var Load = xdc.useModule('ti.sysbios.utils.Load');
System.SupportProxy = SysStd;
var Memory = xdc.useModule('xdc.runtime.Memory');
Memory.defaultHeapSize = 0x10000;
Program.heap = 0x10000;
Timestamp = xdc.useModule('xdc.runtime.Timestamp');
Log = xdc.useModule('xdc.runtime.Log');
/* ================ BIOS Configuration ================ */
BIOS = xdc.useModule('ti.sysbios.BIOS');
Clock = xdc.useModule('ti.sysbios.knl.Clock');
Swi = xdc.useModule('ti.sysbios.knl.Swi');
Task = xdc.useModule('ti.sysbios.knl.Task');
Timer = xdc.useModule('ti.sysbios.hal.Timer');
Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');
/*
* Configure a Timer to interrupt every 100ms
* timerFunc() provides Hwi load and posts a Swi and Semaphore
* to provide Swi and Task loads.
* And adjusts the loads every 5 seconds.
*/
var timerParams = new Timer.Params();
timerParams.startMode = Timer.StartMode_AUTO;
timerParams.period = 100000; /* 100,000 uSecs = 100ms */
var timer0 = Timer.create(Timer.ANY, '&timerFunc', timerParams);
/*
* Create Semaphore for Task thread to pend on
*/
Program.global.sem = Semaphore.create(0);
/*
* Create Swi load thread
*/
Program.global.swi = Swi.create('&swiLoad');
/*
* Create Task load thread
*/
var taskLoadTask = Task.create('&taskLoad');
/* ================ Logger configuration ================ */
/*
* The target Log records are moved to System Analyzer via the UIA ServiceMgr
* framework. The physical transport (e.g. TransportType_ETHERNET,
* TransportType_FILE, etc.) can be select by the application.
* Note: The Ethernet transport uses the NDK.
*
* Configuration done by the application is still honored (e.g. setting
* up the common$.diags mask).
*
* Please refer to the ti.uia.sysbios.LoggingSetup module for more
* details and configuration options.
*/
var LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup');
LoggingSetup.eventUploadMode = LoggingSetup.UploadMode_NONJTAGTRANSPORT
var ServiceMgr = xdc.useModule('ti.uia.runtime.ServiceMgr');
ServiceMgr.transportType = ServiceMgr.TransportType_ETHERNET;
LoggingSetup.loadLoggerSize = 1024;
LoggingSetup.mainLoggerSize = 32768;
LoggingSetup.sysbiosLoggerSize = 32768;
/* ================ NDK configuration ================ */
var NdkConfig = xdc.loadPackage('ti.ndk.config');
var Global = xdc.useModule('ti.ndk.config.Global');
var Ip = xdc.useModule('ti.ndk.config.Ip');
var Udp = xdc.useModule('ti.ndk.config.Udp');
Ip.dhcpClientMode = Ip.CIS_FLG_IFIDXVALID;
/* ================ EVM6472 Specific configuration ================ */
/*
* If you are using a different board, you need to change the following
* lines. You'll need to add the Ethernet driver's libraries into the
* project as specified by the NSP. For example, instead of using
* the loadPackage() call below, you could have add the following libraries
* into the Project Build Settings instead
*
* <mcsdk>\packages\ti\platform\lib\platform_utils_evm6472.lib
* <mcsdk>\packages\ti\platform\nimu\lib\nimu_eth.lib
* <pdk_c64x>\packages\ti\csl\c6472\csl_c6472\lib\csl_c6472.lib
* <pdk_c64x>\packages\ti\drv\emac\lib\emac_drv_c6472.lib
*
* where <mcsdk> is the path of the installed MCSDK and
* <pdk_c64x> is the path of the installed PDK for C64X
*/
/* Use pre-built Ethernet driver supplied with UIA. */
var ndkdrivers = xdc.loadPackage('ti.uia.examples.evm6472.ndkdrivers');
/* Needed with for the EVM6472 Ethernet driver */
Program.sectMap["emacComm"] = "SL2RAM";
/* Needed since there is not enough LL2 on EVM6472 */
Program.sectMap[".text"] = "SL2RAM";
/*
* @(#) ti.uia.examples.single; 2, 0, 0, 0,2; 9-15-2011 10:25:44; /db/vtree/library/trees/uia/uia.git/src/ null
*/
LoggingSetup.disableMulticoreEventCorrelation = true
BIOS.libType = BIOS.LibType_Custom;
Load.hwiEnabled = true;
Load.swiEnabled = true;
Load.taskEnabled = true;
LoggingSetup.sysbiosSwiLogging = true;
LoggingSetup.sysbiosTaskLogging = true;
LoggingSetup.loadLogging = true;
Load.windowInMs = 500;
Im using CCSV5.1.08020 and the both UIA uia_1_00_01_17 and uia_1_00_02_22.
Thanks,
Miguel



