Skip to main content
gfmoore
Associate II
August 1, 2021
Question

Windows openocd stm8s debugging?

  • August 1, 2021
  • 3 replies
  • 2726 views

..

    This topic has been closed for replies.

    3 replies

    gfmoore
    gfmooreAuthor
    Associate II
    August 1, 2021

    So I have a VS Code on win 10 toolchain. I can compile STM8S-discovery with sdcc and flash with stvp_commandline.

    There is an extension called STM8 Debugger that I can't get to work (nor with help from the github repository).

    It uses openocd.

    Has anyone managed to get openocd to debug an STM8S-Discovery board?

    I'm trying to figure out openocd, but the documentation is so dense and it would seem so am I! ;)

    Apart from openocd is there any other kind of open debugger I could try. I don't really want to go STVP and Cosmic etc.

    Gordon

    Philipp Krause
    Senior II
    September 23, 2021

    Unfortunately, I am not familiar with Windows. I've used it a bit a long time ago, but on GNU/Linux and with an STM8A-Discovery board.

    There is a website on using OpenOCD for on-target debugging by the author of the STM8 support in OpenOCD: https://stm8-binutils-gdb.sourceforge.io/

    If you don't get further replies here, maybe try the sdcc-user mailing list?

    gfmoore
    gfmooreAuthor
    Associate II
    September 23, 2021

    Thanks for responding, it's appreciated :)