User manual
Program UM0036
326/385 Doc ID 7705 Rev 11
Depending on your target microcontroller you will be able to configure the following:
● The programming hardware and connection port
● The programming mode
● Protections
● Erase before programming option
● Unlock device
In addition to these settings, the Run STVP button allows you to launch STVP, instead of
using STVD’s Programmer. To exit the Programmer, click on Run STVP. STVD prompts you
to confirm that you want to close the Programmer window and start an STVP session. Click
on OK to confirm.
The programming hardware and connection port
The fields in the hardware section of the Settings tab allow you to specify the programming
hardware and the connection port to use. To configure these settings:
1. Identify your programming hardware from the Board list box.
Only the programming hardware that supports your target MCU is listed.
2. Identify the port that you will use to connect to your programming hardware in the Ports
list box.
Only the ports for the connection types supported by your programming hardware are
listed.
Note: While some emulators may support Parallel, USB and Ethernet connections for emulation,
not all connection types are supported for programming. When programming, you will have
to use a supported port listed in the Ports list box.
The programming mode
The Programmer supports multiple programming modes depending on your target MCU and
your programming hardware. Select the programming mode from the list of options in the
Programming Mode list box. Only the modes supported by your MCU and programming
hardware are listed. The available modes can include:
● Socket mode: This programming mode is used when you are programming a device in
an EPB or DVP socket. If there are several sockets, take care to insert only one device
at a time.
● ISP mode: In-situ programming mode can be used when your device is soldered on
your application board. The application board must be designed with the necessary
connection hardware.
For more information about connection requirements, refer to the user manual for your
programming hardware.
● ICP modes: In-circuit programming modes are used to program XFlash and HDFlash
devices. For ICP modes, you have the choice of starting with option bytes disabled (ICP
OPT disable) or enabled (ICP OPT enable).
Caution: Before selecting one of the in-circuit programming modes, you should determine whether or
not the device has come directly from the factory. Devices delivered directly from the factory
are programmed with factory default options. If you are not certain of the option byte
settings, or you know the settings are not consistent with your application board
configuration, choose ICP OPT Disable to avoid MCU start-up failures. For option byte
descriptions and default settings, refer to your microcontroller’s datasheet.