{"id":4107,"date":"2013-03-31T16:06:47","date_gmt":"2013-03-31T08:06:47","guid":{"rendered":"http:\/\/blog.dword1511.info\/?p=4107"},"modified":"2013-03-31T16:06:47","modified_gmt":"2013-03-31T08:06:47","slug":"linux-%e4%b8%8b%e7%a6%bb%e7%ba%bf%e7%83%a7%e5%86%99-spi-%e9%97%aa%e5%ad%98","status":"publish","type":"post","link":"http:\/\/blog.dword1511.info\/?p=4107","title":{"rendered":"Linux \u4e0b\u79bb\u7ebf\u70e7\u5199 SPI \u95ea\u5b58"},"content":{"rendered":"<p>\u624b\u4e0a\u7684\u5d4c\u5165\u5f0f\u8bbe\u5907\u4e00\u591a\uff0c\u5c24\u5176\u662f\u8def\u7531\u5668\u4e00\u591a\uff0c\u5c31\u4f1a\u53d1\u73b0\u65f6\u4e0d\u65f6\u7684\u8981\u7528\u5230 SPI Flash \u7f16\u7a0b\u5668\u3002\u7136\u800c\uff0c\u5e02\u552e\u7684 SPI NOR Flash \u7f16\u7a0b\u5668\u867d\u7136\u4ef7\u683c\u5df2\u7ecf\u975e\u5e38\u4fbf\u5b9c\uff0c\u4f46\u662f\u901f\u5ea6\u4e0d\u7b97\u7ed9\u529b\uff0c\u800c\u4e14\u90fd\u662f\u57fa\u4e8e\u79c1\u6709\u534f\u8bae\u7684\uff0c\u5b8c\u5168\u4e0d\u80fd\u5728 Linux \u4e0b\u7528\u3002\u867d\u7136\u53ef\u4ee5\u5f00\u865a\u62df\u673a\uff0c\u4f46\u662f\u54b1\u8fd8\u662f\u5e0c\u671b\u65b9\u4fbf\u70b9\uff0c\u4e0d\u662f\u5417\uff1f<\/p>\n<p>\u597d\u5728\u540e\u6765\u65e0\u610f\u4e2d\u53d1\u73b0\u4e86 coreboot \uff08\u539f LinuxBIOS \uff09\u9879\u76ee\u5f00\u53d1\u7684 flashrom \u5de5\u5177\u5c45\u7136\u5e26\u6709\u79bb\u7ebf\u7f16\u7a0b\u529f\u80fd\uff0c\u9664\u4e86\u652f\u6301\u4e00\u7968\u6bd4\u8f83\u8d35\u7684\u4e13\u7528\u7f16\u7a0b\u5668\/\u57fa\u4e8e FTDIxxxxH \u7684\u7f16\u7a0b\u5668\u5916\uff0c\u8fd8\u652f\u6301\u4e00\u79cd\u53eb\u505a serprog \u7684\u534f\u8bae\uff0c\u53ef\u4ee5\u901a\u8fc7\u4e32\u53e3\u64cd\u4f5c\u5355\u7247\u673a\u6765\u7ed9 SPI \u95ea\u5b58\u7f16\u7a0b\u3002\u8fd9\u6837\u4e00\u6765\u5c31\u65b9\u4fbf\u4e86\u3002flashrom \u7684 wiki \u91cc\u7ed9\u4e86<a href=\"http:\/\/www.flashrom.org\/Serprog#Arduino_flasher_by_GNUtoo\" target=\"_blank\">\u57fa\u4e8e Arduino \u7684 serprog \u7684\u56fa\u4ef6\u6e90\u7801<\/a>\uff0c\u5176\u5b9e\u5c31\u662f\u4e3a ATMEGA \u7cfb\u5217 AVR \u5355\u7247\u673a\u8bbe\u8ba1\u7684\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u65e2\u7136\u624b\u5934\u6709\u7247 ATMEGA8L \uff0c\u90a3\u4e48\u5c31\u5f00\u59cb\u5427\u3002\u9996\u5148\u5e03\u4e0b\u677f\u5b50\u3002\u7535\u8def\u5f88\u7b80\u5355\u3002<\/p>\n<p><a href=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/main.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-4118\" alt=\"main\" src=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/main-400x300.png\" width=\"400\" height=\"300\" srcset=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/main-400x300.png 400w, http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/main-1024x768.png 1024w, http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/main.png 1600w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>\u7531\u4e8e ATMEGA8L \u4f3c\u4e4e\u6709\u9891\u7387\u4e0a\u7684\u9650\u5236\uff0c\u8fd9\u91cc\u7528\u4e86 12MHz \u7684\u6676\u4f53\u3002\u5b9e\u9645\u4e0a\u6709 ATMEGA88A \u7684\u8bdd\u53ef\u4ee5\u7528 16MHz \u7684\u6676\u4f53\u3002<\/p>\n<p><a href=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120707.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-4108\" alt=\"P1120707\" src=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120707-400x300.jpg\" width=\"400\" height=\"300\" srcset=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120707-400x300.jpg 400w, http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120707-1024x768.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>\u5728\u9762\u5305\u677f\u4e0a\u6d4b\u8bd5\u6210\u529f\u3002<\/p>\n<p><a href=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120726.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-4109\" alt=\"P1120726\" src=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120726-400x300.jpg\" width=\"400\" height=\"300\" srcset=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120726-400x300.jpg 400w, http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120726-1024x768.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>\u56fa\u5316\u5230\u4e07\u7528\u677f\u4e0a\u3002\u987a\u4fbf\u5410\u4e2a\u69fd\uff0c\u53cc\u9762\u4e07\u7528\u677f\u771f\u662f\u95f9\u773c\u5b50\u554a\uff0c\u6b63\u9762\u80cc\u9762\u90fd\u88ab\u8fc7\u5b54\u8fde\u5728\u4e00\u8d77\u4e86\u8fd8\u80fd\u53eb\u53cc\u9762\u4e48\uff1f\uff01<\/p>\n<p>\u7528\u6cd5\u4e5f\u5f88\u7b80\u5355\uff0c\u9996\u5148\u4f60\u7684\u673a\u5668\u4e0a\u8981\u5b89\u88c5\u6709 flashrom \u3002Ubuntu \u7684\u8f6f\u4ef6\u5e93\u91cc\u81ea\u5e26\u4e86\uff1a<\/p>\n<pre class=\"brush: bash; title: \u4ee3\u7801; notranslate\" title=\"\u4ee3\u7801\">\r\nsudo apt-get install flashrom\r\n<\/pre>\n<p>\u4f46\u662f\u5b98\u65b9 SVN \u4ed3\u5e93\u91cc\u7684\u7248\u672c\u66f4\u65b0\u4e00\u4e9b\uff0c\u800c\u4e14\u652f\u6301 serprog \u7684 spispeed \u9009\u9879\u3002\u4e0d\u6015\u9ebb\u70e6\u7684\u6700\u597d\u81ea\u5df1\u7f16\u8bd1\u4e00\u4e0b\uff1a<\/p>\n<pre class=\"brush: bash; title: \u4ee3\u7801; notranslate\" title=\"\u4ee3\u7801\">\r\nsvn co svn:\/\/flashrom.org\/flashrom\/trunk flashrom\r\ncd flashrom\r\nmake\r\nsudo make install\r\n<\/pre>\n<p>\u8fde\u63a5\u4e00\u4e2a USB to UART bridge \uff0c\u88c5\u4e0a SPI \u95ea\u5b58\uff0c\u63a5\u4e0a\u7535\u8111\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre class=\"brush: bash; title: \u4ee3\u7801; notranslate\" title=\"\u4ee3\u7801\">\r\nflashrom -p serprog:dev=\/dev\/ttyUSB0:2000000 -r somefile.bin\r\nflashrom -p serprog:dev=\/dev\/ttyUSB0:2000000 -E\r\nflashrom -p serprog:dev=\/dev\/ttyUSB0:2000000 -w somefile.bin\r\n<\/pre>\n<p>\u5373\u53ef\u8bfb\/\u64e6\/\u5199 SPI Flash \u3002\u5199\u5165\u7684\u65f6\u5019\u4f1a\u81ea\u52a8\u67e5\u7a7a\u3001\u64e6\u9664\u3001\u5199\u5165\u548c\u6821\u9a8c\u3002<\/p>\n<p>\u5f53\u7136\uff0c\u5c31\u50cf wiki \u91cc\u8bf4\u7684\u90a3\u6837\uff0c\u8fd9\u4e2a\u7b80\u964b\u7684\u7f16\u7a0b\u5668\u4e5f\u6709\u8bf8\u591a\u95ee\u9898\uff1a<\/p>\n<ul>\n<li><span style=\"line-height: 13px;\">AVR \u7684 5V \u5de5\u4f5c\u7535\u538b\u5bfc\u81f4\u5176 IO \u7535\u5e73\u548c 3.3V \u7684\u95ea\u5b58\u4e0d\u517c\u5bb9\uff1b<\/span><\/li>\n<li>\u901f\u5ea6\u6162\uff08 UART \u53ea\u6709 2Mbps \uff0c\u6700\u5feb 250KB\/s \uff09\uff1b<\/li>\n<li>\u8bf8\u591a\u6d89\u53ca\u5230 UART \u7684\u9ebb\u70e6\uff0c\u5982\u6ce2\u7279\u7387\u3001\u8f6c\u6362\u5668\u548c\u8fde\u63a5\u7b49\u3002<\/li>\n<\/ul>\n<p>\u8003\u8651\u5230\u624b\u5934\u4e0a\u7684 STM32F103C8T6 \u6838\u5fc3\u677f\u4e5f\u662f\u4e2a\u95f2\u5f97\u6ca1\u4e8b\u5e72\u7684\u4fbf\u5b9c\u8d27\uff0c\u800c\u4e14\u8fd8\u5e26\u4e86\u786c\u4ef6 USB2.0 FullSpeed \u63a5\u53e3\uff0c\u800c\u4e14 ST \u8fd8\u6709 USB \u865a\u62df\u4e32\u53e3\u7684\u4f8b\u7a0b\uff0c\u4e0d\u5982\u62c9\u51fa\u6765\u6e9c\u6e9c\u5e72\u70b9\u6d3b\u3002<\/p>\n<p>STM32F103R8T6 \u6709\u4ee5\u4e0b\u4f18\u70b9\uff1a<\/p>\n<ul>\n<li>\u662f\u6700\u5bb9\u6613\u4e70\u5230\u7684 STM32F103 \u7cfb\u5217\u91cc\u6700\u5c0f\u7684\u4e00\u6b3e\uff0c\u800c\u4e14\u4e5f\u6700\u4fbf\u5b9c\uff1b<\/li>\n<li><span style=\"line-height: 13px;\">\u6700\u9ad8 36MHz \u7684 SPI \u63a5\u53e3\uff1b<\/span><\/li>\n<li>\u591a\u901a\u9053 DMA \u5f15\u64ce\uff1b<\/li>\n<li>\u786c\u4ef6 USB 2.0 FullSpeed \u63a7\u5236\u5668\uff1b<\/li>\n<li>\u7247\u4e0a 20KB RAM \u548c 128KB Flash \uff0c\u8db3\u591f\u5b9e\u73b0\u865a\u62df\u4e32\u53e3\u6a21\u62df\uff1b<\/li>\n<li>\u6709\u865a\u62df\u4e32\u53e3\u6a21\u62df\u5c31\u610f\u5473\u7740\u4e0d\u9700\u8981\u786c\u4ef6 UART \uff0c\u4e0d\u9700\u8981\u8f6c\u6362\u5668\uff0c\u4e0d\u9700\u8981\u675c\u90a6\u7ebf\uff0c\u4e0d\u9700\u8981\u8bbe\u7f6e\u6ce2\u7279\u7387\uff0c\u4e0d\u4f1a\u88ab UART \u6390\u4f4f\u901f\u5ea6\u548c\u7a33\u5b9a\u6027\uff1b<\/li>\n<li>90DMIPS \u7684\u8fd0\u7b97\u901f\u5ea6\u662f\u7f16\u7a0b\u5668\u6027\u80fd\u7684\u6709\u529b\u4fdd\u8bc1\uff1b<\/li>\n<li>\u7eaf\u5929\u7136\u7684 3.3V I\/O \uff0c\u548c SPI Flash \u7684\u7535\u6c14\u517c\u5bb9\u6027\u597d\u3002<\/li>\n<\/ul>\n<p>\u7ecf\u8fc7\u4e00\u4e2a\u661f\u671f\u7684\u6298\u817e\uff0c\u6211\u7ec8\u4e8e\u5f97\u5230\u4e86\u57fa\u4e8e STM32 \u7684 serprog \u7684<a href=\"http:\/\/dword1511.info\/dword\/serprog-stm32vcp\/serprog-stm32vcp-20130328.tar.gz\" target=\"_blank\">\u7b2c\u4e00\u4e2a\u53ef\u7528\u7248\u672c<\/a>\u3002\u6211\u628a\u5b83\u53eb\u4f5c serprog-stm32vcp \u3002\u8fd9\u65f6\u5b83\u53ea\u6709 200KB\/s \u5230 300KB\/s \u7684\u8bfb\u53d6\u901f\u5ea6\u3002<\/p>\n<p><a href=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120840.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-4110\" alt=\"P1120840\" src=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120840-400x300.jpg\" width=\"400\" height=\"300\" srcset=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120840-400x300.jpg 400w, http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120840-1024x768.jpg 1024w, http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120840.jpg 1440w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>\u6700\u521d\u7684\u786c\u4ef6\u662f\u7528\u4e00\u5757\u5e26 USB \u7684\u6838\u5fc3\u677f\u914d\u5408\u9762\u5305\u677f\u5b8c\u6210\u7684\u3002\u6838\u5fc3\u677f\u662f\u6dd8\u5b9d\u4e0a\u4e70\u7684\uff0c\u56de\u6d41\u710a\u63a5\u7684\uff0c\u4ef7\u683c\u4e0d\u5230 \uffe530 \u3002<\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u6211\u505a\u4e86\u4e00\u7cfb\u5217\u4f18\u5316\uff0c\u5305\u62ec\u5c3d\u91cf\u6210\u5757\u5730\u4f20\u9001\u6570\u636e\uff0c\u63d0\u4f9b SPI \u65f6\u949f\u8bbe\u5b9a\u4ee5\u4fbf\u66f4\u5feb\u5730\u64cd\u4f5c\u95ea\u5b58\uff0c\u4f7f\u4ee3\u7801\u5728 SRAM \u4e2d\u6267\u884c\u4ee5\u907f\u514d\u7247\u4e0a Flash \u7684\u7b49\u5f85\u9020\u6210\u6027\u80fd\u4e0a\u7684\u5f71\u54cd\u7b49\u7b49\u3002\u6b64\u65f6 serprog-stm32vcp \u7684\u8bfb\u53d6\u901f\u5ea6\u5df2\u7ecf\u6709 500KB\/s \u5de6\u53f3\u4e86\u3002\u540e\u6765\u6211\u5c31\u60f3\uff0c\u65e2\u7136 STM32 \u5e26\u4e86 DMA \u5f15\u64ce\uff0c\u4f55\u5fc5\u4e0d\u5229\u7528\u4e00\u4e0b\u5462\uff1f\u53ea\u53ef\u60dc\u7f51\u4e0a\u627e\u7684 DMA \u4f8b\u5b50\u90fd\u6781\u5177\u8bef\u5bfc\u6027\uff0c\u6298\u817e\u4e86\u4e00\u6574\u5929\u603b\u7b97\u641e\u5b9a\u4e86\uff0c\u4e8e\u662f\u6709\u4e86<a href=\"http:\/\/dword1511.info\/dword\/serprog-stm32vcp\/serprog-stm32vcp-20130331.tar.gz\" target=\"_blank\">\u7b2c\u4e8c\u4e2a\u7248\u672c\u7684 serprog-stm32vcp \u56fa\u4ef6<\/a>\u3002\u6b64\u65f6 serprog-stm32vcp \u7684\u8bfb\u53d6\u5df2\u7ecf\u9ad8\u8fbe 850KB\/s \uff0c\u63a5\u8fd1 USB2.0 FullSpeed \u7684\u6781\u9650\u4e86\uff08 12Mbps \uff09\u3002<\/p>\n<p><a href=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1130038.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-4111\" alt=\"P1130038\" src=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1130038-400x300.jpg\" width=\"400\" height=\"300\" srcset=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1130038-400x300.jpg 400w, http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1130038-1024x768.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>\u968f\u540e\uff0c\u6709\u4e86\u4e00\u4e2a\u56fa\u5316\u7684\u7248\u672c\u3002\u8fd9\u4e2a\u677f\u5b50\u4e5f\u662f\u6dd8\u5b9d\u4e0a\u4e70\u7684\uff0c\u4e5f\u662f\u56de\u6d41\u710a\u63a5\u7684\uff0c\u53ef\u80fd\u662f\u6700\u6709\u7528\u7684 STM32 \u6838\u5fc3\u677f\u4e86\u5427\uff0c\u4ef7\u683c \uffe535 \u3002<\/p>\n<p><a href=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1130040.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-4112\" alt=\"P1130040\" src=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1130040-400x300.jpg\" width=\"400\" height=\"300\" srcset=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1130040-400x300.jpg 400w, http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1130040-1024x768.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>\u4ee5\u53ca\u2026\u2026\u4e00\u4e9b\u5bf9\u4ed8\u8d34\u7247\u82af\u7247\u7684\u4e13\u4e1a\u597d\u5e2e\u624b\u2014\u2014\u5f39\u8df3\u5ea7\u3002<\/p>\n<p>\u6211\u89c9\u5f97\u5f00\u4e2a\u4e13\u4e1a\u4fee\u7816\u5934\u7684\u5e97\u95ee\u9898\u4e0d\u5927\u4e86\u3002<\/p>\n<p>\u5077\u61d2\u7684\u540c\u5b66\uff0c<a href=\"http:\/\/dword1511.info\/dword\/serprog-stm32vcp\/prebuilt\/\" target=\"_blank\">\u8fd9\u91cc<\/a>\u6709\u7f16\u8bd1\u597d\u7684\u56fa\u4ef6\uff0c\u4ee5\u53ca<a href=\"https:\/\/github.com\/dword1511\/serprog-stm32vcp\" target=\"_blank\"> github \u4e0a\u7684\u4ed3\u5e93<\/a>\u3002<\/p>\n<p>\u7528\u6cd5\u5f88\u7b80\u5355\uff0c\u548c\u57fa\u4e8e AVR \u7684 serprog \u57fa\u672c\u76f8\u540c\uff0c\u53ea\u4e0d\u8fc7\u5728\u6700\u65b0\u7684 flashrom \u91cc\u53ef\u4ee5\u52a0\u4e0a spispeed \u53c2\u6570\uff1a<\/p>\n<pre class=\"brush: bash; title: \u4ee3\u7801; notranslate\" title=\"\u4ee3\u7801\">\r\nflashrom -p serprog:dev=\/dev\/ttyACM0:4000000,spispeed=36000000 -r somefile.bin\r\nflashrom -p serprog:dev=\/dev\/ttyACM0:4000000,spispeed=36000000 -E\r\nflashrom -p serprog:dev=\/dev\/ttyACM0:4000000,spispeed=36000000 -w somefile.bin\r\n<\/pre>\n<p>ttyACM0 \u540e\u9762\u7684 4000000 \u662f\u6ce2\u7279\u7387\uff0c\u56e0\u4e3a\u8fd9\u4e2a\u7f16\u7a0b\u5668\u5e76\u6ca1\u6709\u7528\u5230\u4efb\u4f55\u7269\u7406\u4e0a\u7684 UART \u6240\u4ee5\u53ef\u4ee5\u968f\u4fbf\u586b\uff0c\u53ea\u8981\u4f60\u7684\u7cfb\u7edf\u5141\u8bb8\u65e2\u53ef\uff0c\u4e0d\u4f1a\u5f71\u54cd\u901f\u5ea6\u3002\u5f71\u54cd\u901f\u5ea6\u7684\u662f\u540e\u9762\u7684 spispeed \u53c2\u6570\u3002<\/p>\n<p>\u6700\u540e\u7ed9\u70b9\u6027\u80fd\u6d4b\u8bd5\u7684\u7ed3\u679c\uff1a<\/p>\n<table>\n<tbody>\n<tr>\n<th>\u95ea\u5b58\u578b\u53f7<\/th>\n<th>\u95ea\u5b58\u5bb9\u91cf<\/th>\n<th>\u8bfb\u53d6\u901f\u5ea6<\/th>\n<th>\u5199\u5165\u901f\u5ea6<\/th>\n<th>\u64e6\u9664\u65f6\u95f4<\/th>\n<th>CH341A \u53c2\u8003\u901f\u5ea6<\/th>\n<\/tr>\n<tr>\n<td>EN25F16<\/td>\n<td>2048 KiB<\/td>\n<td>855.5 KiB\/s<\/td>\n<td>118.2 KiB\/s<\/td>\n<td>20.4 \u79d2<\/td>\n<td>&#8211;<\/td>\n<\/tr>\n<tr>\n<td>MX25L3205D<\/td>\n<td>4096 KiB<\/td>\n<td>795.3 KiB\/s<\/td>\n<td>136.2 KiB\/s<\/td>\n<td>62.2 \u79d2<\/td>\n<td>117.0 KiB\/s<\/td>\n<\/tr>\n<tr>\n<td>MX25L6445E<\/td>\n<td>8192 KiB<\/td>\n<td>803.3 KiB\/s<\/td>\n<td>144.6 KiB\/s<\/td>\n<td>93.9 \u79d2<\/td>\n<td>117.0 KiB\/s<\/td>\n<\/tr>\n<tr>\n<td>MX25L12845E<\/td>\n<td>16384 KiB<\/td>\n<td>797.7 KiB\/s<\/td>\n<td>146.8 KiB\/s<\/td>\n<td>224.7 \u79d2<\/td>\n<td>18.2 KiB\/s<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6ce8\uff1aCH341A \u7684\u53c2\u8003\u901f\u5ea6\u4e3a\u7ecf\u9500\u5546\u6216\u7f51\u53cb\u7ed9\u51fa\uff0c\u672a\u6ce8\u660e\u8bfb\u53d6\u6216\u5199\u5165\uff0c\u4f46\u662f\u6839\u636e\u4f7f\u7528\u7ecf\u9a8c\u6765\u8bf4\u5e94\u8be5\u662f\u8bfb\u53d6\u3002flashrom \u5bf9 MX25L12845E \u7684\u652f\u6301\u72b6\u6001\u4e3a\u201c UNTESTED \u201d\u3002<\/p>\n<p>\u4eca\u540e\u7684\u901f\u5ea6\u6d4b\u8bd5\u4f1a\u5728\u4ed3\u5e93\u91cc\u7684<a href=\"https:\/\/github.com\/dword1511\/serprog-stm32vcp\/blob\/master\/PERFORMANCE\" target=\"_blank\"> <em>PERFORMANCE<\/em> <\/a>\u6587\u4ef6\u91cc\u66f4\u65b0\u3002<\/p>\n<hr \/>\n<p>\u9644\uff1a\u67d0\u79cd CH341A \u7f16\u7a0b\u5668\u7684\u7167\u7247<\/p>\n<p><a href=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120845.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-4114\" alt=\"P1120845\" src=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120845-400x300.jpg\" width=\"400\" height=\"300\" srcset=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120845-400x300.jpg 400w, http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120845-1024x768.jpg 1024w, http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120845.jpg 2048w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120844.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-4113\" alt=\"P1120844\" src=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120844-400x300.jpg\" width=\"400\" height=\"300\" srcset=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120844-400x300.jpg 400w, http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120844-1024x768.jpg 1024w, http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120844.jpg 2048w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120846.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-4115\" alt=\"P1120846\" src=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120846-400x300.jpg\" width=\"400\" height=\"300\" srcset=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120846-400x300.jpg 400w, http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120846-1024x768.jpg 1024w, http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120846.jpg 1440w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120847.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-4116\" alt=\"P1120847\" src=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120847-400x300.jpg\" width=\"400\" height=\"300\" srcset=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120847-400x300.jpg 400w, http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120847-1024x768.jpg 1024w, http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120847.jpg 1440w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120848.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-4117\" alt=\"P1120848\" src=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120848-400x300.jpg\" width=\"400\" height=\"300\" srcset=\"http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120848-400x300.jpg 400w, http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120848-1024x768.jpg 1024w, http:\/\/blog.dword1511.info\/wp-uploads\/2013\/03\/P1120848.jpg 2048w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>\u987a\u4fbf\u62c6\u4e86\u9501\u7d27\u5ea7\uff0c\u770b\u770b\u91cc\u9762\u5565\u7ed3\u6784\u3002\u9501\u7d27\u5ea7\u8fd9\u4e2a\u4e1c\u897f\u8fd8\u771f\u662f\u9e21\u808b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u624b\u4e0a\u7684\u5d4c\u5165\u5f0f\u8bbe\u5907\u4e00\u591a\uff0c\u5c24\u5176\u662f\u8def\u7531\u5668\u4e00\u591a\uff0c\u5c31\u4f1a\u53d1\u73b0\u65f6\u4e0d\u65f6\u7684\u8981\u7528\u5230 SPI Flash \u7f16\u7a0b\u5668\u3002\u7136\u800c\uff0c\u5e02\u552e\u7684 SP &hellip; <a href=\"http:\/\/blog.dword1511.info\/?p=4107\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">Linux \u4e0b\u79bb\u7ebf\u70e7\u5199 SPI \u95ea\u5b58<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[14,8,11,9],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.dword1511.info\/index.php?rest_route=\/wp\/v2\/posts\/4107"}],"collection":[{"href":"http:\/\/blog.dword1511.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.dword1511.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.dword1511.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.dword1511.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4107"}],"version-history":[{"count":5,"href":"http:\/\/blog.dword1511.info\/index.php?rest_route=\/wp\/v2\/posts\/4107\/revisions"}],"predecessor-version":[{"id":4123,"href":"http:\/\/blog.dword1511.info\/index.php?rest_route=\/wp\/v2\/posts\/4107\/revisions\/4123"}],"wp:attachment":[{"href":"http:\/\/blog.dword1511.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.dword1511.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4107"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.dword1511.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}