{"id":112931,"date":"2026-10-05T09:10:04","date_gmt":"2026-10-05T01:10:04","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/112931.html"},"modified":"2026-10-05T09:10:04","modified_gmt":"2026-10-05T01:10:04","slug":"%e3%80%90%e5%b5%8c%e5%85%a5%e5%bc%8f%e5%a4%96%e8%ae%be%e7%b2%be%e5%ad%a6%e3%80%91day17%ef%bd%9cflash%ef%bc%9a%e9%a1%b5%e6%93%a6%e5%86%99%e3%80%81%e5%8f%82%e6%95%b0%e4%bf%9d%e5%ad%98%e3%80%81%e6%8e%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/112931.html","title":{"rendered":"\u3010\u5d4c\u5165\u5f0f\u5916\u8bbe\u7cbe\u5b66\u3011Day17\uff5cFlash\uff1a\u9875\u64e6\u5199\u3001\u53c2\u6570\u4fdd\u5b58\u3001\u6389\u7535\u5b89\u5168"},"content":{"rendered":"<h2>\u3010\u5d4c\u5165\u5f0f\u5916\u8bbe\u7cbe\u5b66\u3011Day17&#xff5c;Flash&#xff1a;\u9875\u64e6\u5199\u3001\u53c2\u6570\u4fdd\u5b58\u3001\u6389\u7535\u5b89\u5168<\/h2>\n<p>\u4eca\u5929\u89e3\u51b3&#xff1a;\u4e3a\u4ec0\u4e48\u4e0d\u80fd\u50cf RAM \u968f\u4fbf\u5199&#xff1f;\u53c2\u6570\u600e\u6837\u5b58\u624d\u6297\u6389\u7535&#xff1f;<\/p>\n<hr \/>\n<h3>\u76ee\u5f55<\/h3>\n<li>\u95ee\u9898 2. \u539f\u7406 3. \u4ee3\u7801 4. \u8bef\u533a 5. \u81ea\u6d4b 6. \u7b54\u6848<\/li>\n<hr \/>\n<h3>1. \u95ee\u9898<\/h3>\n<ul>\n<li>\u5b58\u53c2\u6570\u5076\u53d1\u574f<\/li>\n<li>\u5199\u5f97\u5f88\u52e4\u540e\u6765\u6574\u7247\u53d8\u7816<\/li>\n<\/ul>\n<hr \/>\n<h3>2. \u539f\u7406<\/h3>\n<h4>2.1 \u64e6\u548c\u5199\u662f\u4e24\u56de\u4e8b<\/h4>\n<table>\n<tr>\u64cd\u4f5c\u7c92\u5ea6\u610f\u601d<\/tr>\n<tbody>\n<tr>\n<td>\u64e6<\/td>\n<td>\u9875\/\u6247\u533a<\/td>\n<td>\u6574\u5757\u53d8\u201c\u7a7a\u767d\u201d<\/td>\n<\/tr>\n<tr>\n<td>\u5199<\/td>\n<td>\u5b57\/\u534a\u5b57<\/td>\n<td>\u5f80\u7a7a\u767d\u91cc\u5199<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6539\u4e00\u4e2a\u5b57\u8282&#xff0c;\u5f80\u5f80\u4e5f\u8981\u5148\u64e6\u6574\u9875\u518d\u5199\u56de\u3002<\/p>\n<h4>2.2 \u5bff\u547d\u6709\u9650<\/h4>\n<p>\u6bcf\u5757\u80fd\u64e6\u5199\u7684\u6b21\u6570\u6709\u9650&#xff08;\u5e38\u89c1\u4e07\u7ea7\u5230\u5341\u4e07\u7ea7&#xff0c;\u770b\u5668\u4ef6&#xff09;\u3002 \u4e0d\u80fd\u6bcf 10ms \u5b58\u4e00\u6b21 PID\u3002<\/p>\n<h4>2.3 \u6389\u7535\u5b89\u5168&#xff08;\u53cc\u4efd A\/B&#xff09;<\/h4>\n<p>A \u9875 \/ B \u9875&#xff0c;\u90fd\u5e26\u201c\u5e8f\u53f7 &#043; \u6821\u9a8c\u201d<br \/>\n\u4fdd\u5b58&#xff1a;\u5199\u5230\u201c\u4e0d\u662f\u5f53\u524d\u6709\u6548\u201d\u7684\u90a3\u4e00\u4efd<br \/>\n\u4e0a\u7535&#xff1a;\u4e24\u4efd\u90fd\u8bfb&#xff0c;\u53d6\u6821\u9a8c\u8fc7\u4e14\u5e8f\u53f7\u5927\u7684<\/p>\n<p>\u8fd9\u6837\u5199\u5230\u4e00\u534a\u6389\u7535&#xff0c;\u65e7\u90a3\u4efd\u4ecd\u53ef\u7528\u3002<\/p>\n<hr \/>\n<h3>3. \u4ee3\u7801\u793a\u4f8b<\/h3>\n<p><span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;stdint.h&gt;<\/span><\/span><br \/>\n<span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;stdbool.h&gt;<\/span><\/span><br \/>\n<span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&lt;string.h&gt;<\/span><\/span><\/p>\n<p><span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">define<\/span> <span class=\"token macro-name\">MAGIC<\/span> <span class=\"token expression\"><span class=\"token number\">0x5041524Du<\/span><\/span><\/span><\/p>\n<p><span class=\"token keyword\">typedef<\/span> <span class=\"token keyword\">struct<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">float<\/span> kp<span class=\"token punctuation\">,<\/span> ki<span class=\"token punctuation\">,<\/span> kd<span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span> <span class=\"token class-name\">par_t<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token keyword\">typedef<\/span> <span class=\"token keyword\">struct<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token class-name\">uint32_t<\/span> magic<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token class-name\">uint16_t<\/span> ver<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token class-name\">uint16_t<\/span> seq<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token class-name\">par_t<\/span>    p<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token class-name\">uint32_t<\/span> crc<span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span> <span class=\"token class-name\">blob_t<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">\/* \u5e73\u53f0\u76f8\u5173&#xff1a;\u64e6\u9875\u3001\u5199\u3001\u8bfb\u3001CRC *\/<\/span><br \/>\n<span class=\"token keyword\">void<\/span> <span class=\"token function\">flash_erase_page<\/span><span class=\"token punctuation\">(<\/span><span class=\"token class-name\">uint32_t<\/span> page<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">void<\/span> <span class=\"token function\">flash_write<\/span><span class=\"token punctuation\">(<\/span><span class=\"token class-name\">uint32_t<\/span> addr<span class=\"token punctuation\">,<\/span> <span class=\"token keyword\">const<\/span> <span class=\"token keyword\">void<\/span> <span class=\"token operator\">*<\/span>d<span class=\"token punctuation\">,<\/span> <span class=\"token class-name\">uint32_t<\/span> n<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">void<\/span> <span class=\"token function\">flash_read<\/span><span class=\"token punctuation\">(<\/span><span class=\"token class-name\">uint32_t<\/span> addr<span class=\"token punctuation\">,<\/span> <span class=\"token keyword\">void<\/span> <span class=\"token operator\">*<\/span>d<span class=\"token punctuation\">,<\/span> <span class=\"token class-name\">uint32_t<\/span> n<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token class-name\">uint32_t<\/span> <span class=\"token function\">page_addr<\/span><span class=\"token punctuation\">(<\/span><span class=\"token class-name\">uint32_t<\/span> page<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token class-name\">uint32_t<\/span> <span class=\"token function\">crc32_calc<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">const<\/span> <span class=\"token class-name\">uint8_t<\/span> <span class=\"token operator\">*<\/span>d<span class=\"token punctuation\">,<\/span> <span class=\"token class-name\">uint32_t<\/span> n<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token keyword\">static<\/span> <span class=\"token keyword\">void<\/span> <span class=\"token function\">seal<\/span><span class=\"token punctuation\">(<\/span><span class=\"token class-name\">blob_t<\/span> <span class=\"token operator\">*<\/span>b<span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n    b<span class=\"token operator\">-&gt;<\/span>magic <span class=\"token operator\">&#061;<\/span> MAGIC<span class=\"token punctuation\">;<\/span><br \/>\n    b<span class=\"token operator\">-&gt;<\/span>crc   <span class=\"token operator\">&#061;<\/span> <span class=\"token function\">crc32_calc<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">const<\/span> <span class=\"token class-name\">uint8_t<\/span> <span class=\"token operator\">*<\/span><span class=\"token punctuation\">)<\/span>b<span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token class-name\">uint32_t<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">sizeof<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">*<\/span>b<span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#8211;<\/span> <span class=\"token number\">4u<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token keyword\">static<\/span> bool <span class=\"token function\">ok<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">const<\/span> <span class=\"token class-name\">blob_t<\/span> <span class=\"token operator\">*<\/span>b<span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> b<span class=\"token operator\">-&gt;<\/span>magic <span class=\"token operator\">&#061;&#061;<\/span> MAGIC <span class=\"token operator\">&amp;&amp;<\/span><br \/>\n           b<span class=\"token operator\">-&gt;<\/span>crc <span class=\"token operator\">&#061;&#061;<\/span> <span class=\"token function\">crc32_calc<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">const<\/span> <span class=\"token class-name\">uint8_t<\/span> <span class=\"token operator\">*<\/span><span class=\"token punctuation\">)<\/span>b<span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token class-name\">uint32_t<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">sizeof<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">*<\/span>b<span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#8211;<\/span> <span class=\"token number\">4u<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token keyword\">int<\/span> <span class=\"token function\">param_save<\/span><span class=\"token punctuation\">(<\/span><span class=\"token class-name\">uint16_t<\/span> <span class=\"token operator\">*<\/span>seq<span class=\"token punctuation\">,<\/span> <span class=\"token keyword\">const<\/span> <span class=\"token class-name\">par_t<\/span> <span class=\"token operator\">*<\/span>in<span class=\"token punctuation\">,<\/span> <span class=\"token class-name\">uint32_t<\/span> page<span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token class-name\">blob_t<\/span> b<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token function\">memset<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">&amp;<\/span>b<span class=\"token punctuation\">,<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token keyword\">sizeof<\/span><span class=\"token punctuation\">(<\/span>b<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    b<span class=\"token punctuation\">.<\/span>seq <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token class-name\">uint16_t<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">*<\/span>seq <span class=\"token operator\">&#043;<\/span> <span class=\"token number\">1u<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    b<span class=\"token punctuation\">.<\/span>p   <span class=\"token operator\">&#061;<\/span> <span class=\"token operator\">*<\/span>in<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token function\">seal<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">&amp;<\/span>b<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>    <span class=\"token function\">flash_erase_page<\/span><span class=\"token punctuation\">(<\/span>page<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token function\">flash_write<\/span><span class=\"token punctuation\">(<\/span><span class=\"token function\">page_addr<\/span><span class=\"token punctuation\">(<\/span>page<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token operator\">&amp;<\/span>b<span class=\"token punctuation\">,<\/span> <span class=\"token keyword\">sizeof<\/span><span class=\"token punctuation\">(<\/span>b<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token operator\">*<\/span>seq <span class=\"token operator\">&#061;<\/span> b<span class=\"token punctuation\">.<\/span>seq<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>bool <span class=\"token function\">param_load<\/span><span class=\"token punctuation\">(<\/span><span class=\"token class-name\">par_t<\/span> <span class=\"token operator\">*<\/span>out<span class=\"token punctuation\">,<\/span> <span class=\"token class-name\">uint16_t<\/span> <span class=\"token operator\">*<\/span>seq<span class=\"token punctuation\">,<\/span> <span class=\"token class-name\">uint32_t<\/span> page_a<span class=\"token punctuation\">,<\/span> <span class=\"token class-name\">uint32_t<\/span> page_b<span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token class-name\">blob_t<\/span> a<span class=\"token punctuation\">,<\/span> b<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token function\">flash_read<\/span><span class=\"token punctuation\">(<\/span><span class=\"token function\">page_addr<\/span><span class=\"token punctuation\">(<\/span>page_a<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token operator\">&amp;<\/span>a<span class=\"token punctuation\">,<\/span> <span class=\"token keyword\">sizeof<\/span><span class=\"token punctuation\">(<\/span>a<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token function\">flash_read<\/span><span class=\"token punctuation\">(<\/span><span class=\"token function\">page_addr<\/span><span class=\"token punctuation\">(<\/span>page_b<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token operator\">&amp;<\/span>b<span class=\"token punctuation\">,<\/span> <span class=\"token keyword\">sizeof<\/span><span class=\"token punctuation\">(<\/span>b<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>    <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token function\">ok<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">&amp;<\/span>a<span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token function\">ok<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">&amp;<\/span>b<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token keyword\">const<\/span> <span class=\"token class-name\">blob_t<\/span> <span class=\"token operator\">*<\/span>sel <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">(<\/span><span class=\"token class-name\">int16_t<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">(<\/span>a<span class=\"token punctuation\">.<\/span>seq <span class=\"token operator\">&#8211;<\/span> b<span class=\"token punctuation\">.<\/span>seq<span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&gt;<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">?<\/span> <span class=\"token operator\">&amp;<\/span>a <span class=\"token operator\">:<\/span> <span class=\"token operator\">&amp;<\/span>b<span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token operator\">*<\/span>out <span class=\"token operator\">&#061;<\/span> sel<span class=\"token operator\">-&gt;<\/span>p<span class=\"token punctuation\">;<\/span> <span class=\"token operator\">*<\/span>seq <span class=\"token operator\">&#061;<\/span> sel<span class=\"token operator\">-&gt;<\/span>seq<span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> true<span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token function\">ok<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">&amp;<\/span>a<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span> <span class=\"token operator\">*<\/span>out <span class=\"token operator\">&#061;<\/span> a<span class=\"token punctuation\">.<\/span>p<span class=\"token punctuation\">;<\/span> <span class=\"token operator\">*<\/span>seq <span class=\"token operator\">&#061;<\/span> a<span class=\"token punctuation\">.<\/span>seq<span class=\"token punctuation\">;<\/span> <span class=\"token keyword\">return<\/span> true<span class=\"token punctuation\">;<\/span> <span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token function\">ok<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">&amp;<\/span>b<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span> <span class=\"token operator\">*<\/span>out <span class=\"token operator\">&#061;<\/span> b<span class=\"token punctuation\">.<\/span>p<span class=\"token punctuation\">;<\/span> <span class=\"token operator\">*<\/span>seq <span class=\"token operator\">&#061;<\/span> b<span class=\"token punctuation\">.<\/span>seq<span class=\"token punctuation\">;<\/span> <span class=\"token keyword\">return<\/span> true<span class=\"token punctuation\">;<\/span> <span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> false<span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u4fdd\u5b58\u65f6\u673a&#xff1a;\u6309\u94ae\u201c\u4fdd\u5b58\u53c2\u6570\u201d\u3001\u5173\u673a\u524d\u3001\u6a21\u5f0f\u5207\u6362\u2014\u2014\u4e0d\u8981\u9ad8\u9891\u5b9a\u65f6\u5199\u3002<\/p>\n<hr \/>\n<h3>4. \u5e38\u89c1\u8bef\u533a<\/h3>\n<table>\n<tr>\u8bef\u533a\u6b63\u89e3<\/tr>\n<tbody>\n<tr>\n<td>Flash \u5f53 EEPROM \u968f\u4fbf\u6539<\/td>\n<td>\u8981\u64e6\u5199\u7b56\u7565\u548c\u5bff\u547d\u610f\u8bc6<\/td>\n<\/tr>\n<tr>\n<td>\u53ea\u5b58\u4e00\u4efd<\/td>\n<td>\u6389\u7535\u53ef\u80fd\u534a\u65b0\u534a\u65e7<\/td>\n<\/tr>\n<tr>\n<td>\u4e0d\u52a0\u6821\u9a8c<\/td>\n<td>\u574f\u6570\u636e\u5f53\u53c2\u6570\u7528<\/td>\n<\/tr>\n<tr>\n<td>\u8fd0\u884c\u4e2d\u9891\u7e41\u5199<\/td>\n<td>\u5bff\u547d\u548c\u6389\u7535\u98ce\u9669\u90fd\u5927<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>5. \u81ea\u6d4b<\/h3>\n<li>\u53cc\u4efd A\/B \u7684\u597d\u5904&#xff1f;<\/li>\n<li>\u4e3a\u4ec0\u4e48\u4e0d\u80fd\u6bcf\u5708\u90fd\u5b58 PID&#xff1f;<\/li>\n<hr \/>\n<h3>6. \u7b54\u6848<\/h3>\n<li>\u5199\u6302\u4e86\u8fd8\u6709\u65e7\u6709\u6548\u6570\u636e&#xff1b;\u53d6\u201c\u6821\u9a8c\u8fc7\u4e14\u66f4\u65b0\u201d\u7684\u90a3\u4efd\u3002<\/li>\n<li>\u5bff\u547d\u4e0d\u591f&#xff0c;\u4e14\u6389\u7535\u65f6\u5bb9\u6613\u5199\u574f&#xff1b;\u5e94\u5728\u660e\u786e\u201c\u4fdd\u5b58\u201d\u65f6\u523b\u5199\u3002<\/li>\n<hr \/>\n<p>\u4f5c\u8005&#xff1a;shuifanyu \u6807\u7b7e&#xff1a;Flash \u6389\u7535 \u53c2\u6570\u5b58\u50a8<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3010\u5d4c\u5165\u5f0f\u5916\u8bbe\u7cbe\u5b66\u3011Day17&#xff5c;Flash&#xff1a;\u9875\u64e6\u5199\u3001\u53c2\u6570\u4fdd\u5b58\u3001\u6389\u7535\u5b89\u5168 \u4eca\u5929\u89e3\u51b3&#xff1a;\u4e3a\u4ec0\u4e48\u4e0d\u80fd\u50cf RAM \u968f\u4fbf\u5199&#xff1f;\u53c2\u6570\u600e\u6837\u5b58\u624d\u6297\u6389\u7535&#xff1f; \u76ee\u5f55<br \/>\n\u95ee\u9898 2. \u539f\u7406 3. \u4ee3\u7801 4. \u8bef\u533a 5. \u81ea\u6d4b 6. \u7b54\u6848 1. \u95ee\u9898<br \/>\n\u5b58\u53c2\u6570\u5076\u53d1\u574f\u5199\u5f97\u5f88\u52e4\u540e\u6765\u6574\u7247\u53d8\u7816 2. \u539f\u7406<br \/>\n2.1 \u64e6\u548c\u5199\u662f\u4e24\u56de\u4e8b<br \/>\n\u64cd\u4f5c\u7c92\u5ea6\u610f\u601d\u64e6\u9875\/\u6247\u533a\u6574\u5757\u53d8\u201c\u7a7a\u767d\u201d\u5199\u5b57\/\u534a\u5b57\u5f80\u7a7a\u767d\u91cc\u5199<br \/>\n\u6539\u4e00\u4e2a\u5b57\u8282&#xff0c;\u5f80\u5f80\u4e5f\u8981\u5148\u64e6\u6574\u9875\u518d\u5199\u56de\u3002<br \/>\n2.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[11820,174,58,87,270,61],"topic":[],"class_list":["post-112931","post","type-post","status-publish","format-standard","hentry","category-server","tag-atomgit","tag-c","tag-linux","tag-87","tag-270","tag-61"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010\u5d4c\u5165\u5f0f\u5916\u8bbe\u7cbe\u5b66\u3011Day17\uff5cFlash\uff1a\u9875\u64e6\u5199\u3001\u53c2\u6570\u4fdd\u5b58\u3001\u6389\u7535\u5b89\u5168 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/112931.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010\u5d4c\u5165\u5f0f\u5916\u8bbe\u7cbe\u5b66\u3011Day17\uff5cFlash\uff1a\u9875\u64e6\u5199\u3001\u53c2\u6570\u4fdd\u5b58\u3001\u6389\u7535\u5b89\u5168 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u3010\u5d4c\u5165\u5f0f\u5916\u8bbe\u7cbe\u5b66\u3011Day17&#xff5c;Flash&#xff1a;\u9875\u64e6\u5199\u3001\u53c2\u6570\u4fdd\u5b58\u3001\u6389\u7535\u5b89\u5168 \u4eca\u5929\u89e3\u51b3&#xff1a;\u4e3a\u4ec0\u4e48\u4e0d\u80fd\u50cf RAM \u968f\u4fbf\u5199&#xff1f;\u53c2\u6570\u600e\u6837\u5b58\u624d\u6297\u6389\u7535&#xff1f; \u76ee\u5f55 \u95ee\u9898 2. \u539f\u7406 3. \u4ee3\u7801 4. \u8bef\u533a 5. \u81ea\u6d4b 6. \u7b54\u6848 1. \u95ee\u9898 \u5b58\u53c2\u6570\u5076\u53d1\u574f\u5199\u5f97\u5f88\u52e4\u540e\u6765\u6574\u7247\u53d8\u7816 2. \u539f\u7406 2.1 \u64e6\u548c\u5199\u662f\u4e24\u56de\u4e8b \u64cd\u4f5c\u7c92\u5ea6\u610f\u601d\u64e6\u9875\/\u6247\u533a\u6574\u5757\u53d8\u201c\u7a7a\u767d\u201d\u5199\u5b57\/\u534a\u5b57\u5f80\u7a7a\u767d\u91cc\u5199 \u6539\u4e00\u4e2a\u5b57\u8282&#xff0c;\u5f80\u5f80\u4e5f\u8981\u5148\u64e6\u6574\u9875\u518d\u5199\u56de\u3002 2.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/112931.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-05T01:10:04+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/112931.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/112931.html\",\"name\":\"\u3010\u5d4c\u5165\u5f0f\u5916\u8bbe\u7cbe\u5b66\u3011Day17\uff5cFlash\uff1a\u9875\u64e6\u5199\u3001\u53c2\u6570\u4fdd\u5b58\u3001\u6389\u7535\u5b89\u5168 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-05T01:10:04+00:00\",\"dateModified\":\"2026-10-05T01:10:04+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/112931.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/112931.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/112931.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010\u5d4c\u5165\u5f0f\u5916\u8bbe\u7cbe\u5b66\u3011Day17\uff5cFlash\uff1a\u9875\u64e6\u5199\u3001\u53c2\u6570\u4fdd\u5b58\u3001\u6389\u7535\u5b89\u5168\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010\u5d4c\u5165\u5f0f\u5916\u8bbe\u7cbe\u5b66\u3011Day17\uff5cFlash\uff1a\u9875\u64e6\u5199\u3001\u53c2\u6570\u4fdd\u5b58\u3001\u6389\u7535\u5b89\u5168 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/112931.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010\u5d4c\u5165\u5f0f\u5916\u8bbe\u7cbe\u5b66\u3011Day17\uff5cFlash\uff1a\u9875\u64e6\u5199\u3001\u53c2\u6570\u4fdd\u5b58\u3001\u6389\u7535\u5b89\u5168 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u3010\u5d4c\u5165\u5f0f\u5916\u8bbe\u7cbe\u5b66\u3011Day17&#xff5c;Flash&#xff1a;\u9875\u64e6\u5199\u3001\u53c2\u6570\u4fdd\u5b58\u3001\u6389\u7535\u5b89\u5168 \u4eca\u5929\u89e3\u51b3&#xff1a;\u4e3a\u4ec0\u4e48\u4e0d\u80fd\u50cf RAM \u968f\u4fbf\u5199&#xff1f;\u53c2\u6570\u600e\u6837\u5b58\u624d\u6297\u6389\u7535&#xff1f; \u76ee\u5f55 \u95ee\u9898 2. \u539f\u7406 3. \u4ee3\u7801 4. \u8bef\u533a 5. \u81ea\u6d4b 6. \u7b54\u6848 1. \u95ee\u9898 \u5b58\u53c2\u6570\u5076\u53d1\u574f\u5199\u5f97\u5f88\u52e4\u540e\u6765\u6574\u7247\u53d8\u7816 2. \u539f\u7406 2.1 \u64e6\u548c\u5199\u662f\u4e24\u56de\u4e8b \u64cd\u4f5c\u7c92\u5ea6\u610f\u601d\u64e6\u9875\/\u6247\u533a\u6574\u5757\u53d8\u201c\u7a7a\u767d\u201d\u5199\u5b57\/\u534a\u5b57\u5f80\u7a7a\u767d\u91cc\u5199 \u6539\u4e00\u4e2a\u5b57\u8282&#xff0c;\u5f80\u5f80\u4e5f\u8981\u5148\u64e6\u6574\u9875\u518d\u5199\u56de\u3002 2.","og_url":"https:\/\/www.wsisp.com\/helps\/112931.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-05T01:10:04+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/112931.html","url":"https:\/\/www.wsisp.com\/helps\/112931.html","name":"\u3010\u5d4c\u5165\u5f0f\u5916\u8bbe\u7cbe\u5b66\u3011Day17\uff5cFlash\uff1a\u9875\u64e6\u5199\u3001\u53c2\u6570\u4fdd\u5b58\u3001\u6389\u7535\u5b89\u5168 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-05T01:10:04+00:00","dateModified":"2026-10-05T01:10:04+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/112931.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/112931.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/112931.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010\u5d4c\u5165\u5f0f\u5916\u8bbe\u7cbe\u5b66\u3011Day17\uff5cFlash\uff1a\u9875\u64e6\u5199\u3001\u53c2\u6570\u4fdd\u5b58\u3001\u6389\u7535\u5b89\u5168"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/112931","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=112931"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/112931\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=112931"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=112931"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=112931"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=112931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}