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.
McsaTutorial1HowToRun
How to Run a System Analyzer Tutorial Project[edit]
(for UIA_1_00_01_17 and earlier releases)
- Launch a target (e.g. the C6678 Device Functional Simulator, Little endian)
- Load the .out file. It should run to main and halt
- Load the .gel file that is installed along with the source code for the tutorial
- Open the Control Panel
- Right-click on the debug view->Open GEL Files View
- right-click on the right pane of the Control Panel and select "Load GEL...", and select the .gel file
- for Tutorial1, load the mcsaTutorial1.gel file
- for Tutorial2, load the mcsaTutorial2.gel file
- to find the location of the .gel file, right click on it in the C/C++ Projects view and select 'Properties'. The file path is displayed at the top of the properties view.
- Start System Analyzer / (called Multicore System Analyzer (MCSA) in earlier CCS releases)
- Tools->System Analyzer->Live (or Tools->Multicore System Analyzer->Live)
- The Live Parameters configuration dialog should default to "Auto-detect Configuration from Debug Session", and should show that the Core that you loaded the program on is instrumented.
- If it doesn't, and you are running CCSv5.1.060XX or CCSv5.1.070XX, please see http://processors.wiki.ti.com/index.php/Multicore_System_Analyzer#Known_Issues.2FErrata )
- If you still can't get System Analyzer to auto-detect that an instrumented program has been loaded, please manually create a System Analyzer config file
- in the Live Parameters: dialog, select "Until data transfer is manually paused" and click Run
For Tutorial 1: Run the tutorial phase you are interested
- e.g. Scripts->MCSA Tutorial1->Tutorial1A_LoggingEvents
- For hardware targets, click the Run button in the Debug view to run the selected tutorial
- To run a different phase of the tutorial:
- select the tutorial phase from the Scripts menu and click the Run button.
- NOTE: you do not need to re-load the program
For Tutorial 2: display the two GEL sliders by selecting Scripts->MCSA Tutorial 2->Slider_1 and Scripts->MCSA Tutorial 2->Slider_2
If you reload the program, you will need to restart System Analyzer in order to discard the old event data and collect data from the new debug session:
- To restart System Analyzer , select Tools->System Analyzer->Live again.
- (in earlier releases, select Tools ->Multicore System Analyzer (MCSA)->Live)