NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
McsaTutorial2
System Analyzer Tutorial 2: Graphing Events[edit]
(for UIA_1_00_01_17 and earlier releases)
Under construction...
This tutorial demonstrates the steps needed to capture and graph data from a running application. It also demonstrates how to stream events from a running target to System Analyzer using the CCS Debug Server's JTAG Run-mode datastreams.
NOTE: To run the tutorial project, you will need a C6000 target device and a JTAG emulator. If you're not able to run the tutorial project, you can unzip and load the attached .csv event file into System Analyzer to view 'pre-recorded' events.
The code for this tutorial ships with the UIA target content package. Code Composer Studio's New Project Wizard can be used to automatically create a project that includes the tutorial code.
The mcsaTutorial2.gel GEL file that is installed with the Tutorial2 project code provides access to two "GEL sliders" - graphical controls that control the value of two target-side data values named "slider1Value" and "slider2Value". When you change a slider position (by left-clicking on the slider bar, dragging it upward or downward and releasing it), the value of the slider at the time it is released is written into the associated target-side data location.
Using the UIAEvt_intWithKey event to log values over time[edit]
The target program is a simple loop that tests whether either slider1Value or slider2Value has changed and logs a UIAEvt_intWithKey event to record the time and new value of the variable.
Links: