Skip to main content
Visitor II
February 5, 2021
Solved

ST-Link / V2 to program STM8S001J3 with STVP but not connect with the device

  • February 5, 2021
  • 1 reply
  • 1364 views

Hello, I'm using ST-Link / V2 to program STM8S001J3 with STVP (Swim connection). When I try to program MCU, the error appears that it was not possible to connect with the device. The pins are correct and I'm using 3.3V (Pin 19 to CN3 of ST-Link).

Even if there is an error, the led turns green after programming.

What is strange, I also use an STBM1008A for the same purpose and it works without problems.

    This topic has been closed for replies.
    Best answer by LaurentL

    Hi, the STLink should not be used to power your device.

    You should have a VDD and connect it to STLink VDD input for the STLink to know which voltage you are working on.

    Rgds,

    Laurent

    1 reply

    LaurentLAnswer
    ST Employee
    February 15, 2021

    Hi, the STLink should not be used to power your device.

    You should have a VDD and connect it to STLink VDD input for the STLink to know which voltage you are working on.

    Rgds,

    Laurent