platformio / platform-ststm8

ST STM8: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/ststm8
Apache License 2.0
40 stars 26 forks source link

Could not upload firmware using Stlink protocol #16

Open Qspace opened 4 years ago

Qspace commented 4 years ago

image

Qspace commented 4 years ago

When plugging USB cable to PC, board recognize as STM32 image

Qspace commented 4 years ago

Can anyone help me solve this issue?

jxltom commented 3 years ago

stlink is for stlinkv1, if you are using stlinkv2.1, please define upload_protocol = stlinkv2

nerocide commented 3 years ago

There is a lot of fixes to be done on stm8 sdcc etc.

I've found help here stm8s-compiling-or-even-just-setting-up-to-work-vscode-help