cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect STM8L050j3M3 and ST-LINK/V2

KTAEW.1
Associate

hello,

i'm studying the STM8L050j3M3.

but i don't understand how to connect STM8L050j3M3 and ST link.​

it don't have Reset pin.

and i don't be going to buy discovery board because i use 1 LED and Timer.

i'd like to make connection mentioned above.

could you help this ​situation?

STM8L050J3M3 -

pin1 : SWIM

pin3 : VSS

pin4 : VDD

Thank you.

Best regards.

1 ACCEPTED SOLUTION

Accepted Solutions
Philipp Krause
Senior II

SWIM will work without reset, as long as you don't use the SWIM pin for anything else.

If you need pin 1 for something other than SWIM, put a time delay into your software before using pin 1; that way, for a few second after boot, you can still connect to the device using SWIM. If you switch pin 1 into output mode immediately at boot, you've effectively disabled SWIM permanently (I lost a STM8S001 or two that way when I first got my hands on them).

View solution in original post

1 REPLY 1
Philipp Krause
Senior II

SWIM will work without reset, as long as you don't use the SWIM pin for anything else.

If you need pin 1 for something other than SWIM, put a time delay into your software before using pin 1; that way, for a few second after boot, you can still connect to the device using SWIM. If you switch pin 1 into output mode immediately at boot, you've effectively disabled SWIM permanently (I lost a STM8S001 or two that way when I first got my hands on them).