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.

System Analyzer Tutorial 5C

From Texas Instruments Wiki
Jump to: navigation, search

Tutorial 5C: Streaming event data over UDP[edit]

Under construction!

Background info:

Prerequisites

Sending UIA Packets via UDP over bare metal Ethernet using Navigator and the PDK Trace Framework[edit]

Creating the Trace Framework Example Project[edit]

  • In CCS: File / Import / General / Existing Projects into Workspace
  • Next
  • Browse to the pdk for your evm: e.g. pdk_tci6614_1_00_00_08 and then browse to packages\ti\instrumentation\trace_frmwrk\examples\uia_netcpconsumer
  • import the uiaprod_netcpconsumer_example (do NOT check "Copy projects into workspace as there are some links to the content within the pdk package that must be maintained).
  • see the .pdf file in the pdk's packages\ti\instrumentation\trace_frmwrk\docs folder for more directions.

You will need to change the MAC address and IP address settings in the logger_app.c file to match your host PC's settings. See the comments in the logger_app.c file for directions on how to do this.

Building the Tutorial 5C Project[edit]

  • In CCS, select File / Import... / Code Composer Studio - Existing CCS Eclipse Projects
  • set the "Select search-directory" field to the temporary folder that you unzipped the project into
  • make sure that the "Copy projects into workspace" checkbox is checked.
  • In the C/C++ Projects view, right-click on the project and select Show Build Settings...
  • In the left pane, select General, and in the right pane, click on the RTSC tab.
  • Verify that you have the correct package versions installed. The project was built and tested with the following:
  • XDCtools version: 3.23.3.53
  • TCI6614 PDK 1.0.1.14
  • UIA 1.1.1.14
  • SYS/BIOS 6.33.5.46
  • Target: ti.targets.elf.C66
  • Platform: ti.platforms.evm6614
  • If you are using an evm6670 or evm6678, change the Platform field to match your EVM.
  • The build Configuration for Tutorial 5B is set to "Release" (for best performance).
  • To change this to Debug mode, right click on the project, select Build Configurations -> Set Active -> Debug.
  • To build the project, right click on the project and select Build Project.


Running the Tutorial Project[edit]

  • Launch a debug session for your target device:
  • group the first 4 C66XX CPUs on the device by multi-selecting them in the Debug View, right clicking and selecting Group Cores from the context menu
  • select the group node that the cores are grouped under, and connect to the group
  • select the first core in the group and
  • do a system reset (Run / Reset / System Reset)
  • run the Global Default Initialization GEL script for the EVM
  • For the C6614: Scripts / EVMTCI6614LXE MENU / Global_Default_Setup
  • For the C6670: Scripts / LC_EVM_C6670_Functions / Global_Default_Setup
  • select the group node and load the project .out file. The cores should all run and halt at main.
  • run all the cores


Next:Tutorial 5D: Optimizing Throughput.

Links[edit]

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 System Analyzer Tutorial 5C 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 System Analyzer Tutorial 5C here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article System Analyzer Tutorial 5C here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article System Analyzer Tutorial 5C here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article System Analyzer Tutorial 5C here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article System Analyzer Tutorial 5C here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article System Analyzer Tutorial 5C here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article System Analyzer Tutorial 5C here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article System Analyzer Tutorial 5C 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