ST Visual Programmer

Table of Contents

ST Visual Programmer STM32

ST Visual Programmer (STVP) is an early download and programming tool developed by STMicroelectronics, supporting ST7, STM8, and STM32 series microcontrollers.

While this tool may be considered older compared to ST-LINK utility and STM32CubeProg, it is still in an ACTIVE state. In this article, we will provide details on how to use STVP.

What is ST Visual Programmer?

STVP offers a comprehensive flash programming environment for ST microcontrollers, enabling easy reading, writing, and verification of internal memory and option bytes.

Supported Debuggers/Programmers:

  • ST-Link
  • R-Link
  • STice
  • STick
  • ST7DVP3
  • ST-TSLink

Programming Modes (Protocols):

The programming mode depends on the debugger/programmer in use. For example, ST-Link supports:

  • JTAG
  • SWD
  • SWIM

How to Use ST Visual Programmer?

As STVP supports various debuggers/programmers, we will focus on the most commonly used one, ST-Link, to explain its usage. In this example, we will use an STM32F411 microcontroller.

STVP Download

Official Website:
https://www.st.com/en/development-tools/stvp-stm32.html

STVP Installation

The downloaded sttoolset_pack42.exe includes both STVD (ST Visual Develop) and STVP (ST Visual Programmer) tools. You can choose one or both for installation.

ST Visual Programmer (STVP) Tool Installation
ST Visual Programmer (STVP) Tool Installation

STVP Configuration

After opening the STVP software, go to the configuration window to select the debugger type, programming mode, and the target microcontroller.

ST Visual Programmer (STVP) Configuration
ST Visual Programmer (STVP) Configuration

STVP Uploading Files

Before programming the MCU, we need to upload the file to the ST  Visual Programmer.

Upload the Files to ST Visual Programmer
Upload the Files to ST Visual Programmer

STVP Programming

Prior to programming, ensure that your STM32 is connected to the ST-Link:

Start Programming the STM Chips
Start Programming the STM Chips
Programming Completed
Programming Completed

STVP Erasing

During the programming process, you may encounter issues like write protection or lack of erasure. If programming or verification fails, check if the device needs erasing.

Fail to Programming (Verify failed)
Fail to Programming (Verify failed)

Select the sector to erase:

Erase the MCU Sectors
Erase the MCU Sectors

STVP Reading Flash

Sometimes, you may need to read the internal Flash memory of the microcontroller. You can use this tool to read and save it as a bin or hex file (provided that there is no read protection).

Read the MCU Flash
Read the MCU Flash

STVP Modifying Option Bytes

Some option bytes can be modified using programming tools, such as read/write protection settings:

Change the Option Byte of STVP
Change the Option Byte of STVP

Engineering checks for ST Visual Programmer for STM8 and ST7 devices

Before using ST Visual Programmer for STM8 and ST7 devices in a PCB, firmware, repair, or validation workflow, confirm the details that usually decide whether the design works reliably instead of only reading the headline specification.

Design and troubleshooting checklist

AreaWhat to checkWhy it matters
Device supportConfirm the exact STM8 or ST7 part number, memory size, option bytes, and supported programmer before using STVPSTVP workflows fail quickly when the selected device does not match the MCU on the PCB
Programming interfaceCheck SWIM or ICC wiring, NRST access, VDD level, cable length, and target-board power sequencingMost ST Visual Programmer connection errors are caused by reset, supply, or debug-line loading
Production useSave project settings, option-byte values, verify-after-program behavior, and checksum recordsRepeatable programming records help firmware release control and board-level troubleshooting

These checks help connect the search intent around ST Visual Programmer download and STM8 programming with practical board-level decisions, component selection, and failure analysis.

About Author

Picture of Aidan Taylor
Aidan Taylor

I am Aidan Taylor and I have over 10 years of experience in the field of PCB Reverse Engineering, PCB design and IC Unlock.

Share

Recommended Post

Need Help?

Scroll to Top

Instant Quote