• Welcome to the world's largest Chinese hacker forum

    Welcome to the world's largest Chinese hacker forum, our forum registration is open! You can now register for technical communication with us, this is a free and open to the world of the BBS, we founded the purpose for the study of network security, please don't release business of black/grey, or on the BBS posts, to seek help hacker if violations, we will permanently frozen your IP and account, thank you for your cooperation. Hacker attack and defense cracking or network Security

    business please click here: Creation Security  From CNHACKTEAM

[转载]ST Link/V2的SWD模式连接模式


Recommended Posts

原地址:https://blog.csdn.net/m0_58420764/article/details/122077001

STlink/v2中SWD模式连线方式

original.png

愚蠢的卷心菜newCurrentTime2.png

发布于2021年12月21日,18:31336000articleReadEyes2.png

716tobarCollect2.png

tobarCollectionActive2.png

已收集3

标签:python物联网php centos java

版权

s5w4yms1hmt3630.png

2j4oin2ejdb3631.png

图1显示了STlink/v2 JTAG/SWD标准的接口序列。

h5z4rclzcey3632.png

图2显示了STlink/v2 JTAG/SWD标准的接口定义。

zzbcvc1hisf3633.png

若使用SWD模式,则只需要连接4根线,分别为SWDCLK,SWDIO,GND,TVCC,即7,9,12,1,TVCC为3.3V或5V

由于只有5V是从我自己画的板引出的,TVCC本身不是用来给开发板供电的,所以我试着接了5V,可以成功下载代码。而VDD输出3.3V的高电平,可用于供电。

别急,慢慢找问题出在哪里。经过几次修补,MDK在发现真正的ST-link/V2的TVCC引脚被连接后,成功地识别出了芯片。原来TVCC是一个功率平衡输入引脚,但是不能作为MCU的电源引脚,所以我们现在接五根线(SWIO,SWCLK,3V3,GND,TVCC)。如果强迫症非要用四根线,那么3V3和TVCC可以连在一起。现在,

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now