stlink jtag 接口定义

https://spotpear.cn/index/study/detail/id/403.html

https://blog.csdn.net/Electrical_IT/article/details/136037545

image

image

 

大家好,又见面了,我是你们的朋友全栈君。

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接口:

 
 
posted @ 2026-03-11 08:50  微笑的''80  阅读(0)  评论(0)    收藏  举报