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.
System Analyzer Tutorial7 CCSv53 Launch Configuration
System Analyzer Tutorial 7 - CCSv5.3 Launch Configuration[edit]
Here's how to configure a launch in CCSv5.3 that will automatically load the OpenMP project into CPU 0, symbols into all other cores and start System Analyzer:
Configuring the Launch[edit]
- Launch the .ccxml file for your target
- From the CCS menu select Views / Target Configurations, then right click on your target's .ccxml file entry and select Launch Selected Configuration
- In the debug view, right click on a core and select "Edit <name of your .ccxml file>"
For the master CPU (CPU 0):
- click on the Program tab
- Ensure that the Device drop-down list is set to C66xx_0
- Click on the Workspace button to the right of the Program text box and browse to the .out file you wish to load
- ensure that the Loading options for CPU 0 is set to Load program
For each of the slave CPUs (CPU 1-7):
- click on the Program tab
- Ensure that the Device drop-down list is set to the next CPU to configure (e.g. C66xx_1)
- Click on the Workspace button to the right of the Program text box and browse to the .out file you wish to load
- ensure that the Loading options for CPU 0 is set to Load symbols only
For all CPUs
- Click on the Target tab
- Select the CPU to configure from the Device drop-down list (e.g. C66xx_1)
- In the left-hand pane, select Program / Memory Load Options
- In the left-hand pane, select Misc/Other Options, accept defaults except:
For the master CPU (CPU 0):
- Click on the Target tab
- Ensure that the Device drop-down list is set to C66xx_0
- In the left-hand pane, select Auto Run and Launch Options, accept defaults except:
For each of the slave CPUs (CPU 1-7):
- Click on the Target tab
- In the left-hand pane, select Auto Run and Launch Options, accept defaults except:
- Click the Apply button
Click the Continue button and the launch configuration dialog will close.
In the Debug view, select all of the slave cores (CPU 1-7), right click and select "Group core(s)" from the context menu.
Then terminate the existing Debug session by clicking on the red square in the Debug View toolbar .
After following the above instructions, when you launch, CPU 0 will be loaded with the program and symbols will be loaded into the slave cores.
- If you find CPU 0 is already at main upon launch, click the restart button in the Debug View toolbar
. It should start running, and wait for the slave cores to start.
- Click on the group node that the slave cores are in and click the run button.
- if any of the slave cores halt at c_int00 before CPU 0 halts at main, click the run button again. What is happening behind the scenes is that the master CPU is restarting the slave CPUs and sometimes this causes the IDE to display the core's state as having been halted.
- Once all of the slave cores are up and running, CPU 0 should halt at main, indicating that it has established IPC communication with the slave cores.
- With the group node selected, click the Halt button in the debug view to halt all of the slave cores
- Start System Analyzer (Tools / System Analyzer / Live) and click the Start button in the System Analyzer dialog.
- In the Debug View, select CPU 0 and click the run button, then select the slave group and click the run button.
Back to System Analyzer Tutorial 7