This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

System Analyzer shows no activity

Other Parts Discussed in Thread: SYSBIOS

Okay, after a bit of searching and a lot of experimenting, I cannot figure out how to solve my problem.

I'm on Win7, with the newest complete install of CCS as of 7/13 - (CCS 5.4, UIA 1.3, SYS/BIOS 6.35)

I followed the instructions, (mostly) for the tutorial located at http://processors.wiki.ti.com/index.php/SystemAnalyzerTutorial1  . except made it work for a Delphino 28335.

The application builds correctly, System Analyzer loads the correct configuration (instrumented core, 50 MHz timestamp freq.) and starts.   After I load the GEL file and select the first macro, it halts like it’s supposed to, but System Analyzer remains empty, as if nothing happened.

Looking at the ROV, the ‘serial’ field in the Logger module is increasing.   No change I have made to the transport mode helps, (stop-mode, simulator…) 

 

I’m at a loss…  Here is my .cfg file, which is just what came out of the example.

 

Am I forgetting something simple?

/*

 * Copyright (c) 2012, Texas Instruments Incorporated

 * All rights reserved.

 *

 * Redistribution and use in source and binary forms, with or without

 * modification, are permitted provided that the following conditions

 * are met:

 *

 * *  Redistributions of source code must retain the above copyright

 *    notice, this list of conditions and the following disclaimer.

 *

 * *  Redistributions in binary form must reproduce the above copyright

 *    notice, this list of conditions and the following disclaimer in the

 *    documentation and/or other materials provided with the distribution.

 *

 * *  Neither the name of Texas Instruments Incorporated nor the names of

 *    its contributors may be used to endorse or promote products derived

 *    from this software without specific prior written permission.

 *

 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"

 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,

 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR

 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR

 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,

 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,

 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;

 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,

 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR

 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,

 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

 * */

 

/*

 *  ======== systemAnalyzerTutorial1.cfg ========

 *  This file specifies how the XDC modules used by the

 *  System Analyzer Tutorial 1 project are to be configured.

 *

 * See http://processors.wiki.ti.com/index.php/McsaTutorial1 for more info.

 */

//var TimestampProvider = xdc.useModule('ti.sysbios.family.c28.TimestampProvider');

//var ServiceMgr = xdc.useModule('ti.uia.runtime.ServiceMgr');

/* ================ 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');

System.SupportProxy = SysStd;

 

/* The xdc.runtime.Log module provides APIs to log prioritized events (errors,

 * warnings, and info) as well as generic APIs to log events (Log_writeN,

 * Log_printN)

 */

var Log = xdc.useModule('xdc.runtime.Log');

 

/* The following modules from the ti.uia.events package contain predefined

 * events that can be logged using the Log_write APIs

 */

var UIAErr = xdc.useModule('ti.uia.events.UIAErr');

var UIAEvt = xdc.useModule('ti.uia.events.UIAEvt');

var UIABenchmark = xdc.useModule('ti.uia.events.UIABenchmark');

var UIAStatistic = xdc.useModule('ti.uia.events.UIAStatistic');

 

/* the following line is required in order to get Tutorial D to build */

var LogSnapshot = xdc.useModule('ti.uia.runtime.LogSnapshot');

 

/* ================ Logger configuration ================ */

/*

 *  1. Enables events in main and non-XDC modules

 *     and assigns them a logger (size 32768 bytes) that uploads

 *     events when the target halts (e.g. when it hits a breakpoint).

 *

 *  If you are using SYS/BIOS, please refer to the ti.uia.sysbios.LoggingSetup

 *  module for a simpler way to configure loggers and enable SYS/BIOS

 *  real-time software instrumentation features.  (This is covered in

 *  a separate System Analyzer Tutorial).

 *

 */

var Logger = xdc.useModule('ti.uia.runtime.LoggerStopMode');

var loggerParams = new Logger.Params();

loggerParams.transferBufSize = 1024;

logger = Logger.create(loggerParams);

logger.instance.name = "Main logger";

 

/* The Diags module provides flags that can be used to control which

 * categories of events are uploaded.  Setting a category to Diags.ALWAYS_OFF

 * will remove any overhead associated with the event logging from the

 * compiled code if the whole_program compile option (-pm) is used.

 */

var Diags = xdc.useModule('xdc.runtime.Diags');

 

/* The Main module is used to configure how events logged from non-XDC

 * C and C++ code are handled.  Configure it to use the logger instance

 * created above to log events, and enable all categories of events,

 * configuring them so that they can be dynamically enabled or disabled

 * using the Diags_setMask API. (see the xdc.runtime.Diags module for more

 * information).

 */

var Main = xdc.useModule('xdc.runtime.Main');

Main.common$.logger = logger;

Main.common$.diags_STATUS = Diags.ALWAYS_ON;

Main.common$.diags_ANALYSIS = Diags.RUNTIME_ON;

Main.common$.diags_INFO = Diags.RUNTIME_ON;

 

/* The USER1 and USER2 categories are turned off

 * here for demonstration purposes.  Please see

 * System Analyzer Tutorial 1C for more details.

 */

Main.common$.diags_USER1 = Diags.ALWAYS_OFF;

Main.common$.diags_USER2 = Diags.RUNTIME_OFF;

Main.common$.diags_USER3 = Diags.RUNTIME_ON;

Main.common$.diags_USER4 = Diags.RUNTIME_ON;

Main.common$.diags_USER5 = Diags.RUNTIME_ON;

Main.common$.diags_USER6 = Diags.RUNTIME_ON;