This section describes how to select the target core (PE: Processer Element) to be debugged when the selected microcontroller supports multi-core.
CS+ displays information regarding a core (PE) by switching selection between the target cores to be debugged (see "2.9.1 Switching between cores (PEs)"). Multiple panels are not provided to display each PE in a single dedicated panel.
The following shows the behavior of each CS+ function for a microcontroller that supports multi-core.
Selecting an item other than a core (PE) as the target for debugging may cause some facilities to operate in a different way. |
The control method differs depending on the mode selected by the [Debug mode] property in the [Multi-core] category on the [Debug Tool Settings] tab of the Property panel.
Synchronous execution and synchronous break are available in all PEs in principle.
In step execution, one instruction each is executed in units of instructions.
Only the PE selected to be debugged is executed and a break is generated.
Step execution is available only in the currently selected PE. |
Synchronous execution and synchronous break are available in all PEs in principle.
Step execution is performed in synchronization with the operating frequency.
All events excluding software break events are set in only the PE selected to be debugged.
However, when setting a software break event in an internal RAM area for which "(Self)" is added to the memory type, it can be set in only an area of the PE that was selected to be debugged.
The Events panel displays a list of events set in all PEs.
Other panels display only events set in the PE selected to be debugged.
Memory mappings may differ depending on the currently selected PE.
In this case, switching to another PE displays the corresponding memory mappings in the [Memory] category on the [Debug Tool Settings] tab of the Property panel or the Memory Mapping dialog box.
The same value is displayed or set regardless of which PE is currently selected.
In the Local RAM self area, note that the value in the currently selected PE is acquired and displayed or set.
The value in the currently selected PE is acquired and displayed or set.
The address and value are determined based on the PC value in the currently selected PE (for example, even when a symbol is valid only in a certain PE, its address and value are determined based on the PC value in the currently selected PE).
The value in the currently selected PE is acquired and displayed or set.
[Full-spec emulator][E1][E20] |
When [Debug core only] is selected: |
When [All core] is selected: |
[Simulator] |
The execution time is measured in all PEs.
After measurement, switching to another PE displays the corresponding measurement time.
The coverage is measured for access in all PEs.
In the Local RAM self area, note that the measurement results will be displayed only for the access in the currently selected PE.
The performance is measured in all PEs.
After measurement, switching to another PE displays the corresponding measurement result.