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.
SystemAnalyzerTutorialHowToBuild
How to Build the System Analyzer Tutorial Projects[edit]
The following instructions assume you are using CCSv5.1. The steps below configure the project to run on the 6678 EVM or 6678 Cycle Accurate Simulator, but the tutorial source code can run on any C64X+ or C66X simulator or emulation target.
Note: if you are using uia_1_00_04_35, please see http://processors.wiki.ti.com/index.php/Multicore_System_Analyzer#Known_Issues.2FErrata for a workaround that is needed in order to get the tutorial projects to build properly.
Note: uia_1_01_00_04 has a bug in it that causes Tutorial2 to work in stop-mode only. This bug is fixed in uia_1_01_00_09_eng and later releases.
- In CCS, select File->New->CCS Project
- Enter in the project name. (We will use the name Tutorial 1 in this walk through)
- Ensure that the checkbox 'Use the default location' is checked. Click Next
- For Project Type, select C6000 and Select All configurations. Click Next
- For Additional Project Settings, do not reference any other C/C++ Projects. Click Next (not relevant to CCS5.1)
- For Project Settings, select the Device Variant as "Generic C66xx Device", little endian, output format eabi(ELF) and Runtime Support Library as <automatic> (screenshot). Click Next
- For Project Templates, expand the System Analyzer (UIA) item and the Tutorials entry and click on System Analyzer and the UIA Tutorial you wish to build. (screenshot). Click Next
- For RTSC Configuration Settings, ensure that the System Analyzer (UIA Target) entry is checked and that the correct UIA release is checked for this item.
- Ensure the RTSC Target is set to the appropriate target (e.g. for the 6678 EVM, set it to ti.targets.elf.C66 )
- Click on the RTSC Platform edit box and wait for the list of platforms available to be searched. Then click on the drop-down arrow to the right of the edit box and select the appropriate platform (e.g. for the 6678 EVM set it to ti.platforms.evm6678. This will allow the project to run on either the 6678 EVM or the 6678 simulator.) (screenshot)
- If you are using CCS5.1, click on the RTSC Build-profile and select 'Debug'
- Click Finish
This will create a project named "Tutorial 1" in your CCS Workspace.
- In CCS, ensure you are in the CCS Edit perspective (selected using the buttons in the upper right corner of the IDE)(screenshot)
- Expand the project in the C/C++ Project View (screenshot)
- Build the project (Right-click on the project, select Build Project from the context menu)
- The progress of the build can be monitored by looking at the text that is output to the Console window. It should say "Finished building target: Tutorial1.out" to indicate that the project was built successfully. (screenshot)
- Since the default configuration of the project is "Debug", the output of the project is stored in the project's Debug folder