2012-08-08 04:13 PM
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 errorPlease help. Do I connect the Hardware as given in the schematic ?? #stm8s #discovery-board2012-08-09 07:32 AM
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