User manual

Basic debugging features UM0036
162/385 Doc ID 7705 Rev 11
3. If the selected debug instrument is SWIM RLink or SWIM STice, then you can
optionally enable the Hot Plug Start Debug checkbox to start a debug session in hot
plug mode.
Note that this option is disabled when you start a debug session from an open
workspace in STVD.
When you start a debug session in hot plug mode, a connection to the MCU is
established while it is running, allowing you to see the state of the memory. For more
information on debugging in hot plug mode, refer to Section 7.4: In-circuit debugging in
hot plug mode (SWIM only) on page 233.
4. In the Target Port Selection list box, select the communication port (parallel, USB or
Ethernet) that your debugging hardware is connected to.
The option usb://usb is the automatic USB search option, whereas usb://hti1, hti2,...,
hti128, are used to indicate a specific USB port. Ethernet connections are listed by the
IP address for the device. If the connection that you want to use is not in the list, you
can add it by clicking on the Add button. (see Section 5.1.2: Add communication ports).
Note: When Simulator (SIM) is selected as the target, Port Selection is not available because
Simulator is a software debugging tool.
5. Click on OK, to confirm your settings and close the Debug Instrument Settings
window.
5.1.2 Add communication ports
To access the window for adding hardware connections:
1. Select Debug Instrument>Target Settings, then click on the Add button in the Debug
Instrument Settings window.
This will open the Add Connection dialog box where you can specify USB or Ethernet
connections to add to the list of options in the Debug Instrument Settings window.
2. Select the type of connection (USB or Ethernet) that you would like to add from the
Connection Type list box.
3. Enter the necessary information in the appropriate fields.
For Ethernet connections:
Type the IP address (four sets of three numbers) that is assigned to your debug
instrument in the IP Address field (see Figure 104). Information about assigning an IP
address to your debug instrument is provided in the Connectivity section of your
hardware user manual for the debug instruments that support Ethernet connections.
Type a description (up to 40 characters) in the Comments field.
STice If you are using the STice as a plain emulator.
SWIM RLink
If you are using the Raisonance RLink for in-circuit debugging over
SWIM.
SWIM STice
If you are using the STice advanced emulation system in ICD
configuration.
Table 58. Debug instrument types (continued)
Selection in STVD Applicable development tools