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.
McsaTutorialHowToBuild
How to Build the System Analyzer Tutorial Projects[edit]
(for UIA_1_00_01_17 and earlier releases)
The following instructions assume you are using CCSv5.0.3. 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.
If you are using CCSv5.1, note that the project wizard has been reworked to require fewer steps, and the terms "MCSA" and "Multicore System Analyzer" have been replaced with "System Analyzer".
- In CCS, select File->New->CCS Project
- Enter in the project name. (We will use the name MCSA 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 Multicore System Analyzer (UIA) item and the Tutorials entry and click on MCSA and the UIA Tutorial you wish to build. (screenshot). Click Next
- For RTSC Configuration Settings, ensure that the Multicore 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 "MCSA 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: MCSA 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