ST-Link SWD接口接线
其他
2018-05-10 19:46:32
阅读次数: 3
1、实验目的:
实现通过st-link调试stm32芯片
2、实验环境:
stm32开发板留有20pin的调试接口,可接jlink和stlink
调试工具使用st-link v2
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接口:
转载自blog.csdn.net/gyb510/article/details/73499977