{"id":577,"date":"2017-06-26T14:13:48","date_gmt":"2017-06-26T06:13:48","guid":{"rendered":"https:\/\/www.jarvisw.com\/?p=577"},"modified":"2017-06-26T14:13:48","modified_gmt":"2017-06-26T06:13:48","slug":"stm32%e4%b9%8boption-bytes%e8%b8%a9%e5%9d%91%e8%ae%b0%e5%bd%95","status":"publish","type":"post","link":"https:\/\/www.jarvisw.com\/?p=577","title":{"rendered":"STM32\u4e4boption bytes\u8e29\u5751\u8bb0\u5f55"},"content":{"rendered":"<p>\u6700\u8fd1\u5728\u505a\u4e00\u4e2astm32\u9879\u76ee\uff0c\u7528\u7684\u76d7\u7248jlink\u8c03\u8bd5\uff0c\u7a81\u7136\u67d0\u6b21\u4e0b\u5b8c\u7a0b\u5e8f\uff0cstm32\u7adf\u7136\u5f00\u59cb\u65e0\u9650\u91cd\u542f\u4e86\uff0c\u91cf\u4e86\u4e00\u4e0b\u590d\u4f4d\u811a\uff0c\u53d1\u73b0\u6709\u5468\u671f\u6027\u7684\u91cd\u542f\u8109\u51b2\u8f93\u51fa\uff0c\u4e00\u5f00\u59cb\u6211\u4ee5\u4e3a\u662f\u786c\u4ef6\u574f\u4e86\uff0c\u91cd\u65b0\u710a\u4e86\u4e00\u5957\u786c\u4ef6\uff0c\u53d1\u73b0\u65b0\u710a\u7684\u662f\u597d\u7684\uff0c\u4f46\u662f\u539f\u6765\u90a3\u5757\u677f\u5b50\uff0c\u68c0\u67e5\u6765\u68c0\u67e5\u53bb\u611f\u89c9\u4e5f\u4e0d\u50cf\u662f\u786c\u4ef6\u548c\u7a0b\u5e8f\u7684\u95ee\u9898\u3002<\/p>\n<p>\u540e\u6765\u6211\u67e5\u4e86\u4e00\u4e9b\u8d44\u6599\uff0c\u60f3\u5230\u53bb\u68c0\u67e5\u590d\u4f4d\u540e\u7684RCC_CSR\u5bc4\u5b58\u5668\uff0c\u8fd9\u91cc\u4f1a\u6807\u8bc6\u7cfb\u7edf\u662f\u7531\u54ea\u4e2a\u4fe1\u53f7\u5f15\u53d1\u7684reset\uff0c\u770b\u4e86\u4ee5\u540e\u624d\u53d1\u73b0\u662f\u7531\u4e8e\u770b\u95e8\u72d7\u5f15\u8d77\u7684\uff0c\u4f46\u662f\u770b\u95e8\u72d7\u6211\u8f6f\u4ef6\u4e0a\u90fd\u4e00\u76f4\u6ca1\u5f00\u8fc7\uff0c\u611f\u89c9\u975e\u5e38\u5947\u602a\u3002<\/p>\n<p>\u540e\u6765\u67e5\u4e86\u4e9b\u8d44\u6599\u624d\u53d1\u73b0\uff1a<\/p>\n<table cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td id=\"postmessage_1086658\" class=\"t_f\">STM32\u7684\u72ec\u7acb\u770b\u95e8\u72d7\u53ef\u4ee5\u662f\u786c\u4ef6\u4f7f\u80fd\u6216\u8f6f\u4ef6\u4f7f\u80fd\uff0c\u786c\u4ef6\u4f7f\u80fd\u662f\u901a\u8fc7option bytes\u914d\u7f6e\uff0c\u8f6f\u4ef6\u4f7f\u80fd\u662f\u901a\u8fc7\u8f6f\u4ef6\u8bbe\u7f6e\u5bc4\u5b58\u5668\u4f4d\u914d\u7f6e\u3002<\/p>\n<p>\u786c\u4ef6\u4f7f\u80fd\u7684\u770b\u95e8\u72d7\uff0c\u5728\u7cfb\u7edf\u4e0a\u7535\u4e4b\u540e\u5c31\u5f00\u59cb\u5de5\u4f5c\uff0c\u4e00\u65e6\u5f00\u59cb\u5de5\u4f5c\u5c31\u6ca1\u6709\u529e\u6cd5\u8ba9\u5b83\u505c\u6b62\u5de5\u4f5c\uff1b\u800c\u8f6f\u4ef6\u4f7f\u80fd\u7684\u770b\u95e8\u72d7\uff0c\u53ea\u6709\u5728\u8bbe\u7f6e\u4e86\u76f8\u5e94\u7684\u5bc4\u5b58\u5668\u4f4d\u540e\u624d\u80fd\u5f00\u59cb\u5de5\u4f5c\uff0c\u4e00\u65e6\u5f00\u59cb\u5de5\u4f5c\uff0c\u53ea\u6709\u7cfb\u7edf\u590d\u4f4d\u624d\u80fd\u8ba9\u5b83\u505c\u6b62\u5de5\u4f5c\u3002<\/p>\n<p>\u5982\u679c\u542f\u7528\u4e86\u786c\u4ef6\u4f7f\u80fd\uff0c\u5fc5\u987b\u901a\u8fc7\u64e6\u9664\u76f8\u5e94\u7684\u9009\u62e9\u5b57\u8282\u4f4d\u5173\u95ed\u786c\u4ef6\u770b\u95e8\u72d7\u529f\u80fd\uff0c\u8fd9\u65f6\u770b\u95e8\u72d7\u7684\u529f\u80fd\u53ef\u4ee5\u901a\u8fc7\u8f6f\u4ef6\u4f7f\u80fd\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u539f\u6765\u90a3\u4e48\u9ad8\u7aef\u7684\uff0c\u7adf\u7136\u8fd8\u6709option bytes\u8fd9\u79cd\u4e1c\u897f\uff0c\u518d\u67e5\u9605\u4e86\u4e00\u4e9b\u5173\u4e8eoption bytes\u8d44\u6599:<\/p>\n<p>STM32 \u7684 Flash information block \u90e8\u5206\uff0c\u5305\u542b\u6709\u7279\u6b8a\u7684\u9009\u9879\u5b57\u8282\uff0c\u53ef\u4ee5\u7528\u4e8e\u7cfb\u7edf\u914d\u7f6e\u7b49\u4fe1\u606f\uff0c \u5176\u4e2d\u8fd8\u6709\u4e24\u4e2a\u6709\u6548\u5b57\u8282\uff08\u5b9e\u9645\u56db\u4e2a\u5b57\u8282\uff0c\u4e24\u4e2a\u662f\u6821\u9a8c\u5b57\u8282\uff09\u7684\u7528\u6237\u81ea\u5b9a\u4e49\u6570\u636e\u5b57\u8282\u3002\u7528ST-LINK\u53ef\u4ee5\u76f4\u63a5\u914d\u7f6e\u8fd9\u4e9b\u7279\u6b8a\u7684\u914d\u7f6e\u4f4d\u3002<\/p>\n<p>\u539f\u6765\u5982\u6b64\uff0cSTM32\u4e5f\u6709\u7c7b\u4f3c51\/AVR\u4e4b\u7c7b\u7684\u7194\u4e1d\u4f4d\uff0c\u4f46\u662f\u4e00\u822c\u6765\u8bf4\u5e73\u65f6\u624b\u52a8\u8bbe\u7f6e\u4f1a\u6bd4\u8f83\u5c11\uff0c\u6240\u4ee5\u4e0d\u592a\u6ce8\u610f\u8fd9\u4e00\u70b9\uff0c\u7528ST-LINK Utility\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528ST-LINK\u6765\u914d\u7f6e\u7194\u4e1d\u4f4d\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-579\" src=\"https:\/\/www.jarvisw.com\/wp-content\/uploads\/2017\/06\/option.png\" alt=\"\" width=\"816\" height=\"595\" srcset=\"https:\/\/www.jarvisw.com\/wp-content\/uploads\/2017\/06\/option.png 816w, https:\/\/www.jarvisw.com\/wp-content\/uploads\/2017\/06\/option-300x219.png 300w, https:\/\/www.jarvisw.com\/wp-content\/uploads\/2017\/06\/option-768x560.png 768w\" sizes=\"auto, (max-width: 816px) 100vw, 816px\" \/><\/p>\n<p>\u6253\u5f00\u4ee5\u540e\u754c\u9762\u5982\u4e0b\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-580\" src=\"https:\/\/www.jarvisw.com\/wp-content\/uploads\/2017\/06\/option1.png\" alt=\"\" width=\"402\" height=\"746\" srcset=\"https:\/\/www.jarvisw.com\/wp-content\/uploads\/2017\/06\/option1.png 402w, https:\/\/www.jarvisw.com\/wp-content\/uploads\/2017\/06\/option1-162x300.png 162w\" sizes=\"auto, (max-width: 402px) 100vw, 402px\" \/><\/p>\n<p>\u53ef\u4ee5\u770b\u5230WDG_SW\u4f4d\u88ab\u6e05\u96f6\u4e86\uff0c\u8fd9\u4e2a\u4f4d\u5982\u679c\u6e05\u96f6\uff0c\u770b\u95e8\u72d7\u4e0a\u7535\u5c31\u4f1a\u7531\u786c\u4ef6\u4f7f\u80fd\uff0c\u4e14\u5173\u4e0d\u6389\uff0c\u800c\u53e6\u4e00\u5757\u677f\u5b50\uff0c\u8fd9\u4e2a\u914d\u7f6e\u4f4d\u662f\u7f6e1\u7684\u3002\u6211\u8fd9\u91cc\u628aWDG_SW\u4f4d\u52fe\u9009\u4e0a\uff0c\u7136\u540e\u5199\u5165\uff0c\u65e0\u9650\u81ea\u52a8\u91cd\u542f\u95ee\u9898\u5c31\u89e3\u51b3\u4e86\u3002\u770b\u6765\u76d7\u7248jlink\u786e\u5b9e\u5bb9\u6613\u7528\u51fa\u95ee\u9898\u6765\uff0c\u80fd\u7528\u6b63\u7248\u8fd8\u662f\u5c3d\u91cf\u7528\u6b63\u7248\u5427\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u5728\u505a\u4e00\u4e2astm32\u9879\u76ee\uff0c\u7528\u7684\u76d7\u7248jlink\u8c03\u8bd5\uff0c\u7a81\u7136\u67d0\u6b21\u4e0b\u5b8c\u7a0b\u5e8f\uff0cstm32\u7adf\u7136\u5f00\u59cb\u65e0\u9650\u91cd\u542f\u4e86\uff0c\u91cf\u4e86\u4e00\u4e0b\u590d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,5],"tags":[105,104],"class_list":["post-577","post","type-post","status-publish","format-standard","hentry","category-iot","category-5","tag-option","tag-stm32"],"_links":{"self":[{"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/posts\/577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=577"}],"version-history":[{"count":2,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/posts\/577\/revisions"}],"predecessor-version":[{"id":581,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/posts\/577\/revisions\/581"}],"wp:attachment":[{"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}