{"id":61418,"date":"2023-10-26T07:11:37","date_gmt":"2023-10-25T23:11:37","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=61418"},"modified":"2023-10-26T07:11:37","modified_gmt":"2023-10-25T23:11:37","slug":"syjdqb","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/61418.html","title":{"rendered":"SWD\u4e0eJTAG\u7684\u533a\u522b"},"content":{"rendered":"
SWD\u548cJTAG\u662f\u4e24\u79cd\u5e38\u7528\u7684\u8c03\u8bd5\u63a5\u53e3\uff0c\u90fd\u662f\u7528\u4e8e\u8c03\u8bd5\u548c\u7f16\u7a0b\u5fae\u63a7\u5236\u5668\u7684\u6807\u51c6\u63a5\u53e3\u3002\u5b83\u4eec\u4e4b\u95f4\u6709\u4e00\u4e9b\u660e\u663e\u7684\u5dee\u5f02\uff0c\u56e0\u6b64\u5728\u4f7f\u7528\u65f6\u9700\u8981\u4e86\u89e3\u5b83\u4eec\u4e4b\u95f4\u7684\u5dee\u5f02\u3002\u672c\u6587\u5c06\u4ecb\u7ecdSWD\u548cJTAG\u4e4b\u95f4\u7684\u533a\u522b\uff0c\u4ee5\u53ca\u5b83\u4eec\u7684\u4f18\u7f3a\u70b9\u3002<\/p>\n
SWD\uff08Serial Wire Debug\uff09\u662fARM\u516c\u53f8\u63a8\u51fa\u7684\u4e00\u79cd\u8c03\u8bd5\u63a5\u53e3\uff0c\u5b83\u662f\u5bf9JTAG\u7684\u4e00\u79cd\u6539\u8fdb\u3002SWD\u4e0eJTAG\u76f8\u6bd4\uff0c\u5177\u6709\u66f4\u5c11\u7684\u63a5\u53e3\u7ebf\uff0c\u66f4\u4f4e\u7684\u529f\u8017\uff0c\u66f4\u5c0f\u7684\u5c01\u88c5\uff0c\u66f4\u9ad8\u7684\u901f\u5ea6\u548c\u66f4\u4f4e\u7684\u6210\u672c\u3002SWD\u53ea\u9700\u89812\u6839\u7ebf\uff0c\u4e00\u6839\u4e3aSWDIO\uff0c\u4e00\u6839\u4e3aSWCLK\uff0c\u800cJTAG\u9700\u89814\u6839\u7ebf\uff0c\u56e0\u6b64SWD\u7684\u5c01\u88c5\u66f4\u5c0f\uff0c\u53ef\u4ee5\u5bb9\u7eb3\u66f4\u591a\u7684\u529f\u80fd\u3002\u6b64\u5916\uff0cSWD\u7684\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8fbe\u523050MHz\uff0c\u800cJTAG\u7684\u4f20\u8f93\u901f\u7387\u4ec5\u4e3a20MHz\uff0c\u56e0\u6b64SWD\u7684\u4f20\u8f93\u901f\u7387\u66f4\u5feb\u3002\u6b64\u5916\uff0cSWD\u7684\u529f\u8017\u66f4\u4f4e\uff0c\u56e0\u6b64\u53ef\u4ee5\u964d\u4f4e\u7cfb\u7edf\u7684\u70ed\u91cf\u6d88\u8017\u3002<\/p>\n
JTAG\uff08Joint Test Action Group\uff09\u662f\u7531IEEE\u53d1\u5e03\u7684\u4e00\u79cd\u8c03\u8bd5\u63a5\u53e3\u6807\u51c6\uff0c\u5b83\u4e3b\u8981\u7528\u4e8e\u8c03\u8bd5\u548c\u7f16\u7a0b\u5fae\u63a7\u5236\u5668\u3002JTAG\u7684\u4f18\u70b9\u5728\u4e8e\u5b83\u53ef\u4ee5\u8bbf\u95ee\u591a\u79cd\u5916\u8bbe\uff0c\u5982\u5b58\u50a8\u5668\u3001\u5916\u90e8\u8bbe\u5907\u7b49\u3002\u6b64\u5916\uff0cJTAG\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\uff0c\u5982C\u3001C++\u3001Verilog\u7b49\uff0c\u56e0\u6b64\u53ef\u4ee5\u5b9e\u73b0\u591a\u79cd\u8c03\u8bd5\u529f\u80fd\u3002\u53e6\u5916\uff0cJTAG\u8fd8\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5982Windows\u3001Linux\u7b49\uff0c\u56e0\u6b64\u53ef\u4ee5\u5728\u591a\u79cd\u73af\u5883\u4e2d\u4f7f\u7528\u3002<\/p>\n
\u4ece\u4e0a\u9762\u7684\u4ecb\u7ecd\u4e2d\u53ef\u4ee5\u770b\u51fa\uff0cSWD\u548cJTAG\u4e4b\u95f4\u5b58\u5728\u5f88\u591a\u5dee\u5f02\u3002<\/strong>SWD\u5177\u6709\u66f4\u5c11\u7684\u63a5\u53e3\u7ebf\uff0c\u66f4\u4f4e\u7684\u529f\u8017\uff0c\u66f4\u5c0f\u7684\u5c01\u88c5\uff0c\u66f4\u9ad8\u7684\u901f\u5ea6\u548c\u66f4\u4f4e\u7684\u6210\u672c\uff0c\u4f46\u5b83\u4e0d\u80fd\u8bbf\u95ee\u5916\u8bbe\uff0c\u4e5f\u4e0d\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\u548c\u64cd\u4f5c\u7cfb\u7edf\u3002\u800cJTAG\u5219\u5177\u6709\u66f4\u591a\u7684\u4f18\u70b9\uff0c\u53ef\u4ee5\u8bbf\u95ee\u5916\u8bbe\uff0c\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\u548c\u64cd\u4f5c\u7cfb\u7edf\uff0c\u4f46\u5b83\u7684\u4f20\u8f93\u901f\u7387\u8f83\u4f4e\uff0c\u529f\u8017\u8f83\u9ad8\uff0c\u5c01\u88c5\u8f83\u5927\uff0c\u6210\u672c\u8f83\u9ad8\u3002\u56e0\u6b64\uff0c\u5728\u9009\u62e9SWD\u548cJTAG\u65f6\uff0c\u9700\u8981\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u548c\u7cfb\u7edf\u7684\u7279\u6027\u6765\u9009\u62e9\u5408\u9002\u7684\u63a5\u53e3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" SWD\u548cJTAG\u662f\u4e24\u79cd\u5e38\u7528\u7684\u8c03\u8bd5\u63a5\u53e3\uff0c\u90fd\u662f\u7528\u4e8e\u8c03\u8bd5\u548c\u7f16\u7a0b\u5fae\u63a7\u5236\u5668\u7684\u6807\u51c6\u63a5\u53e3\u3002\u5b83\u4eec\u4e4b\u95f4\u6709\u4e00\u4e9b\u660e\u663e\u7684\u5dee\u5f02\uff0c\u56e0\u6b64\u5728\u4f7f\u7528\u65f6\u9700\u8981\u4e86\u89e3\u5b83\u4eec\u4e4b\u95f4\u7684\u5dee\u5f02\u3002\u672c\u6587\u5c06\u4ecb\u7ecdSWD\u548cJTAG\u4e4b\u95f4\u7684<\/p>\n","protected":false},"author":1,"featured_media":1839,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[305],"class_list":["post-61418","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-dzjs"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/61418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=61418"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/61418\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/1839"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=61418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=61418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=61418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}