Skip to main content
Visitor II
August 8, 2012
Question

Problems using STM8S Discovery Board

  • August 8, 2012
  • 1 reply
  • 662 views
Posted on August 09, 2012 at 01:13

Hi all,

I am a total Newbie in STM8s. I recently purchased a STM8SVL Discovery Board and it worked fine. 

After that I had to develop an Application for my project so I broke the Controller Board, prepare a Hardware according to the schematic given and tried programming using SWIM and gave an External Supply. I double checked all the connections. However, I have not used Vcap with a Capacitor and directly Grounded it. Also I have connected GND to all the GND Supplies ( Analog / Digital / IO VSS) and Vcc (= 5 V) to all the VDD in the circuit.

The error I get is : Connection error (usb://usb): swim error [30200]: st-link connection error

Please help. Do I connect the Hardware as given in the schematic ??

#stm8s #discovery-board
    This topic has been closed for replies.

    1 reply

    Visitor II
    August 9, 2012
    Posted on August 09, 2012 at 16:32

    Of course you're getting a SWIM error.  You have shorted out the power to the CPU core by grounding the Vcap pin.  Check the ''STM8S Reference Manual'' Section 7 for a description of how the chip is powered.

    jdf