cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to Debug STM8s001J3 with STVD and STVP using STLinkv2 Debugger.

SChow
Associate II

As the STM8S001J3 MCU has no Reset pin, How do I connect the MCU with ST Link v2 using SWIM pin for debugging?

STLink V2   :  STM8s001j3

VDD        :     VDD

GND        :     GND

SWIM       :    SWIM

RESET       :      ?

I have left the STLink V2's reset pin free, but Not able to flash the code to MCU and Also not able to enter debug mode in STVD and STVP.

I am getting below Error:

---------------------------

STVP

---------------------------

Cannot communicate with the device !

Check the SWIM cable connection and check all the needed pin connections on the SWIM connector.

If the application code uses Swim Disable and Reset pin as Output or has disabled SWIM Clock Divider:

Try Now to SWITCH OFF and ON the application Power Supply while NRST Reset pin is forced low.

---------------------------

OK  

---------------------------

Kindly Help.

0 REPLIES 0