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.

How to build Tutorial3

From Texas Instruments Wiki
Jump to: navigation, search

How to build the Stairstep Example project for Tutorial 3A, 3B and 4B[edit]

Use the CCS New Project Wizard to create the tutorial project:

  • File -> New -> Project... ->Code Composer Studio / CCS Project

This will open the New CCS Project dialog:

  • Give the project a name (e.g. Tutorial3A)
  • In the Project templates and examples list view, expand "System Analyzer (UIA)" and then expand "Single-core Examples"
  • If you will be running the project on a simulator, as in Tutorial 3A, select "Stairstep Simulator"
  • If you wish to upload events over Ethernet, as in Tutorial 3B, select "Stairstep Ethernet"
  • If you will be running on an EVM and wish to upload events over JTAG as the program is running, as in Tutorial 4B, select "Stairstep JTAG RunMode"


Tutorial3 NewCCSProject.gif

  • Click Next to open the RTSC Configuration Settings
  • Select the platform you wish to build against using the Platform drop down list.
  • if your project will be running on a simulator, select an appropriate evm platform for your device (e.g. ti.platforms.evm6472 for the C6472 device)
  • e.g. If your project will be running on the C66X simulator, configure it as shown below:

Tutorial3 RTSCRepo.gif

  • if your project will be running on an EVM, select the platform file for your device from the ti.sdo.ipc.examples.platforms package
  • e.g. for the 6678 EVM, select ti.sdo.ipc.examples.platforms.evm6678:core0

To build the tutorials, the XDC version must be 3.22 (or later) and the RTSC Build-Profile must be "release" or "debug" (not "whole_program").

  • Click Finish

This will create a project that includes a stairstep.c file and a .cfg configuration file (e.g. stairstep_Simulator.cfg)

  • Right-click on the project in the CCS Project Explorer and select Build Project from the context menu. The project should build cleanly.

Errata[edit]

If you are using a version of UIA that is earlier than uia_1_01_01_14, you may get the following error being output to the console window when you build the project:
error: ti.sysbios.BIOS: "<...>/bios_6_.../packages/ti/sysbios/BIOS.xs", line 597: ti.sysbios.utils.Load hwiEnabled: Load.hwiEnabled must be set to 'false' when BIOS.libType == BIOS.LibType_Instrumented. Set 'BIOS.libType = BIOS.LibType_Custom' to build a custom library or update your configuration.

If you encounter this error, please edit the .cfg file for your project and add the following line:
BIOS.libType = BIOS.LibType_Custom

Please see http://processors.wiki.ti.com/index.php/SYS/BIOS_FAQs for more info on the various BIOS.libType configuration options.

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 How to build Tutorial3 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 How to build Tutorial3 here.

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