你好七曾,
嵌入在Nucleo套件中的ST-Link仅提供与STM32 MCU兼容的SWD接口,但它与STM8 MCU不兼容。 Nucleo套件中的ST-Link不支持与STM8 MCU兼容的SWIM接口。很遗憾,您无法将其与STM8S003F3一起使用。
只有带有STM8设备的Discovery套件和评估板嵌入了ST-Link,它支持STM8 MCU的SWIM接口。
独立的ST-Link支持所有调试接口:SWD,SWIM和JTAG。
问候
Szymon
以上来自于谷歌翻译
以下为原文
Hello Seven Zeng,
ST-Link embedded in Nucleo kits provide only SWD interface, which is compatible with STM32 MCUs, but it is not compatible with STM8 MCUs. SWIM interface, which is compatible with STM8 MCUs is not supported by ST-Link in Nucleo kits. So unfortunately you will be not able to use it with STM8S003F3.
Only Discovery kits and eval board with STM8 devices embed ST-Link, which supports SWIM interface for STM8 MCUs.
Standalone ST-Link supports all debug interfaces: SWD, SWIM and JTAG.
Regards
Szymon