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
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"
- (Note: for C66X devices, please see TMS320C6678L Build Configuration for instructions instead).
- 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"
- 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:
- e.g. If your project will be running on the C66X simulator, configure it as shown below:
- 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]