Hello TConl.1,
I do not own a STM8_Nucleo so no, I did not have that working. And also I mistook the CN2 connector for SWIM, it is SWD.
But you should be able to use the STLink for other STM8 controllers, after all you can snap it off from the Nucleo. That means that the SWIM and NRST signals are on the narrow connections between the STLink and the target-board.
I took another look at the schematic and saw that those signals are not easily available on a connector. You will have to do some soldering to remove R9 and R16, SWIM and NRST then are no longer connected to the STM8 on the target-board and you can use them for an external mcu. Not very nice from ST...
Then I read some confusing things about this STLink.
On page 13 of the manual they say:
"The embedded ST-LINK/V2-1 supports only SWIM for STM8L devices"
That seems to suggest that the STM8S and STM8A lines are not supported by it.
But a few lines further they say this:
"Features not supported on ST-LINK/V2-1: SWIM interface"
Do they mean that you cannot flash the STLink using SWIM? That is quite obvious as it is a STM32 mcu... Or what? You cannot use SWIM to program mcus?!!?
I have an original STLink V2 and some of those cheap Chinese clones, both types work for all STM8 and STM32 mcu's I have come across. Buy one of those and be done with it. Those Chinese things are just a few euros (dollars).
Wilko