tenbaht / sduino

An Arduino-like programming API for the STM8
http://tenbaht.github.io/sduino/
GNU Lesser General Public License v2.1
347 stars 213 forks source link

Cannot upload STM8S-discovery board using its ST-link #131

Open amordicus opened 3 years ago

amordicus commented 3 years ago

This may be an stm8flash problem.

Q1: can the STM8S-discovery board be uploaded using the on board st-link? Q2: If Q1 is no, can I use an ST-link V1 or V2? How to I connect it, i.e do I have to break the board in half? Or if powered from the st-link (no usb connected ) it will work?

This repository sduino in " sduino/docs/hardware/flashtool.md" mentions that "The STM8-Discovery-Boards come with an integrated ST-Link-Interface, but for any other board you need a special flash tools in order to program the CPU." Thus I assumed it should work without additional hardware?

p.s. I'm able to upload the build .ino.hex file using the STVD application!

I'm running the arduino ide with sduino on windows 10.