User manual
UM0036 In-circuit debugging
Doc ID 7705 Rev 11 225/385
For more information about setting up this hardware connection for STice, refer to the STice
advanced emulation system for ST microcontrollers User Manual (UM0406).
7.1.2 Selecting your MCU
The ICD MCU configuration dialog box provides the interface for selecting your MCU and
for configuring your MCU’s option bytes.
If you have an open workspace, when you start a debugging session, this dialog box is
displayed only if STVD cannot connect to the microcontroller defined in your project settings.
If the connection is established, the dialog box is not displayed, but you can access it by
selecting Tools>MCU Configuration.
If you do not have an open workspace, when you start a debugging session by selecting
Debug>Start Debugging, this dialog box is automatically displayed.
The ICD MCU configuration window (shown in Figure 162), offers two tabs:
● MCU Selection tab
● Options tab
Figure 162. MCU configuration window
MCU selection tab
When you have a project loaded in your STVD workspace, the MCU selection is determined
by your projects settings (see Section 4.5: Configuring project settings on page 84 ). In this
case, when you open the ICD configuration window, the MCU for your project is displayed in
the MCU selection field as shown in Figure 162. The field is gray and you cannot access the
list of MCUs.
If you do not have a project loaded, you have access to the list of microcontrollers that
support in-circuit debugging. Select Debug>Start Debugging without creating or loading a
workspace or project. Once the session has started, select Debug Instrument>MCU
Configuration from the main menu bar.
In the ICD MCU configuration window, you must select a microcontroller that corresponds
to the one present on your application board. When you highlight a microcontroller in the list,