Configure CMSIS-DAP/I-jet debug options
Create a session configuration file.
This is an xml file containing a projects list that should be launched in a multi-core debug session. The following shows an example for a triple-core device. For a dual-core device, remove the third partner node.
<?xml version="1.0" encoding="utf-8"?>
<sessionSetup>
<partner>
<name>cm0</name>
<workspace>C:\Users\mtw-multi-core\Multicore_App\multi-core_workspace.eww</workspace>
<project>cm0</project>
<config>Debug</config>
<numberOfCores>1</numberOfCores>
<attachToRunningTarget>false</attachToRunningTarget>
</partner>
<partner>
<name>cm7_0</name>
<workspace>C:\Users\mtw-multi-core\Multicore_App\multi-core_workspace.eww</workspace>
<project>cm7_0</project>
<config>Debug</config>
<numberOfCores>1</numberOfCores>
<attachToRunningTarget>true</attachToRunningTarget>
</partner>
<partner>
<name>cm7_1</name>
<workspace>C:\Users\mtw-multi-core\Multicore_App\multi-core_workspace.eww</workspace>
<project>cm7_1</project>
<config>Debug</config>
<numberOfCores>1</numberOfCores>
<attachToRunningTarget>true</attachToRunningTarget>
</partner>
</sessionSetup>Configure multi-core debugging for the CM0+ project.
Go to
Project > Options -> Debugger
.
Switch to the
Multicore
tab.
Select the
Advanced
radio button and specify a path to the session configuration file in the
Session configuration
field.
Click
OK
.

Save the workspace.