ST-Link SWD接口接线

1、实验目的:

实现通过st-link调试stm32芯片

2、实验环境:

3、接线方式

SWD接口需要连接四根线:VCC GND SWDIO SWCLK

20pin调试接口对应的pin脚关系:

Pin 1 – VCC:

This is the traget board Vcc. It is used by the STLINK/V2

Pin 7 – TMS/SWDIO:

The SWD Data signal

Pin 8 – GND:

Be sure there is a common ground

Pin 9 – TCK/SWCLK

The SWD Clock Signal

Pin 15 – nSRST/RESET

System reset – probably optional(你可以不要这个复位pin,直接关电源再上电来复位)

下图为详细的20pin接口:

20pin接口图

猜你喜欢

转载自blog.csdn.net/gyb510/article/details/73499977
今日推荐