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
Contents
Tutorial 5C: Streaming event data over UDP[edit]
Under construction!
Background info:
- SYS/BIOS and Linux Multicore Software Development Kits (MCSDK) for C66x, C647x, C645x Processors
- TMS320TCI6614 Literature
- Multicore Navigator (CPPI) for KeyStone Devices User's Guide (SPRUGR9E)
- Enabling small cells with KeyStone software
Prerequisites
- The latest SC-MCSDK target content package
- A board with a C66XX device (e.g. TMDXEVM6670L, TMDXEVM6678L or TMDXEVM6614LE)
- CCSv5.2 or later
- System Analyzer 1.1 or later
- Target content package uia_1_01_01_14 or later
[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.