2021-08-01 12:14 PM
2021-08-01 12:19 PM
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
2021-09-23 03:29 AM
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?
2021-09-23 10:54 AM
Thanks for responding, it's appreciated :)