cancel
Showing results for 
Search instead for 
Did you mean: 

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

VScar.1
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
LaurentL
ST Employee

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

View solution in original post

1 REPLY 1
LaurentL
ST Employee

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