2019-12-27 01:51 AM
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.
Solved! Go to Solution.
2019-12-27 11:31 PM
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).
2019-12-27 11:31 PM
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).