{"id":925,"date":"2022-06-14T10:57:48","date_gmt":"2022-06-14T02:57:48","guid":{"rendered":"https:\/\/www.iotot.com\/?p=925"},"modified":"2022-06-14T10:57:48","modified_gmt":"2022-06-14T02:57:48","slug":"stm32f10x%e5%8d%95%e7%89%87%e6%9c%baflash%e5%86%99%e6%93%8d%e4%bd%9c%e5%af%bc%e8%87%b4%e4%b8%ad%e6%96%ad%e4%b8%8d%e5%93%8d%e5%ba%94%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"https:\/\/blog.iotot.com\/?p=925","title":{"rendered":"STM32F10x\u5355\u7247\u673aFlash\u5199\u64cd\u4f5c\u5bfc\u81f4\u4e2d\u65ad\u4e0d\u54cd\u5e94\u95ee\u9898"},"content":{"rendered":"<p>\u6628\u5929\u9047\u5230\u4e00\u4e2a\u95ee\u9898\uff0c\u5728\u5199\u5165\u6570\u636e\u5230STM32F103\u5355\u7247\u673a\u7684Flash\u4e2d\u65f6\u4f1a\u51fa\u73b0\u4e32\u53e3\u4e2d\u65ad\u63a5\u6536\u6570\u636e\u4e22\u5931\u73b0\u8c61\uff0c\u4f46\u662f\u6211\u8bbe\u7f6e\u7684\u4e32\u53e3\u63a5\u6536\u4e2d\u65ad\u4f18\u5148\u7ea7\u662f\u6700\u9ad8\u7684\uff0c\u5e76\u4e14\u6ca1\u6709\u54ea\u91cc\u5c06\u5168\u5c40\u4e2d\u65ad\u5173\u95ed\u5f88\u957f\u65f6\u95f4\uff08\u9664\u4e86\u64cd\u4f5c\u7cfb\u7edf\u90e8\u5206\u5185\u6838\u4ee3\u7801\u6267\u884c\u7684\u65f6\u5019\u5173\u95ed\u5168\u5c40\u4e2d\u65ad\uff0c\u4f46\u662f\u6ca1\u6709\u5360\u7528\u5f88\u957f\u65f6\u95f4\uff0c\u4e0d\u4f1a\u5bfc\u81f4\u4e22\u5931\u4e32\u53e3\u6570\u636e\uff09\u3002\u5728\u6b63\u5e38\u60c5\u51b5\u4e0b\u5728\u6ca1\u6709\u5199\u6570\u636e\u5230Flash\u4e2d\u53bb\u7684\u65f6\u5019\u6240\u6709\u4e32\u53e3\u6570\u636e\u90fd\u80fd\u6b63\u5e38\u63a5\u6536\uff0c\u6ca1\u6709\u6570\u636e\u4e22\u5305\u73b0\u8c61\uff0c\u4f46\u662f\u5f53\u6267\u884c\u4e00\u6b21\u5199\u5165\u64cd\u4f5c\uff08\u5199\u4e00\u4e2a\u9875256\u4e2a\u5b57\u7684\u6570\u636e\uff09\u5c31\u4f1a\u5bfc\u81f4\u4e32\u53e3\u6570\u636e\u4e22\u5931\uff0c\u5bfc\u81f4\u63a5\u6536\u5e27\u9519\u8bef\u3002<br \/>\n\u4e00\u5f00\u59cb\u6211\u731c\u6d4b\u662f\u4e0d\u662f\u5728\u64e6\u9664\u548c\u5199\u5165Flash\u7684\u65f6\u5019\u7cfb\u7edf\u4f1a\u5c4f\u853d\u6240\u6709\u4e2d\u65ad\uff0c\u4f46\u662f\u6ca1\u6709\u54ea\u4e2a\u53c2\u8003\u6587\u6863\u4e2d\u627e\u5230\u8fd9\u6837\u7684\u8bf4\u660e\u3002\u540e\u6765\u67e5\u9605\u4e86\u4e00\u4e0b\u5b98\u65b9\u6587\u6863PM0042\u300aSTM32F10xxx\u95ea\u5b58\u7f16\u7a0b\u624b\u518c.en\u300b\uff0c\u5728Page11\u4e2d\u6709\u4e00\u6bb5\u8bdd\u5f88\u91cd\u8981\uff1a<br \/>\nDuring a write operation to the Flash memory, any attempt to read the Flash memory will<br \/>\nstall the bus. The read operation will proceed correctly once the write operation has<br \/>\ncompleted. This means that code or data fetches cannot be made while a write\/erase<br \/>\noperation is ongoing.<br \/>\nFor write and erase operations on the Flash memory (write\/erase), the internal RC oscillator<br \/>\n(HSI) must be ON.<br \/>\nThe Flash memory can be programmed and erased using in-circuit programming and in-<br \/>\napplication programming.<\/p>\n<p>\u4e2d\u6587\u7ffb\u8bd1\u7b2c\u4e00\u6bb5\u8bdd\uff1a\u5728Flash\u5199\u5165\u64cd\u4f5c\u8fc7\u7a0b\u4e2d\uff0c\u4efb\u4f55\u8bd5\u56fe\u8bfb\u53d6Flash\u7684\u64cd\u4f5c\u90fd\u4f1a\u9501\u5b9a\u4f4f\u603b\u7ebf\uff0c\u5728\u5b8c\u6210Flash\u5199\u64cd\u4f5c\u4e4b\u540e\u8bfb\u53d6Flash\u64cd\u4f5c\u4f1a\u7ee7\u7eed\u6267\u884c\uff0c\u8fd9\u610f\u5473\u7740\u5199\u5165Flash\u671f\u95f4\u65e0\u6cd5\u8bbf\u95eeFlash\u4e2d\u7684\u4ee3\u7801\u548c\u6570\u636e\u3002<\/p>\n<p>\u8fd9\u6bb5\u8bdd\u8ba9\u4eba\u8305\u585e\u987f\u5f00\uff0c\u4e5f\u5c31\u662f\u5728\u5199\u5165\u6570\u636e\u5230Flash\u4e2d\u53bb\u7684\u65f6\u5019\u65e0\u6cd5\u8bfb\u53d6flash\u4e2d\u4fdd\u5b58\u7684\u4efb\u4f55\u6570\u636e\uff0c\u5305\u62ec\u4ee3\u7801\u548c\u5e38\u91cf\uff0c\u6240\u4ee5\u5f53\u5728\u5199\u5165flash\u6570\u636e\u7684\u65f6\u5019\u5982\u679c\u53d1\u751f\u4e86\u4e32\u53e3\u4e2d\u65ad\u7684\u8bdd\u7cfb\u7edf\u662f\u65e0\u6cd5\u6267\u884c\u4e2d\u65ad\u670d\u52a1\u4ee3\u7801\u7684\u3002\u5982\u679c\u957f\u65f6\u95f4\u65e0\u6cd5\u6267\u884c\u4e2d\u65ad\u670d\u52a1\u4ee3\u7801\u5c31\u4f1a\u5bfc\u81f4\u6570\u636e\u4e22\u5931\uff08\u5199\u5165\u4e00\u4e2a\u9875\u7684\u6570\u636e\u4f7f\u7528\u7684\u65f6\u957f\u592a\u957f\u4e86\uff09\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6628\u5929\u9047\u5230\u4e00\u4e2a\u95ee\u9898\uff0c\u5728\u5199\u5165\u6570\u636e\u5230STM32F103\u5355\u7247\u673a\u7684Flash\u4e2d\u65f6\u4f1a\u51fa\u73b0\u4e32\u53e3\u4e2d\u65ad\u63a5\u6536\u6570\u636e\u4e22\u5931\u73b0\u8c61\uff0c\u4f46\u662f\u6211\u8bbe [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.iotot.com\/index.php?rest_route=\/wp\/v2\/posts\/925"}],"collection":[{"href":"https:\/\/blog.iotot.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iotot.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iotot.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iotot.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=925"}],"version-history":[{"count":1,"href":"https:\/\/blog.iotot.com\/index.php?rest_route=\/wp\/v2\/posts\/925\/revisions"}],"predecessor-version":[{"id":926,"href":"https:\/\/blog.iotot.com\/index.php?rest_route=\/wp\/v2\/posts\/925\/revisions\/926"}],"wp:attachment":[{"href":"https:\/\/blog.iotot.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=925"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iotot.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=925"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iotot.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=925"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}