{"id":730,"date":"2023-12-15T08:43:36","date_gmt":"2023-12-15T08:43:36","guid":{"rendered":"http:\/\/www.freecrt.cn\/?p=730"},"modified":"2023-12-15T08:43:36","modified_gmt":"2023-12-15T08:43:36","slug":"freecrt-%e4%b9%8b-stm32-isp-programmer","status":"publish","type":"post","link":"http:\/\/www.freecrt.cn\/?p=730","title":{"rendered":"FreeCRT \u4e4b STM32 ISP Programmer"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u4e00\u3001\u6982\u8ff0<\/h2>\n\n\n\n<p>ISP-\u5373In-system programming\uff0c\u662fSTM32\u5355\u7247\u673a\u7684\u4e00\u79cd\u542f\u52a8\u6a21\u5f0f\uff0c\u901a\u8fc7boot pin\u53ef\u4ee5\u9009\u62e9\u3002\u8fd9\u79cd\u6a21\u5f0f\u4e0b\uff0c\u5355\u7247\u673a\u4f1a\u52a0\u8f7d\u4e00\u6bb5\u5185\u7f6e\u4ee3\u7801\uff0c\u5916\u90e8\u7a0b\u5e8f\u53ef\u4ee5\u901a\u8fc7uart\u5411\u5176\u53d1\u9001\u5404\u79cd\u6307\u4ee4\uff0c\u5b8c\u6210\u8bf8\u5982\u5347\u7ea7\u7248\u672c\u7b49\u7684\u5de5\u4f5c\u3002<\/p>\n\n\n\n<p>STM32 ISP Programmer\u662f<strong>FreeCRT V0.9.9<\/strong>\u5f15\u5165\u7684\u4e00\u4e2a\u65b0\u529f\u80fd\uff0c\u53ef\u4ee5\u901a\u8fc7uart\u5bf9STM32\u5355\u7247\u673a\u8fdb\u884c\u955c\u50cf\u7684\u5199\u5165\u548c\u8bfb\u53d6\u3002\u672c\u529f\u80fd\u662f\u57fa\u4e8e\u6587\u6863AN3155\uff08\u89c1\u53c2\u8003\u6587\u68631\uff09\u5f00\u53d1\uff0c\u5e76\u5728STM32F103C6T6A\u5f00\u53d1\u677f\u4e0a\u8c03\u8bd5\u9a8c\u8bc1\u7684\uff0c\u5e76\u6ca1\u6709\u5728STM32\u5168\u7cfb\u5217\u5355\u7247\u673a\u4e0a\u6d4b\u8bd5\u8fc7\uff0c\u6240\u4ee5\u662f\u5426\u652f\u6301\u5177\u4f53\u67d0\u4e2a\u578b\u53f7\uff0c\u8fd8\u9700\u8981\u7b49\u6709\u673a\u4f1a\u9a8c\u8bc1\u540e\u518d\u8bf4\u4e86\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>\u4e3a\u4e86\u7b80\u5355\uff0cSTM32 ISP Programmer\u88ab\u8bbe\u8ba1\u6210\u5355\u6b21\u89e6\u53d1\u7684\u6a21\u5f0f\u3002\u4ec0\u4e48\u610f\u601d\u5462\uff1f\u5c31\u662f\u8bf4\u7528\u6237\u70b9\u51fbStart\u6309\u952e\uff0c\u5185\u90e8\u7a0b\u5e8f\u6309\u5982\u4e0b\u6d41\u7a0b\u6267\u884c\uff1a<\/p>\n\n\n\n<ol>\n<li>\u63a2\u6d4bSTM32<\/li>\n\n\n\n<li>\u6267\u884c\u4efb\u52a1-\u7531\u4e00\u7cfb\u5217ISP\u6307\u4ee4\u7ec4\u6210<\/li>\n\n\n\n<li>\u7ed3\u675f\u4efb\u52a1<\/li>\n<\/ol>\n\n\n\n<p>\u7b80\u5355\u7684\u8bf4\uff0c\u8f6f\u4ef6\u5e0c\u671b\u7528\u6237\u5728\u70b9\u51fbStart\u7684\u65f6\u5019\uff0c\u4fdd\u8bc1STM32\u662f\u91cd\u542f\u4e4b\u540e\u8fdb\u5165\u4e86ISP\u7684\u72b6\u6001\u3002\u6362\u4e2a\u8bf4\u6cd5\uff0c\u5982\u679c\u4f60\u6267\u884c\u4e86\u4e00\u6b21\u5199\u5165\u955c\u50cf\uff0c\u60f3\u518d\u9a6c\u4e0a\u518d\u6267\u884c\u4e00\u6b21\uff0c\u90a3\u4e48\u4f1a\u51fa\u73b0Sync STM32\u5931\u8d25\u7684\u6253\u5370\uff0c\u56e0\u4e3a\u8f6f\u4ef6\u671f\u671b\u4f60\u5148\u590d\u4f4dSTM32\u518d\u6267\u884c\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001STM32 ISP Programmer\u7a0b\u5e8f\u754c\u9762<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"471\" height=\"518\" src=\"http:\/\/www.freecrt.cn\/wp-content\/uploads\/2023\/11\/\u56fe\u7247-7.png\" alt=\"\" class=\"wp-image-762\" srcset=\"http:\/\/www.freecrt.cn\/wp-content\/uploads\/2023\/11\/\u56fe\u7247-7.png 471w, http:\/\/www.freecrt.cn\/wp-content\/uploads\/2023\/11\/\u56fe\u7247-7-273x300.png 273w\" sizes=\"(max-width: 471px) 100vw, 471px\" \/><figcaption class=\"wp-element-caption\">\u56fe1 STM32 ISP Programmer\u4e3b\u754c\u9762<\/figcaption><\/figure>\n\n\n\n<p>\u7a0b\u5e8f\u4e3b\u754c\u9762\u5982\u56fe1\u6240\u793a\uff0c\u5206\u4e3aWrite Image\uff08\u5199\u5165\u955c\u50cf\uff09\u548cRead Image\uff08\u8bfb\u53d6\u955c\u50cf\uff09\u4e24\u79cd\u64cd\u4f5c\u3002<\/p>\n\n\n\n<p><strong><em>Com Port<\/em><\/strong>\u7528\u4e8e\u6307\u5b9a\u4e0eSTM32\u901a\u8baf\u7684UART\u53e3\uff0c\u652f\u6301\u52a8\u6001\u8bc6\u522b\u7cfb\u7edf\u5185\u7684\u53ef\u7528\u4e32\u53e3\u3002<\/p>\n\n\n\n<p><strong><em>Baud Rate<\/em><\/strong>\u7528\u4e8e\u6307\u5b9a\u901a\u8baf\u7684\u6ce2\u7279\u7387\uff0c\u8fd9\u4e86\u9700\u8981\u8bf4\u660e\u7684\u662f\uff0c\u5728ISP\u72b6\u6001\u4e0b\uff0cSTM32\u652f\u6301\u52a8\u6001\u7684\u8bc6\u522bUART\u53e3\u4ee5\u53ca\u52a8\u6001\u8bc6\u522b\u6ce2\u7279\u7387\uff0c\u8fd9\u6837\u5982\u679c\u60f3\u4f7f\u7528\u8f83\u9ad8\u7684\u5199\u5165\u901f\u5ea6\uff0c\u90a3\u4e48\u9009\u62e9\u8f83\u9ad8\u7684\u6ce2\u7279\u7387\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n\n\n\n<p><strong><em>Image<\/em><\/strong>\u5728Write Image\u65f6\u7528\u4e8e\u9009\u62e9\u8f93\u5165\u6587\u4ef6\uff0c\u5728Read Image\u65f6\u7528\u4e8e\u6307\u5b9a\u8f93\u51fa\u6587\u4ef6\u3002<\/p>\n\n\n\n<p>\u590d\u9009\u6846<strong><em>Unlock RDP<\/em><\/strong>\u7528\u4e8e\u5728\u6267\u884c\u8bfb\u5199\u64cd\u4f5c\u524d\u9996\u5148\u8fdb\u884c\u89e3\u9501\u64cd\u4f5c\uff0c\u5173\u4e8e\u8fd9\u4e2a\u529f\u80fd\u7684\u4f7f\u7528\uff0c\u5728RDP\u76f8\u5173\u90e8\u5206\u518d\u8be6\u7ec6\u8bf4\u660e\u3002<\/p>\n\n\n\n<p><strong><em>Erase All<\/em><\/strong>\u590d\u9009\u6846\u7528\u4e8e\u6307\u5b9a\u5728\u5199\u5165\u955c\u50cf\u65f6\uff0c\u662f\u5168flash\u64e6\u9664\uff0c\u8fd8\u662f\u6309\u5199\u5165\u955c\u50cf\u7684\u5927\u5c0f\u64e6\u9664\u6240\u9700\u5360\u7528\u7684flash page\uff0c\u9ed8\u8ba4\u4e0d\u662fErase All\u3002<\/p>\n\n\n\n<p><strong>Target Flash<\/strong>\u533a\uff0c\u7528\u6765\u5b9a\u4e49\u8bfb\u5199Flash\u7684\u76ee\u6807\u4f4d\u7f6e\uff0cBase\u548cPage size\u90fd\u662f\u6309STM32F103\u6765\u8bbe\u7f6e\u7684\u3002Size\u5b57\u6bb5\u7528\u6765\u63a7\u5236\u5199\u5165\u955c\u50cf\u6216\u8bfb\u53d6\u7684\u5927\u5c0f\u3002<\/p>\n\n\n\n<p><strong>Log<\/strong>\u533a\u7528\u4e8e\u663e\u793a\u8be6\u7ec6\u64cd\u4f5c\u6b65\u9aa4\u7684\u6267\u884c\u60c5\u51b5\uff0c[]\u5185\u4e3a\u7a0b\u5e8f\u542f\u7528\u4ee5\u6765\u7684\u6beb\u79d2\u6570\u3002<\/p>\n\n\n\n<p><strong>Start<\/strong> \u6309\u94ae\uff0c\u7528\u6765\u89e6\u53d1\u4e00\u6b21\u6267\u884c\u4efb\u52a1\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001\u8bfb\u53d6\u955c\u50cf<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"473\" height=\"517\" src=\"http:\/\/www.freecrt.cn\/wp-content\/uploads\/2023\/11\/\u56fe\u7247-3.png\" alt=\"\" class=\"wp-image-758\" srcset=\"http:\/\/www.freecrt.cn\/wp-content\/uploads\/2023\/11\/\u56fe\u7247-3.png 473w, http:\/\/www.freecrt.cn\/wp-content\/uploads\/2023\/11\/\u56fe\u7247-3-274x300.png 274w\" sizes=\"(max-width: 473px) 100vw, 473px\" \/><figcaption class=\"wp-element-caption\">\u56fe2 \u8bfb\u53d6\u955c\u50cf\u64cd\u4f5c\u754c\u9762<\/figcaption><\/figure>\n\n\n\n<p>\u8bfb\u53d6\u955c\u50cf\u7684\u64cd\u4f5c\u754c\u9762\u5982\u56fe2\u6240\u793a\uff0c\u5927\u81f4\u6309\u5982\u4e0b\u6d41\u7a0b\u64cd\u4f5c\uff1a<\/p>\n\n\n\n<ol>\n<li>\u8bbe\u7f6eISP\u6a21\u5f0f\uff0c\u5e76\u590d\u4f4dSTM32<\/li>\n\n\n\n<li>\u9009\u62e9Read Image<\/li>\n\n\n\n<li>\u9009\u62e9\u6b63\u786e\u7684\u901a\u8bafUART<\/li>\n\n\n\n<li>\u9009\u62e9\u5408\u9002\u7684\u6ce2\u7279\u7387<\/li>\n\n\n\n<li>\u9009\u62e9\u76ee\u6807\u8f93\u51fa\u6587\u4ef6<\/li>\n\n\n\n<li>\u586b\u5199\u9700\u8981\u8bfb\u51fa\u7684\u955c\u50cf\u5927\u5c0f\u586b\u5165Size\u7a7a\u683c\u5185\uff0c\u5355\u4f4d\u4e3aByte<\/li>\n\n\n\n<li>\u6267\u884cStart\u6309\u94ae<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">\u56db\u3001\u5199\u5165\u955c\u50cf<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"473\" height=\"520\" src=\"http:\/\/www.freecrt.cn\/wp-content\/uploads\/2023\/11\/\u56fe\u7247-4.png\" alt=\"\" class=\"wp-image-759\" srcset=\"http:\/\/www.freecrt.cn\/wp-content\/uploads\/2023\/11\/\u56fe\u7247-4.png 473w, http:\/\/www.freecrt.cn\/wp-content\/uploads\/2023\/11\/\u56fe\u7247-4-273x300.png 273w\" sizes=\"(max-width: 473px) 100vw, 473px\" \/><figcaption class=\"wp-element-caption\">\u56fe3 \u5199\u5165\u955c\u50cf\u64cd\u4f5c\u754c\u9762<\/figcaption><\/figure>\n\n\n\n<p>\u5199\u5165\u955c\u50cf\u7684\u64cd\u4f5c\u754c\u9762\u5982\u56fe3\u6240\u793a\uff0c\u5927\u81f4\u6309\u5982\u4e0b\u6d41\u7a0b\u64cd\u4f5c\uff1a<\/p>\n\n\n\n<ol>\n<li>\u8bbe\u7f6eISP\u6a21\u5f0f\uff0c\u5e76\u590d\u4f4dSTM32<\/li>\n\n\n\n<li>\u9009\u62e9Wite Image<\/li>\n\n\n\n<li>\u9009\u62e9\u6b63\u786e\u7684\u901a\u8bafUART<\/li>\n\n\n\n<li>\u9009\u62e9\u5408\u9002\u7684\u6ce2\u7279\u7387<\/li>\n\n\n\n<li>\u9009\u62e9\u76ee\u6807\u955c\u50cf\u6587\u4ef6\uff0c\u8fd9\u4e2a\u65f6\u5019\uff0cSize\u4f1a\u88ab\u81ea\u52a8\u8bbe\u7f6e\u4e3a\u6587\u4ef6\u5927\u5c0f<\/li>\n\n\n\n<li>\u6267\u884cStart\u6309\u94ae<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e94\u3001RDP\uff08\u8bfb\u4fdd\u62a4\uff09\u6a21\u5f0f\u7684\u5904\u7406<\/h2>\n\n\n\n<p>RDP\u662fSTM32\u5355\u7247\u673a\u63d0\u4f9b\u7684\u8bfb\u4fdd\u62a4\u6a21\u5f0f\uff0c\u5728\u8fd9\u4e2a\u6a21\u5f0f\u901a\u8fc7\u4efb\u4f55\u65b9\u6cd5\u90fd\u6ca1\u6709\u529e\u6cd5\u83b7\u53d6\u5230\u5355\u7247\u673a\u56fa\u4ef6\uff0c\u662f\u8fdb\u884c\u7248\u672c\u4fdd\u62a4\u7684\u91cd\u8981\u624b\u6bb5\u3002<\/p>\n\n\n\n<p>\u5728\u8fd9\u4e2a\u6a21\u5f0f\uff0c\u4efb\u4f55\u8bfb\u53d6\u548c\u5199\u5165\u90fd\u4f1a\u5931\u8d25\uff0c\u4f46\u662f\u53ef\u4ee5\u8fdb\u884cRDP\u89e3\u9501\u64cd\u4f5c\uff0c\u89e3\u9501\u540e\uff0c\u5c31\u53ef\u4ee5\u8fdb\u884c\u6b63\u5e38\u7684\u8bfb\u5199\u64cd\u4f5c\uff0c\u53ea\u662f\uff0c\u4e00\u65e6\u8fdb\u884c\u89e3\u9501\uff0cflash\u4e0a\u7684\u5185\u5bb9\u5c06\u4f1a\u88ab\u6e05\u7a7a\uff0c\u8fd9\u4e5f\u662fRDP\u4fdd\u62a4\u7684\u91cd\u8981\u4e00\u73af\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"473\" height=\"519\" src=\"http:\/\/www.freecrt.cn\/wp-content\/uploads\/2023\/11\/\u56fe\u7247-5.png\" alt=\"\" class=\"wp-image-760\" srcset=\"http:\/\/www.freecrt.cn\/wp-content\/uploads\/2023\/11\/\u56fe\u7247-5.png 473w, http:\/\/www.freecrt.cn\/wp-content\/uploads\/2023\/11\/\u56fe\u7247-5-273x300.png 273w\" sizes=\"(max-width: 473px) 100vw, 473px\" \/><figcaption class=\"wp-element-caption\">\u56fe4 RDP\u72b6\u6001\u4e0b\u8fdb\u884c\u5199\u5165\u64cd\u4f5c<\/figcaption><\/figure>\n\n\n\n<p>\u5982\u679cSTM32\u5b58\u5728RDP\u72b6\u6001\uff0c\u90a3\u4e48\u8fd9\u4e2a\u65f6\u5019\u8fdb\u884cFLASH\u7684\u8bfb\u5199\uff0c\u90fd\u4f1a\u6709\u56fe4\u7c7b\u4f3c\u7684\u9519\u8bef\u63d0\u793a\u3002\u8fd9\u79cd\u72b6\u6001\u4e0b\u6211\u4eec\u53ef\u4ee5\u6309\u5982\u4e0b\u6d41\u7a0b\u5c1d\u8bd5\u89e3\u9501\uff1a<\/p>\n\n\n\n<ol>\n<li>\u8bbe\u7f6eISP\u6a21\u5f0f\uff0c\u5e76\u590d\u4f4dSTM32<\/li>\n\n\n\n<li>\u8bfb\u5199\u6309\u524d\u4e24\u8282\u8bbe\u7f6e<\/li>\n\n\n\n<li>\u989d\u5916\u52fe\u9009Unlock RDP<\/li>\n\n\n\n<li>\u6267\u884cStart\uff0c\u51fa\u73b0Unlock\u6210\u529f\u7684\u63d0\u793a<\/li>\n\n\n\n<li>\u63a5\u4e0b\u6765\u7a0b\u5e8f\u5c1d\u8bd5\u8fdb\u884c\u8bfb\u5199\u4efb\u52a1\uff0c\u4f46\u5927\u6982\u7387\u4f1a\u5931\u8d25\uff0c\u6267\u884c\u4e0b\u9762<\/li>\n\n\n\n<li>\u590d\u4f4dSTM32\uff0c\u53bb\u52fe\u9009Unlock RDP<\/li>\n\n\n\n<li>\u518d\u6b21\u6267\u884cStart<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"473\" height=\"519\" src=\"http:\/\/www.freecrt.cn\/wp-content\/uploads\/2023\/11\/\u56fe\u7247-6.png\" alt=\"\" class=\"wp-image-761\" srcset=\"http:\/\/www.freecrt.cn\/wp-content\/uploads\/2023\/11\/\u56fe\u7247-6.png 473w, http:\/\/www.freecrt.cn\/wp-content\/uploads\/2023\/11\/\u56fe\u7247-6-273x300.png 273w\" sizes=\"(max-width: 473px) 100vw, 473px\" \/><figcaption class=\"wp-element-caption\">\u56fe5 Unlock RDP \u6267\u884c\u6d41\u7a0b<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u516d\u3001\u53c2\u8003\u6587\u6863<\/h2>\n\n\n\n<ol>\n<li><a href=\"http:\/\/www.freecrt.cn\/document\/an3155-usart-protocol-used-in-the-stm32-bootloader-stmicroelectronics.pdf\">AN3155-USART protocol used in the STM32 bootloader (PDF)<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u6982\u8ff0 ISP-\u5373In-system programming\uff0c\u662fSTM32\u5355\u7247\u673a\u7684\u4e00\u79cd\u542f\u52a8\u6a21\u5f0f\uff0c\u901a\u8fc7boot [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[19,18],"_links":{"self":[{"href":"http:\/\/www.freecrt.cn\/index.php?rest_route=\/wp\/v2\/posts\/730"}],"collection":[{"href":"http:\/\/www.freecrt.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.freecrt.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.freecrt.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.freecrt.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=730"}],"version-history":[{"count":22,"href":"http:\/\/www.freecrt.cn\/index.php?rest_route=\/wp\/v2\/posts\/730\/revisions"}],"predecessor-version":[{"id":777,"href":"http:\/\/www.freecrt.cn\/index.php?rest_route=\/wp\/v2\/posts\/730\/revisions\/777"}],"wp:attachment":[{"href":"http:\/\/www.freecrt.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.freecrt.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=730"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.freecrt.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}