ST意法半导体
直播中

杨叶

7年用户 168经验值
私信 关注
[问答]

我可以使用ST-LINK/V2为STM8S系列编程闪存吗?

大家好,我可以使用''ST-LINK / V2''为STM8S系列编程闪存吗?


#ST-LINK / V2

以上来自于谷歌翻译


以下为原文




Hi to all,Can i use ''ST-LINK/V2'' to program flash for STM8S series?

  
#st-link/v2

回帖(5)

陈莉

2018-9-17 13:03:58
我一直使用ST-LINK / V2用于STM8S部件。

以上来自于谷歌翻译


以下为原文





I use ST-LINK/V2 all the time for STM8S parts.
举报

陈军

2018-9-17 13:18:13
大家好,我买了st-link  v2,但我无法连接到stm8,在jtag上连接stm32没有问题。
stm8上的相同设备通过stm8l152C6T6_discovery_board完美连接。
我做错了什么?

以上来自于谷歌翻译


以下为原文




Hi all, I bought st-linkv2, but I can't connect to stm8, to stm32 on jtag it connect without problem.
Same device on stm8 perfect connect by stm8l152C6T6_discovery_board.
What do I do wrong?
举报

李振云

2018-9-17 13:34:23
你好,
ST-LINK / V2是两个MCU系列的编程/调试工具:STM32和STM8。它们都使用不同的接口(STM32:JTAG或SWD; STM8:SWIM),因此ST-LINK / V2提供两个连接器,每个系列一个。
要将ST-LINK / V2与STM8一起使用,您需要使用名为STM8的4针连接器。这四个引脚分别为:VDD,GND,SWIM和复位。如果将这些引脚(至少VDD,GND和SWIM,因为复位是可选的)连接到相关的STM8引脚,则可以调试和编程MCU。请在下面找到显示与STM8L052连接的ST-Link / V2的照片:
如果您想将ST-LINK / V2与STM8 Discovery套件一起使用,那么首先您需要将ST-LINK / V2引脚连接到MCU引脚,然后您需要通过打开CN3上的跳线来断开Discovery工具包中嵌入的ST-LINK。请在下面找到显示以下内容的照片:
Szymon

以上来自于谷歌翻译


以下为原文




Hello,
ST-LINK/V2 is a programming/debugging tool for two MCUs families: STM32 and STM8. Both of them use different interface (STM32: JTAG or SWD; STM8: SWIM) and as a result ST-LINK/V2 provides two connectors, one for each family.
To use ST-LINK/V2 with STM8 you need to use 4-pin connector named STM8. These four pins are: VDD, GND, SWIM and Reset. If you connect these pins (at least VDD, GND and SWIM, because Reset is optional) to relevant STM8 pins, then you are ready to debug and program the MCU. Please find below a photo showing ST-Link/V2 connected with STM8L052:
If you want to use ST-LINK/V2 with STM8 Discovery kit, then first you need to connect ST-LINK/V2 pins to MCU pins and second you need to disconnect ST-LINK embedded on Discovery kit by opening jumpers on CN3. Please find below a photo showing this:
Szymon
举报

陈军

2018-9-17 13:39:32
耶士!加工。我都做对了,但我不知道一个细微差别,我的ST-LINK没有为我的设备供电。
 
您帮助在st-link中找到错误。
现在新问题:如何通过ST-Link  V2为我的目标设备编程?

以上来自于谷歌翻译


以下为原文




Yess!! Working. I all did the right, but I did not know one nuance, my ST-LINK don't powered my device.

You helped find error in st-link.
And now new question: How I can powered programmed my target device via ST-LinkV2?
举报

更多回帖

发帖
×
20
完善资料,
赚取积分