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

From Texas Instruments Wiki
Jump to: navigation, search

System Analyzer Tutorial 2: Graphing Events[edit]

(for UIA_1_00_01_17 and earlier releases)

Under construction...

Tutorial2.gif

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.

Tutorial2 c code.gif


Links:

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article McsaTutorial2 here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article McsaTutorial2 here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article McsaTutorial2 here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article McsaTutorial2 here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article McsaTutorial2 here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article McsaTutorial2 here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article McsaTutorial2 here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article McsaTutorial2 here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article McsaTutorial2 here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity