Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not upload firmware using Stlink protocol #16

Open
Qspace opened this issue Apr 25, 2020 · 4 comments
Open

Could not upload firmware using Stlink protocol #16

Qspace opened this issue Apr 25, 2020 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@Qspace
Copy link

Qspace commented Apr 25, 2020

  • Vscode version: 1.44.2
  • Platform IO core: 4.3.1
  • platformio.ini file:
    [env:stm8sdisco]
    platform = ststm8
    framework = spl
    board = stm8sdisco
    upload_protocol = stlink

image

@Qspace
Copy link
Author

Qspace commented Apr 25, 2020

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

@Qspace
Copy link
Author

Qspace commented Apr 28, 2020

Can anyone help me solve this issue?

@jxltom
Copy link

jxltom commented Sep 30, 2020

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

@nerocide
Copy link
Contributor

nerocide commented Feb 9, 2021

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

@valeros valeros added the help wanted Extra attention is needed label Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants