{"id":94,"date":"2026-12-06T10:56:27","date_gmt":"2026-12-06T02:56:27","guid":{"rendered":"https:\/\/wp.xybcm.cn\/?p=94"},"modified":"2026-12-06T11:38:09","modified_gmt":"2026-12-06T03:38:09","slug":"da14585-esl-panel-android-windows","status":"publish","type":"post","link":"https:\/\/wp.xybcm.cn\/?p=94","title":{"rendered":"DA14585 \u7535\u5b50\u4ef7\u7b7e\u6539\u526f\u5c4f\uff5c\u56fa\u4ef6\u3001\u5b89\u5353\u6295\u5c4f\u548c Windows \u76d1\u63a7"},"content":{"rendered":"<p>\u677f\u7aef\u56fa\u4ef6\u4e0e\u5b89\u5353\u4e0a\u4f4d\u673a\u5df2\u5f00\u6e90\uff1a<a href=\"https:\/\/github.com\/Huang22333\/esl-panel-da14585\" rel=\"nofollow\">esl-panel-da14585<\/a>\uff08Apache-2.0\uff09\u3001<a href=\"https:\/\/github.com\/Huang22333\/esl-panel-android\" rel=\"nofollow\">esl-panel-android<\/a>\u3002<\/p>\n<p>\u8fd9\u5757\u526f\u5c4f\u7684\u786c\u4ef6\u662f\u4e8c\u624b\u7535\u5b50\u4ef7\u7b7e\u677f <strong>HX-ET0240BNID-B-V1.0<\/strong>\uff08\u4e1d\u5370\u65e5\u671f 20191125\uff09\uff0c\u4e3b\u63a7 Dialog <strong>DA14585<\/strong>\uff0c\u5c4f\u5e55 <strong>ST7789 320\u00d7240<\/strong>\uff0c4 \u7ebf SPI\u3002\u76ee\u6807\u662f\u628a\u5b83\u6539\u6210 NAS \u7684\u76d1\u63a7\u5c4f\uff0c\u66ff\u6362\u539f\u6765\u90a3\u5757 0.96 \u5bf8\u7684 MSU2_MINI\u3002<\/p>\n<p>\u5148\u8bf4\u6e05\u695a\u4e24\u4ef6\u4e8b\uff0c\u56e0\u4e3a\u5b83\u4eec\u51b3\u5b9a\u4e86\u6574\u4e2a\u65b9\u6848\u7684\u5f62\u72b6\uff1a<strong>DA14585 \u7684 RAM \u53ea\u6709 96 KB\uff0c\u800c\u4e00\u5e27 240\u00d7320\u00d716 bit = 150 KB<\/strong>\u2014\u2014\u5e27\u7f13\u51b2\u7269\u7406\u4e0a\u585e\u4e0d\u8fdb\u53bb\uff0c\u6240\u4ee5\u5fc5\u987b\u4e0a\u4f4d\u673a\u6e32\u67d3 + \u6d41\u5f0f\u5199\u5c4f + \u5c40\u90e8\u5237\u65b0\u3002<strong>\u53e6\u5916\u5b83\u53ea\u6709 BLE\uff0c\u6ca1\u6709\u7ecf\u5178\u84dd\u7259<\/strong>\uff0c\u6240\u4ee5\u300cLinux \u4fa7\u8d70 SPP \/ <code>\/dev\/rfcomm0<\/code>\u300d\u8fd9\u6761\u8def\u6839\u672c\u4e0d\u5b58\u5728\uff0c\u53ea\u80fd\u8d70 BLE GATT\u3002<\/p>\n<h2>\u4e00\u3001\u786c\u4ef6\u8eab\u4efd\uff1a\u5148\u628a\u4e1d\u5370\u6838\u5bf9\u5b8c<\/h2>\n<table>\n<tr>\n<th>\u9879<\/th>\n<th>\u5b9e\u6d4b\u503c<\/th>\n<\/tr>\n<tr>\n<td>\u677f<\/td>\n<td><code>HX-ET0240BNID-B-V1.0 (20191125)<\/code><\/td>\n<\/tr>\n<tr>\n<td>\u4e3b\u63a7 U1<\/td>\n<td>Dialog <strong>DA14585<\/strong>\uff08\u4e1d\u5370 <code>DA14585 00000 AT2<\/code>\uff09\uff0c-00 \u53d8\u4f53 = 512 KB flash<\/td>\n<\/tr>\n<tr>\n<td>Flash D1<\/td>\n<td>\u590d\u65e6\u5fae <strong>FM25Q04<\/strong>\uff08\u4e1d\u5370 <code>BPWKH<\/code>\uff0cJEDEC <code>A1 40 13<\/code>\uff09<\/td>\n<\/tr>\n<tr>\n<td>\u5c4f<\/td>\n<td>HX ET0240 \u7cfb\u5217 \/ <strong>ST7789<\/strong> 240\u00d7320\uff0c4 \u7ebf SPI\uff0cFPC 10 pin<\/td>\n<\/tr>\n<tr>\n<td>\u6392\u9488<\/td>\n<td><strong>J3<\/strong> = VBAT\/DIO\/CLK\/GND\uff08SWD \u8c03\u8bd5\u53e3\uff09<br \/><strong>J1<\/strong> = VBAT\/URX\/UTX\/GND\uff08UART \u53e3\uff09<\/td>\n<\/tr>\n<\/table>\n<p>\u26a0\ufe0f \u4e24\u79cd PCB\uff1a\u4e00\u6279<strong>\u706f\u5728\u4e2d\u95f4<\/strong>\u3001\u4e00\u6279<strong>\u706f\u5728\u4fa7\u8fb9<\/strong>\uff0c\u5f15\u811a\/\u5e03\u5c40\u4e0d\u540c\u3002\u5199\u56fa\u4ef6\u524d\u5fc5\u987b\u5206\u522b\u786e\u8ba4\u2014\u2014\u65b9\u6cd5\u662f\u76f4\u63a5 dump GPIO MODE \u5bc4\u5b58\u5668 <code>0x50003000 + port*0x20 + 0x06 + pin*2<\/code> \u5bf9\u6bd4\u3002<\/p>\n<h3>GPIO \u5b9a\u4e49\uff08\u539f\u6837\uff09<\/h3>\n<pre><code>TFT_RST  = P1_0\nTFT_DC   = P0_7\nTFT_CS   = P2_1\nTFT_SCK  = P0_1\nTFT_MOSI = P2_0\nTFT_BL   = P2_3\n\nLED_RED   = P0_2\nLED_GREEN = P2_5\nLED_BLUE  = P2_9<\/code><\/pre>\n<p>\u26a0\ufe0f <strong><code>P2_3<\/code> \u5fc5\u987b\u8f93\u51fa\u9ad8<\/strong>\uff0c\u4e0d\u9ad8\u5219\u6574\u5c4f\u9ed1\u3002\u6709\u4e9b\u7f51\u8868\u628a\u5b83\u8bb0\u6210\u300c\u9762\u677f\u7535\u6e90\u5fc5\u987b\u4fdd\u6301\u9ad8\u300d\u3001\u5e76\u4e14\u8bf4\u6ca1\u6709\u80cc\u5149\u811a\u2014\u2014\u6307\u7684\u5176\u5b9e\u662f\u540c\u4e00\u4e2a\u811a\u3002<\/p>\n<h3>\u4e24\u4e2a\u80fd\u7701\u65f6\u95f4\u7684\u786c\u4ef6\u4e8b\u5b9e<\/h3>\n<ul>\n<li><strong>SWD \u5728 P1_4 \/ P1_5<\/strong>\uff08datasheet 22.1 \u539f\u6587\uff09\u2014\u2014\u7f51\u4e0a\u4f20\u8bf4\u300cP0_4\/P0_5 \u88ab\u56fa\u4ef6\u5360\u7528\u3001\u8981\u62a2\u65f6\u95f4\u8fde SWD\u300d\u662f<strong>\u9519\u7684<\/strong>\uff0c\u90a3\u4e24\u811a\u662f UART2_TX \/ SPI_DI\u3002\u76f4\u63a5\u63a5 J3 \u8c03\u8bd5\u5373\u53ef\uff0c\u4e0d\u7528\u62a2\u65f6\u673a\u3002<\/li>\n<li><strong>\u53ea\u6709\u4e00\u4e2a SPI \u5916\u8bbe<\/strong>\uff0c\u5c4f\u548c flash \u5171\u7528\u540c\u4e00\u7ec4\u5f15\u811a\uff0c\u5404\u81ea CS\u3002\u6709 4 \u901a\u9053 DMA\uff08datasheet 13.1 Table 33 \u660e\u786e\u5217\u4e86 SPI TX\uff09\uff0c\u4f46 SDK \u9ed8\u8ba4 <code>CFG_SPI_DMA_SUPPORT<\/code> \u662f <code>#undef<\/code>\u2014\u2014\u4e0d\u6253\u5f00\u5c31\u53ea\u80fd\u8f6f\u4ef6 SPI\u3002<\/li>\n<\/ul>\n<h2>\u4e8c\u3001\u2b50 \u5168\u5c4f\u5237\u65b0\u4ece 1843 ms \u964d\u5230 154 ms<\/h2>\n<p>\u8fd9\u662f\u5168\u9879\u76ee\u6536\u76ca\u6700\u5927\u7684\u4e00\u6b21\u6539\u9020\uff0c\u800c\u4e14\u6839\u56e0\u4e0d\u662f\u300cMCU \u592a\u6162\u300d\u3002<\/p>\n<p>\u539f\u5b9e\u73b0\u662f<strong>\u8f6f\u4ef6 SPI bit-bang<\/strong>\uff0c\u5168\u5c4f\u7ea6 <strong>1843 ms<\/strong>\u3002\u6539\u6210<strong>\u786c\u4ef6 SPI + DMA<\/strong> \u540e\u964d\u5230 <strong>154 ms<\/strong>\u3002\u53c2\u8003\u5e26\u5bbd\uff08\u672a\u7528 DMA \u7684\u7406\u8bba\u503c\uff09\uff1a\u8f6f\u4ef6 SPI \u22481843 ms\u30012 MHz \u2248614 ms\u30014 MHz \u2248307 ms\u30018 MHz \u2248154 ms\u3002\u800c <strong>8 MHz \u5df2\u7ecf\u662f DA14585 SPI \u7684\u4e0a\u9650<\/strong>\uff08\u65f6\u949f\u6e90 XTAL16M\/2\uff09\uff0c\u6240\u4ee5 154 ms \u5c31\u662f\u7269\u7406\u4e0b\u9650\u3002<\/p>\n<p>\u6539\u9020\u56db\u4e2a\u8981\u70b9\uff1a<\/p>\n<ul>\n<li><code>st7789.c<\/code> \u91cd\u5199\u4e3a\u786c\u4ef6 SPI\uff1a<code>SCK\u2192P0_1(PID_SPI_CLK)<\/code>\u3001<code>MOSI\u2192P2_0(PID_SPI_DO)<\/code>\uff1b<\/li>\n<li><strong>CS \u4ecd\u7528\u666e\u901a GPIO<\/strong>\uff0c\u4e0d\u5403\u786c\u4ef6 SPI \u7684 CS\uff1b<\/li>\n<li><code>#undef CFG_SPI_DMA_SUPPORT<\/code> \u2192 <code>#define<\/code>\uff1b<\/li>\n<li>DMA \u7f13\u51b2\u533a\u7528 <code>uint32_t<\/code> \u6570\u7ec4\uff0c\u4fdd\u8bc1 4 \u5b57\u8282\u5bf9\u9f50\u3002<\/li>\n<\/ul>\n<h3>\u677f\u4e0a\u5b9e\u6d4b\uff1a6.235 FPS<\/h3>\n<p>\u7528 <code>st7789_refresh_benchmark()<\/code>\u300116 MHz SysTick \u8ba1\u5e27\u5b9e\u6d4b\uff1a<strong>\u6bcf\u5e27 160365 us\u30016.235 FPS<\/strong>\uff0c100 \u5e27 min\/avg\/max \u5168\u7b49\u3001<code>alive<\/code> \u6301\u7eed\u9012\u589e\u65e0\u91cd\u542f\u3002<strong>\u6bd4\u7406\u8bba 154 ms \u53ea\u591a\u7ea6 4%<\/strong> \u21d2 8 MHz SPI \u7684\u7269\u7406\u4e0b\u9650\u786e\u5b9e\u5230\u4e86\u3002<\/p>\n<p>\u21d2 \u7ed3\u8bba\uff1a<strong>\u5168\u5c4f\u5237\u53ea\u80fd\u5f53 keyframe \/ \u80cc\u666f\uff0c\u65e5\u5e38\u5fc5\u987b\u8d70\u5c40\u90e8\u5237\u65b0\u3002<\/strong><\/p>\n<h2>\u4e09\u3001\u534f\u8bae\u8bbe\u8ba1\uff1a\u4e3a\u4ec0\u4e48\u4e00\u5b9a\u8981\u5c40\u90e8\u5237\u65b0<\/h2>\n<p>\u7b97\u4e00\u7b14\u8d26\u5c31\u660e\u767d\uff1a<\/p>\n<table>\n<tr>\n<th>MTU \u914d\u7f6e<\/th>\n<th>\u541e\u5410<\/th>\n<th>1 KB \u5c0f\u56fe<\/th>\n<th>\u5168\u5c4f 150 KB<\/th>\n<\/tr>\n<tr>\n<td>\u9ed8\u8ba4 MTU 23<\/td>\n<td>10\u201316 KB\/s<\/td>\n<td>64\u201396 ms<\/td>\n<td><strong>9.6\u201314.4 s<\/strong><\/td>\n<\/tr>\n<tr>\n<td>DLE 251 + \u591a\u5305<\/td>\n<td>127\u2013190 KB\/s<\/td>\n<td>5\u20138 ms<\/td>\n<td>0.8\u20131.2 s<\/td>\n<\/tr>\n<\/table>\n<p>\u21d2 \u6570\u503c\u53d8\u5316\u53ea\u6709\u51e0\u767e\u5b57\u8282\u5230 1 KB\uff0c<strong>\u5fc5\u987b\u505a\u5c40\u90e8\u5237\u65b0<\/strong>\uff1b\u540c\u65f6\u5fc5\u987b\u5c1d\u8bd5\u534f\u5546 DLE\uff08MTU 247+\uff09\uff0c\u8001\u7684\u84dd\u7259 4.0 \u9002\u914d\u5668\u76f4\u63a5\u8dd1\u4e0d\u52a8\u3002<\/p>\n<p>\u26a0\ufe0f \u4f46\u6709\u4e2a\u73b0\u5b9e\u843d\u5dee\u5fc5\u987b\u5199\u6e05\u695a\uff1a<strong>MTU 247 \u53ea\u662f\u300c\u5c1d\u8bd5\u503c\u300d<\/strong>\u3002Central + tile \u56fa\u4ef6\u8bf7\u6c42 247\uff0c<strong>\u5b9e\u9645\u534f\u5546\u4e0b\u6765\u53ea\u6709 23<\/strong> \u21d2 tile \u5206\u7247\u5fc5\u987b\u6309 MTU 23 \u7684 <strong>52 \u7247<\/strong>\u8def\u5f84\u8bbe\u8ba1\u548c\u9a8c\u8bc1\uff0c\u4e0d\u80fd\u5047\u8bbe\u5927 MTU \u53ef\u7528\u3002\u8fd9\u4e5f\u662f\u300c\u534f\u8bae\u5728\u4e24\u8fb9\u90fd\u5bf9\u3001\u4e00\u4e0a\u677f\u5c31\u6162\u5341\u500d\u300d\u7684\u5178\u578b\u539f\u56e0\u3002<\/p>\n<h3>\u7aef\u5230\u7aef\u534f\u8bae v1<\/h3>\n<p>\u4e0a\u4f4d\u673a\u7ef4\u62a4\u5b8c\u6574 <strong>320\u00d7240 RGB565<\/strong> \u6e32\u67d3\u5e27 + tile \u5dee\u91cf\uff1bMCU <strong>\u4e0d\u5b58\u5e27\u7f13\u51b2<\/strong>\uff0c\u53ea\u7559 <strong>16\u00d716 tile = 512 B<\/strong> staging\uff0c\u6536\u9f50\u624d\u6309 tile \u5c40\u5237 GRAM\u3002\u5c4f\u7684 GRAM \u81ea\u6301\u9759\u6001\u56fe\uff0c\u65e0\u53d8\u5316\u4e0d\u5237\u65b0\u2014\u2014\u8fd9\u662f\u7ed5\u5f00 150 KB \u5e27\u7f13\u51b2\u4e0e 6.2 FPS \u5168\u5c4f\u4e0a\u9650\u7684\u552f\u4e00\u73b0\u5b9e\u8def\u5f84\u3002<\/p>\n<p>\u539f\u751f GRAM \u7f51\u683c <strong>15 \u5217 \u00d7 20 \u884c<\/strong>\uff08tile \u7f16\u53f7 <code>0..299<\/code>\uff0c<code>index = ty*15 + tx<\/code>\uff09\u3002\u56fa\u4ef6\u4fdd\u7559\u539f <code>MADCTL<\/code>\uff0c<strong>\u65b9\u5411\u4ea4\u7ed9\u4e0a\u4f4d\u673a\u89e3\u51b3<\/strong>\uff1a\u5148\u628a\u903b\u8f91 320\u00d7240 <strong>\u987a\u65f6\u9488\u8f6c 90\u00b0<\/strong> \u6210\u539f\u751f 240\u00d7320\uff0c\u903b\u8f91 <code>(x,y)<\/code> \u2194 \u539f\u751f <code>(239-y, x)<\/code>\u3002<\/p>\n<p>\u6bcf\u7247 = <strong>10 \u5b57\u8282\u5934<\/strong> + \u975e\u7a7a\u8d1f\u8f7d\uff0c\u5934\u90e8\u5b57\u6bb5\uff1a<\/p>\n<pre><code>\u56fa\u5b9a 0xA1 | tile \u53f7 | \u672c\u6b21\u4f20\u8f93\u53f7(1..65535) | \u8d1f\u8f7d\u504f\u79fb\n         | \u6574\u5757 512B \u7684 CRC16-CCITT-FALSE | \u4fdd\u7559 0<\/code><\/pre>\n<p>\u5206\u7247\u8d70 <strong>ATT Indication \u9010\u7247\u786e\u8ba4<\/strong>\uff08\u4e0d\u662f\u65e0\u5e94\u7b54\u5199\uff09\u3002MTU 23 \u5219 52 \u7247\u3001MTU 247 \u5219 3 \u7247\uff0c\u4e0a\u4f4d\u673a\u6309<strong>\u534f\u5546\u540e<\/strong>\u7684 MTU \u5207\u3002<\/p>\n<p>\u26a0\ufe0f <strong>v1 \u6ca1\u6709\u5e94\u7528\u5c42\u91cd\u4f20<\/strong>\uff1aCRC \u9519\u53ea\u5199\u4e32\u53e3\u65e5\u5fd7\u3001\u4e0d\u8bf7\u6c42\u91cd\u4f20\uff1b\u91cd\u8fde\u540e\u7531\u4e0a\u4f4d\u673a\u91cd\u65b0\u540c\u6b65\u6240\u9700\u5757\u3001<strong>\u4e0d\u7eed\u4f20\u65e7\u5206\u7247<\/strong>\uff1bATT \u786e\u8ba4 \u2260 \u5e94\u7528\u5c42 CRC ACK\u3002\u8981\u505a\u4e09\u5143\u7ec4\u7eed\u4f20\uff08frame id + tile idx + fragment idx\uff09\u6216 flow control credits\uff0c\u5f97\u81ea\u5df1\u5728\u534f\u8bae\u4e4b\u4e0a\u52a0\u4e00\u5c42\u3002<\/p>\n<h2>\u56db\u3001\u56fa\u4ef6\u6784\u5efa\uff1a\u4e0d\u9700\u8981 Keil\uff0c\u4e5f\u4e0d\u9700\u8981 Windows<\/h2>\n<p>\u5b98\u65b9\u53ea\u7ed9 Keil_5 + IAR \u5de5\u7a0b\uff0c<strong>\u6ca1\u6709 GCC \u5de5\u7a0b<\/strong>\uff0c\u5e93\u53ea\u6709 Keil <code>.lib<\/code> \/ IAR <code>.a<\/code>\u3002\u4f46\u8fd9\u4e0d\u6784\u6210\u969c\u788d\uff1a<\/p>\n<ul>\n<li><code>arm-none-eabi-gcc<\/code> <strong>12.2.1<\/strong> \u80fd\u7f16\u51fa\u53ef\u542f\u52a8\u3001\u542b BLE \u7684 DA14585 \u56fa\u4ef6\uff1b<\/li>\n<li>Keil \u7684 <code>.lib<\/code> \u662f<strong>\u6807\u51c6 ELF<\/strong>\uff08<code>ar t<\/code> \u80fd\u5217\u3001<code>objdump -f<\/code> \u663e\u793a <code>ELF 32-bit LSB relocatable, ARM, EABI5<\/code>\uff09\uff0cGCC \u53ef\u4ee5\u76f4\u63a5 <code>-l:da14585_586.lib<\/code> \u94fe\u63a5\u3002<\/li>\n<\/ul>\n<p>SDK \u7528\u5b8c\u6574 Renesas <strong>6.0.24.1464<\/strong>\u3002\u6ce8\u610f 6.0.18 \/ 6.0.14 \u7684 hotfix 001 \u53ea\u662f\u8865\u4e01\u5305\u3001\u65e0\u6e90\u7801\uff0c\u5fc5\u987b\u914d 6.0.14.1114 \u672c\u4f53\u3002<\/p>\n<h2>\u4e94\u3001\u70e7\u5f55\uff1a\u4e09\u4e2a\u5751<\/h2>\n<h3>\u5751 1\uff1a\u8fd9\u4e2a flash \u578b\u53f7\u5b98\u65b9\u5de5\u5177\u4e0d\u8ba4<\/h3>\n<p><code>sdk\/platform\/driver\/spi_flash\/spi_flash.c<\/code> \u7684 <code>known_spi_devs_list[]<\/code> <strong>\u4e0d\u542b JEDEC <code>0xA1xxxx<\/code><\/strong>\uff08\u590d\u65e6\u5fae FM25Q \u7cfb\u5217\uff09\uff0c\u800c\u672c\u677f\u5b9e\u6d4b\u5c31\u662f FM25Q04\uff08<code>A1 40 13<\/code>\uff09\u21d2 \u5b98\u65b9 flash_programmer \/ secondary_bootloader \u63a2\u6d4b\u5931\u8d25\uff0c\u8fd4\u56de <code>SPI_FLASH_ERR_NOT_DETECTED<\/code>\u3002<\/p>\n<p>\u4e24\u6761\u89e3\u6cd5\uff1a\u5f80\u8868\u91cc\u52a0\u4e00\u6761 <code>{dev_index, 0xA14013, chip_size}<\/code>\uff1b\u6216\u5728 flash_programmer \u91cc\u7528 <code>spi_flash_cfg<\/code> \u624b\u5de5\u6307\u5b9a jedec_id\uff08<code>programmer.c<\/code> \u652f\u6301\uff09\u3002\u4e5f\u53ef\u8d70 J-Link + SST \u7684 SRAM \u52a9\u624b\u8bfb JEDEC\uff08\u5b9e\u6d4b\u56de <code>A1 40 13<\/code>\uff0c\u4e0e\u4e1d\u5370\u543b\u5408\uff09\u3002<\/p>\n<h3>\u5751 2\uff1aSST \u7684\u52fe\u9009\u65b9\u5f0f\u51b3\u5b9a\u6210\u8d25<\/h3>\n<table>\n<tr>\n<th>\u9009\u9879<\/th>\n<th>\u542b\u4e49<\/th>\n<th>\u7528\u6cd5<\/th>\n<\/tr>\n<tr>\n<td><code>Do not modify<\/code><\/td>\n<td><strong>\u5b8c\u6574 flash \u955c\u50cf<\/strong>\uff08\u81ea\u5e26 AN-B-001 \u5934 + bootloader + \u53cc bank + product header\uff09\uff0c\u5982 <code>esl_full.img<\/code>\uff08229400 B\uff0c\u5934 <code>70 50 00 00 00 00 18 A8<\/code>\uff09<\/td>\n<td>\u539f\u6837\u5199\u5165<\/td>\n<\/tr>\n<\/table>\n<p>\u8981\u4e48\u70e7\u5b8c\u6574\u955c\u50cf\u3001\u8981\u4e48\u6309\u6b63\u786e\u504f\u79fb\u70e7\u5206\u533a\u955c\u50cf\uff0c\u4e24\u8005\u4e0d\u80fd\u6df7\u3002<strong>SST \u5fc5\u987b\u9009 <code>DA14585-00<\/code><\/strong>\uff08512 KB\uff09\uff0c\u5426\u5219\u5bb9\u91cf\u548c\u504f\u79fb\u5168\u9519\u3002<\/p>\n<h3>\u5751 3\uff1a<code>Makefile.flash<\/code> \u91cc\u7684\u504f\u79fb\u662f\u9519\u7684<\/h3>\n<p><code>OFF1=0x4000 \/ OFF2=0x50000 \/ OFF3=0x70000<\/code> \u4e0e\u539f\u5382\u5e03\u5c40\u4e0d\u7b26\u3002\u6309\u5b83\u6253\u51fa\u7684 458776 \u5b57\u8282 <code>full.img<\/code> \u91cc\u662f <code>0x04000=70 51 AA 01<\/code> \/ <code>0x50000=70 51 AA 00<\/code> \/ <code>0x70000=70 52<\/code>\uff0c\u4e24\u4e2a\u955c\u50cf\u5b9e\u6d4b\u4e00\u81f4\u3002<\/p>\n<p>\u6b63\u786e\u5e03\u5c40\uff08\u4ee5\u539f\u5382\u7fa4\u56fa\u4ef6 4.1.9 \u9006\u5411\u5b9e\u6d4b\u4e3a\u51c6\uff09\uff1a<\/p>\n<pre><code>0x00000  AN-B-001 \u5934(70 50) + bootloader(6312 \u5b57\u8282)\n0x02000  bank1\n0x14000  bank2\n0x38000  product header(70 52)<\/code><\/pre>\n<p>bootloader \u7684\u5207\u6cd5\uff1a\u957f\u5ea6\u53d6 AN-B-001 \u5934\u91cc\u7684 <code>(d[6]&lt;&lt;8)|d[7]<\/code>\uff0c\u5185\u5bb9\u4e3a <code>d[8:8+\u8be5\u957f\u5ea6]<\/code> \u21d2 <strong>6312 \u5b57\u8282<\/strong>\uff08\u6bd4\u4ece hex \u63d0\u7684 5728 B \u7248\u66f4\u8d34\u5408\u539f\u5382\uff09\u3002<\/p>\n<p>\u8fd8\u6709\u4e2a\u597d\u6d88\u606f\uff1a<strong>secondary bootloader \u7684 SPI flash \u5f15\u811a\u662f\u4ece OTP \u52a8\u6001\u8bfb\u7684<\/strong>\uff08<code>secondary_bootloader\/src\/main.c:175-207<\/code>\uff09\uff0c\u4e0d\u662f\u786c\u7f16\u7801 \u21d2 \u53ea\u8981 OTP boot mapping \u4ecd\u6307\u5411\u539f\u6709\u7684 P0_0\/P0_3\/P0_5\/P0_6\uff0c\u5b83\u81ea\u5df1\u80fd\u627e\u5230 flash\u3002<\/p>\n<h3>\u4e32\u53e3\u70e7\u5f55\u7684\u4e24\u4e2a\u300c\u6321\u8def\u300d\u5176\u5b9e\u4e0d\u5b58\u5728<\/h3>\n<p>DA14585 BootROM <strong>\u786e\u5b9e\u5e26 UART bootloader<\/strong>\uff0c\u4e14 <strong>Normal mode\uff08OTP \u5df2\u70e7\uff09\u4e0b\u4f9d\u7136\u53ef\u7528<\/strong>\uff1a\u5b83\u4f1a\u5148\u7b49 STX \u76f4\u5230\u8d85\u65f6\uff08OTP <code>0x7F8FEB8<\/code> \u7684 UART STX Timeout \u9ed8\u8ba4 60 ms\uff09\uff0c\u8d85\u65f6\u624d\u8d70 SPI Flash\u3002<\/p>\n<ul>\n<li>\u300cDTR\/RTS \u590d\u4f4d\u65e0\u6548\u300d\u53ea\u662f\u56e0\u4e3a CH340 \u7684 DTR\/RTS \u6ca1\u63a5\u5230\u677f\u5b50 RST\uff08RST \u662f\u72ec\u7acb\u710a\u76d8\uff0c3.3 V \u70b9\u4e00\u4e0b\u5373\u53ef\uff09\uff1b<\/li>\n<li>\u300cGCC \u56fa\u4ef6\u5728 <code>0x07FC0000<\/code> \u4e0e\u4e32\u53e3\u70e7\u5f55\u51b2\u7a81\u300d\u662f\u8bef\u4f1a\u2014\u2014SST \u70e7\u7684\u662f <strong>flash \u955c\u50cf<\/strong>\uff0c\u76f4\u63a5\u843d flash\uff0c\u4e0e\u56fa\u4ef6\u94fe\u63a5\u5730\u5740\u65e0\u5173\u3002<\/li>\n<\/ul>\n<h2>\u516d\u3001BLE \u89d2\u8272\uff1a\u4e00\u4e2a\u53cd\u76f4\u89c9\u7684\u65b9\u5411<\/h2>\n<p>\u539f\u5382\u56fa\u4ef6\u662f<strong>\u7eaf BLE Central\uff08\u53ea\u626b\u63cf\u3001\u4e0d\u5e7f\u64ad\uff09<\/strong>\u3002\u5b9e\u6d4b\u8bc1\u636e\uff1aUART \u53ea\u8f93\u51fa\u4e0d\u63a5\u6536\uff08\u5355\u5411 115200 8N1\uff09\uff0c\u5178\u578b\u65e5\u5fd7 <code>[ESL] No Best AP<\/code>\u3001<code>Scan: count = 420..444<\/code>\uff08\u6301\u7eed\u9012\u589e\uff09\u3001<code>NFC pos change 0 \/ NFC 255 \/ Skip NFC read<\/code>\uff08\u6bcf\u7ea6 3 s \u8bfb\u4e00\u6b21 NFC\uff09\u3002\u7535\u8111\u4fa7\u626b\u5230 43 \u53f0 BLE \u8bbe\u5907\uff0c<strong>\u65e0\u4e00\u662f\u6211\u65b9\u672c\u4f53<\/strong>\uff08\u539f\u5382 MAC\uff0c\u6b64\u5904\u9690\u53bb\uff09\u21d2 \u5b83\u5c31\u662f\u5728\u7b49\u7f51\u5173\u6765\u627e\u5b83\u7684\u63a5\u5165\u7aef\u3002<\/p>\n<p>\u2b50 \u5f53\u524d\u5b9e\u73b0\u7684\u89d2\u8272\uff082026-11-24 \u591c\u5b9a\uff09\uff1a<strong>\u4ef7\u7b7e = BLE Central<\/strong>\uff08\u4e3b\u52a8\u626b\u63cf\u5e76\u8fde\u4e0a\u4f4d\u673a\u7684 GATT Server\uff09\uff0c<strong>\u4e0a\u4f4d\u673a = Peripheral \/ GATT Server<\/strong>\u3002<\/p>\n<p>\u26a0\ufe0f \u53cd\u65b9\u5411\uff08\u4ef7\u7b7e\u4f5c peripheral\u3001\u4e3b\u673a\u4f5c central\uff09\u540c\u6837\u53ef\u884c\uff0c\u4f46\u8981\u6c42\u4e3b\u673a\u4fa7\u80fd\u7a33\u5b9a\u5e7f\u64ad\u5e76\u88ab\u626b\u5230\u3002\u5b9e\u6d4b\u4e2d\u90e8\u5206 USB \u84dd\u7259\u9002\u914d\u5668\uff08\u5982\u5e38\u89c1\u7684 CSR \u68d2\uff09\u5e7f\u64ad\u4e0d\u6613\u88ab\u72ec\u7acb\u63a5\u6536\u673a\u53d1\u73b0\uff0c\u8fd9\u6761\u8def\u5728\u6362\u9002\u914d\u5668\u524d\u4e0d\u5efa\u8bae\u8d70\u3002\u672c\u6587\u91c7\u7528\u300c\u4ef7\u7b7e\u4e3b\u52a8\u627e AP\u300d\u7684\u5f62\u6001\uff0c\u4e3b\u673a\u4fa7\u7528\u4e00\u4e2a WinRT GATT Server \u4f5c central \u8054\u8c03\u66ff\u8eab\u3002<\/p>\n<h3>GATT \u4e0e\u9274\u6743<\/h3>\n<p>\u914d\u7f6e\u7801\u56fa\u4ef6\u7684\u7279\u5f81\uff1a<code>0004<\/code>\uff08\u5199\u901a\u9053\uff09\/ <code>0007<\/code>\uff08\u8bfb\u901a\u9053\uff0c\u80fd\u529b\u4e0e\u56de\u8bfb\uff09\/ <code>0008<\/code>\uff08\u53ea\u8bfb\u7248\u672c\uff0c\u56fa\u5b9a\u56de 8 \u5b57\u8282\uff09\u3002<code>0007<\/code> \u56de <code>01 &lt;flags&gt;<\/code>\uff0c<strong>bit 0 = RGB565 \u53cc\u56fe\u7248<\/strong>\u3002\u534f\u8bae 1.1 \u5df2\u5728\u5b9e\u677f\u9a8c\u8bc1\uff1a<code>0008<\/code> \u8fd4\u56de <code>01 01 1f 00 01 00 00 00<\/code>\uff08\u534f\u8bae\u7248\u672c 1.1\u3001\u6b63\u5f0f RGB \u63a9\u7801 <code>0x001f<\/code>\u3001\u6784\u5efa\u53f7 1\uff09\u3002<\/p>\n<p><strong>\u56db\u4f4d\u5c4f\u663e\u7801\u9274\u6743<\/strong>\uff1a\u5199 <code>0004<\/code> \u503c <code>05<\/code> \u2192 \u5c4f\u4e0a\u663e\u793a\u56db\u4f4d\u5341\u8fdb\u5236\uff08\u542b\u524d\u5bfc\u96f6\uff09\u2192 \u63d0\u4ea4 <code>00 + \u9a8c\u8bc1\u7801 LE16<\/code>\uff08\u5171 3 \u5b57\u8282\uff0c1234 \u2192 <code>00 D2 04<\/code>\uff09\u3002\u6709\u6548\u671f <strong>90 \u79d2<\/strong>\uff1b\u6210\u529f\/\u5931\u8d25\/\u5230\u671f\/\u65ad\u8fde\u90fd\u6e05\u5c4f\u663e\u7801\uff1b\u540c\u4e00\u8fde\u63a5\u5185\u9274\u6743\u6210\u529f\u540e\u53ef\u8fde\u7eed\u505a\u591a\u9879\u64cd\u4f5c\u3002<\/p>\n<p>\u26a0\ufe0f \u8fd9\u662f<strong>\u5e94\u7528\u5c42\u5728\u573a\u9a8c\u8bc1\uff0c\u4e0d\u662f BLE \u52a0\u5bc6\u914d\u5bf9<\/strong>\u2014\u2014\u522b\u628a\u5b83\u5f53\u5b89\u5168\u673a\u5236\u3002<\/p>\n<h3>\u8d44\u4ea7\u5199\u5165\u5e27\u683c\u5f0f<\/h3>\n<pre><code>\u5f00\u673a\u56fe\/\u914d\u7f6e\uff1a01 &lt;kind&gt; &lt;\u957f\u5ea6 LE16&gt; &lt;CRC32 LE32&gt; \u2192 02 &lt;\u6247\u533a\u53f7&gt;\n             \u2192 03 &lt;\u504f\u79fb LE16&gt; &lt;\u6570\u636e&gt;(\u4e0d\u53ef\u8de8 256 \u5b57\u8282\u9875) \u2192 04 \u63d0\u4ea4\nRGB565 \u5e95\u56fe\uff1a10 &lt;\u957f\u5ea6 LE32&gt; &lt;CRC32 LE32&gt; \u2192 11 &lt;\u6247\u533a\u53f7&gt;(0-37 \u987a\u5e8f)\n             \u2192 12 &lt;\u504f\u79fb LE32&gt; &lt;\u6570\u636e&gt; \u2192 13 \u63d0\u4ea4\n\u56de\u8bfb\uff1a21 &lt;kind&gt; \u2192 &lt;\u603b\u957f\u5ea6 LE32&gt;&lt;CRC32 LE32&gt;\n     20 &lt;kind&gt; &lt;\u504f\u79fb LE32&gt; &lt;\u8bf7\u6c42\u5b57\u8282\u6570 u8&gt;<\/code><\/pre>\n<p>\u5b9e\u9645\u56de\u8bfb\u957f\u5ea6 = <code>min(\u8bf7\u6c42, \u5269\u4f59, 244, ATT MTU\u22122)<\/code>\uff0c\u4e14<strong>\u5fc5\u987b\u7981\u7528\u5ba2\u6237\u7aef\u7f13\u5b58\uff08uncached\uff09<\/strong>\uff0c\u5426\u5219\u8bfb\u5230\u7684\u662f\u7f13\u5b58\u3002<\/p>\n<p>Flash \u69fd\u4f4d\uff1a\u5e95\u56fe RGB565 \u5360 <code>[0x40000, 0x66000)<\/code>\uff0838 \u6247\u533a \u00d7 4 KiB\uff09\uff1b\u5f00\u673a\u56fe\u72ec\u7acb\u69fd <code>0x6A000<\/code>\uff08\u542b 256 \u5b57\u8282\u8bb0\u5f55\u5934\uff09\uff0c\u56de\u9000\u5230\u56fa\u4ef6\u5185\u7f6e\u56fe <code>0x2E000<\/code>\uff1b\u914d\u7f6e <code>0x74000<\/code> \/ <code>0x75000<\/code> \u53cc\u69fd\uff08\u5404 4 KiB\uff0c\u5e26 generation \u8ba1\u6570\u4ea4\u66ff\u63d0\u4ea4\uff09\u3002<\/p>\n<p>\u26a0\ufe0f <strong>\u5e95\u56fe\u4e0e\u53ef\u5199\u5f00\u673a\u56fe\u5404\u53ea\u6709\u4e00\u4e2a\u53ef\u5199\u69fd<\/strong> \u21d2 \u64e6\u9664\u4e2d\u9014\u65ad\u8fde<strong>\u4e0d\u80fd\u4fdd\u7559\u539f\u56fe<\/strong>\u3002\u8fd9\u70b9\u5728\u5199\u754c\u9762\u65f6\u5fc5\u987b\u63d0\u793a\u7528\u6237\u3002<\/p>\n<h2>\u4e03\u3001\u4e09\u4e2a\u81f4\u547d\u7f3a\u9677\uff08\u90fd\u5df2\u5b9a\u4f4d\uff09<\/h2>\n<p>\u8fd9\u51e0\u6761\u662f\u300c\u80fd\u7f16\u8fc7\u3001\u80fd\u70e7\u8fdb\u53bb\u3001\u4f46\u884c\u4e3a\u4e0d\u5bf9\u300d\u7684\u90a3\u7c7b\u95ee\u9898\uff0c\u6700\u8017\u65f6\u95f4\uff1a<\/p>\n<ul>\n<li><strong><code>__BKPT(0)<\/code><\/strong> \u2014\u2014 GPIO \u672a reserve \u5c31\u64cd\u4f5c\uff0c\u76f4\u63a5\u65ad\u70b9\u5f02\u5e38\uff1b<\/li>\n<li><strong><code>KEEP(*(stack))<\/code> \u5c11\u4e00\u4e2a\u70b9<\/strong> \u2014\u2014 \u94fe\u63a5\u5668\u56e0\u6b64\u6ca1\u4fdd\u7559 <code>.stack<\/code> \u6bb5\uff0c\u6808\u53d8\u6210 <strong>0 \u5b57\u8282<\/strong>\uff1b<\/li>\n<li><strong><code>wdg_init(0)<\/code> \u4e0d\u7b49\u4e8e\u5173\u72d7<\/strong> \u2014\u2014 \u7ea6 <strong>2.05 s<\/strong> \u5c31\u590d\u4f4d\u3002\u73b0\u8c61\u662f\u300c\u8dd1\u4e24\u79d2\u5c31\u91cd\u542f\u300d\uff0c\u5f88\u5bb9\u6613\u8bef\u5224\u6210\u7535\u6e90\u95ee\u9898\u3002<\/li>\n<\/ul>\n<h2>\u516b\u3001\u6570\u636e\u683c\u5f0f<\/h2>\n<ul>\n<li><strong>RGB565 \u5e95\u56fe<\/strong>\uff1a<strong>153600 \u5b57\u8282\u3001\u65e0\u5934\u3001\u5927\u7aef<\/strong>\u3002<\/li>\n<li><strong>ELI1<\/strong>\uff1a<strong>38444 \u5b57\u8282<\/strong>\uff0c\u5934 <code>&lt;4sHHI&gt;<\/code> = magic <code>ELI1<\/code> + \u5bbd 320 + \u9ad8 240 + <strong>CRC32<\/strong>\uff08\u56db\u5b57\u6bb5\u5168\u5c0f\u7aef\uff0c<strong>\u7b2c 8\u201311 \u5b57\u8282\u662f CRC \u4e0d\u662f\u957f\u5ea6<\/strong>\u2014\u2014\u8fd9\u4e2a\u5751\u8e29\u8fc7\uff09\uff1b\u8c03\u8272\u677f 16 \u9879\u5927\u7aef RGB565\uff08\u504f\u79fb 12\uff09\uff0c\u50cf\u7d20\u81ea\u504f\u79fb <strong>44<\/strong> \u8d77\u3001\u7d22\u5f15\u5b57\u8282<strong>\u9ad8\u534a\u5b57\u8282\u5728\u524d<\/strong>\uff0cCRC32 \u53ea\u8986\u76d6\u8c03\u8272\u677f + \u7d22\u5f15\u3002<\/li>\n<\/ul>\n<h2>\u4e5d\u3001\u4e0a\u4f4d\u673a\u4e24\u4fa7\u7684\u73b0\u72b6<\/h2>\n<h3>Android<\/h3>\n<p>App \u4f5c Central\uff0c\u626b\u5230\u526f\u5c4f\u540e\u9009\u4e2d\u3001\u5bfc\u5165\u56fe\u7247\u3001\u9884\u89c8\u88c1\u526a\u3001\u53d1\u9001\uff0c\u9a8c\u8bc1\u65b9\u5411\u4e0e\u989c\u8272\u3002<strong>\u5199\u6301\u4e45\u5316\u8d44\u4ea7\u524d\u5fc5\u987b\u5148\u56de\u8bfb\u5e76\u5907\u4efd\u65e7\u8d44\u4ea7<\/strong>\uff0c\u5728\u540c\u4e00\u6b21\u8fde\u63a5\u5185\u8f93\u5165\u5c4f\u663e\u7801\u3001\u5199\u5165\u540e\u56de\u8bfb\u9a8c\u8bc1\u3002\u8d44\u4ea7\u69fd\u64e6\u9664\u540e\u65e0\u6cd5\u6062\u590d\u65e7\u56fe\uff0c\u65ad\u5f00\u8fde\u63a5\u9700\u91cd\u505a\u5199\u5165\u3002<\/p>\n<h3>Windows<\/h3>\n<p>\u56fe\u5f62\u4e0a\u4f4d\u673a\u7528 Tk\/ttk + \u540e\u53f0 asyncio \u7ebf\u7a0b\u4e32\u884c\u5904\u7406 Bleak \u8bf7\u6c42\uff1b\u76d1\u63a7\u53e0\u52a0\u5c42\u7528 Pillow \u66f4\u65b0\u4eea\u8868\u7ec4\u4ef6\u3001\u6bd4\u8f83 RGB565 \u5e27\u3001<strong>\u53ea\u53d1\u53d8\u5316\u7684\u77e9\u5f62<\/strong>\uff0c\u9000\u51fa\u65f6\u6062\u590d\u5e95\u56fe\u3002\u53ea\u8bfb\u9996\u6d4b\u53ef\u4ee5\u8fd9\u6837\uff1a<\/p>\n<pre><code>python -m pip install bleak\npython docs\/ble-ap\/panel_api_example.py &lt;PANEL_ADDRESS&gt; info<\/code><\/pre>\n<p>\u26a0\ufe0f \u5df2\u77e5\u9650\u5236\uff1aPowerShell 5.1 \u7ed9 <code>GattLocalCharacteristic<\/code> \u7684 Read \u7279\u5f81\u5199 StaticValue \u4f1a IBuffer \u6295\u5f71\u5931\u8d25 \u21d2 \u6539\u7528 <code>WriteWithoutResponse<\/code> \u7279\u6027\uff0c<strong>\u9a8c\u8bc1\u94fe\u8def\u65f6\u4e0d\u80fd\u4f9d\u8d56\u300c\u8bfb\u503c\u300d<\/strong>\u3002<\/p>\n<h2>\u5341\u3001\u2b50 \u5fc5\u987b\u4e00\u8d77\u8bfb\u7684\u8fb9\u754c\uff1a\u5f88\u591a\u73af\u8282\u8fd8\u6ca1\u4e0a\u677f<\/h2>\n<p>\u8fd9\u7bc7\u6700\u9700\u8981\u8bf4\u6e05\u695a\u7684\u5730\u65b9\u3002\u8f6f\u4ef6\u5de5\u7a0b\u4fa7\u7684\u9a8c\u8bc1\u662f<strong>\u5168\u7eff<\/strong>\u7684\uff1a<\/p>\n<ul>\n<li>\u5355\u5143\u6d4b\u8bd5 22 \/ 28 \/ 96 \/ 133 \u9879\u5168\u8fc7\uff1b<\/li>\n<li>10 \u7ec4 MTU \u5206\u7247\u9010\u5b57\u8282\u4e00\u81f4\uff1b<\/li>\n<li>\u534f\u8bae\u4ea4\u53c9\u9a8c\u8bc1\u901a\u8fc7\uff1b<\/li>\n<li>\u955c\u50cf CRC \u68c0\u67e5\u901a\u8fc7\uff1b<\/li>\n<li>\u56fa\u4ef6\u5df2\u6784\u5efa\uff08Central + tile\uff09\u3002<\/li>\n<\/ul>\n<p>\u4f46<strong>\u5b9e\u677f\u9a8c\u6536\u4ecd\u6709\u7f3a\u53e3<\/strong>\uff0c\u5f15\u7528\u672c\u6587\u7ed3\u8bba\u65f6\u8bf7\u8fde\u5e26\u8fd9\u90e8\u5206\u4e00\u8d77\u770b\uff1a<\/p>\n<ul>\n<li>Android \u5404\u7248\u672c<strong>\u5168\u90e8\u672a\u8054\u8c03<\/strong>\uff1b<\/li>\n<li>Windows \u4e24\u7aef\u626b\u63cf<strong>\u5747 0 \u53f0\u677f<\/strong>\uff0c\u8fde\u63a5\u4e0e\u5237\u65b0\u672a\u9a8c\u8bc1\uff1b<\/li>\n<li><strong>Central \u56fa\u4ef6<\/strong>\u5df2\u5728\u7a7a\u53e3\u9a8c\u8bc1\u5230 <code>characteristic found<\/code> \u2192 <code>no Read property<\/code> \u2192 <code>link up<\/code>\uff0c\u94fe\u8def\u672c\u8eab\u53ef\u7528\uff1b\u4f46 <strong>Central + tile \u7ec4\u5408\u56fa\u4ef6\u5df2\u6784\u5efa\u3001\u5c1a\u672a\u4e0a\u677f<\/strong>\u3002<\/li>\n<li>\u4e3b\u673a\u4fa7\u5e7f\u64ad\u63a2\u6d4b\uff08NAS \u4e0a\u7684 BLE \u63a2\u9488\uff09\u672a\u89c2\u5bdf\u5230 <code>AP_CONNECTED<\/code>\uff0c<strong>\u8fd9\u53ea\u8986\u76d6\u300c\u4e3b\u673a\u4f5c GATT Server \u88ab\u4ef7\u7b7e\u53d1\u73b0\u300d\u8fd9\u4e00\u6761\u8def\u5f84<\/strong>\uff0c\u4e0d\u7b49\u4e8e\u6574\u6761 BLE \u94fe\u8def\u4e0d\u53ef\u7528\u3002\u6b63\u5728\u8d70\u7684\u662f\u53cd\u5411\u8def\u5f84\uff1a\u4ef7\u7b7e\u4f5c Central \u4e3b\u52a8\u8fde\u4e3b\u673a\u3002<\/li>\n<li>\u5168\u7247 dump \u540e\u624d\u77e5\u9053\uff1a512 KiB \u91cc<strong>\u53ea\u6709 <code>0x75000<\/code> \u5904 22 \u5b57\u8282\u65e7\u914d\u7f6e<\/strong>\uff08ESR1 \u683c\u5f0f\uff0c<code>boot_ms=100<\/code>\uff09\u662f\u6709\u6548\u6570\u636e\uff0c<strong>\u56fa\u4ef6\u533a\u4e0e\u56fe\u7247\u533a\u5168\u662f <code>FF<\/code><\/strong> \u21d2 \u8fd9\u6279\u677f\u51fa\u5382\u57fa\u672c\u662f\u7a7a\u7247\uff0c<strong>\u522b\u5047\u8bbe\u6709\u539f\u5382\u56fa\u4ef6\u53ef\u5bf9\u7167<\/strong>\u3002<\/li>\n<li>\u4ecd\u672a\u67e5\u5b9e\uff1aSST \u5bf9\u8fd9\u7247\u590d\u65e6\u5fae flash \u7684\u5177\u4f53\u62d2\u7edd\u539f\u56e0\uff08\u53ea\u77e5\u9053\u7ed3\u679c\uff0c\u4e0d\u77e5\u9053\u6839\u56e0\uff09\uff1b<code>0x74000<\/code> \u4e4b\u540e\u7684\u914d\u7f6e\u69fd\u8bed\u4e49\u3001\u753b\u9762\u5237\u65b0\u6548\u679c\u4e5f\u672a\u5b9e\u677f\u9a8c\u6536\u3002<\/li>\n<\/ul>\n<p>\u70e7\u5f55\u524d\u5907\u4efd <code>before-v11.bin<\/code>\uff08SHA-256 <code>308b5f20cf81869e137d01b414c3ee4e32624847f4ed3df8b9a7f5d1d1a6b7c7<\/code>\uff09\u3002\u5de5\u5177\u4fa7\uff1aCH340 \u2705\u3001CH341A \u2705\u3001\u4e07\u7528\u8868 \u2705\uff1b<strong>J-Link \u4e0d\u662f\u5fc5\u9700\u54c1<\/strong>\u2014\u2014SST \u7ecf CH340 \u8d70 UART \u5c31\u80fd\u5237\uff0c\u53ea\u5728 dump \u539f\u5382 flash \/ \u6551\u7816\u65f6\u624d\u9700\u8981\u3002<\/p>\n<p>\u5982\u679c\u4f60\u4e5f\u60f3\u62ff\u7535\u5b50\u4ef7\u7b7e\u6539\u526f\u5c4f\uff0c\u5efa\u8bae\u5148\u786e\u8ba4\u8fd9\u677f\u5b50\u662f\u4e0d\u662f\u540c\u6837\u7684 HX-ET0240BNID \u4e0e DA14585\u2014\u2014\u4e0d\u540c\u6279\u6b21\u7684\u5f15\u811a\u548c flash \u578b\u53f7\u90fd\u53ef\u80fd\u4e0d\u540c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7528 DA14585 \u548c ST7789 \u7ec4\u6210 BLE \u526f\u5c4f\uff0c\u9a8c\u8bc1\u56fa\u4ef6\u3001Android \u56fe\u7247\u6295\u9001\u548c Windows \u5c40\u90e8\u5237\u65b0\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[34,50,44,51],"class_list":["post-94","post","type-post","status-publish","format-standard","hentry","category-hardware","tag-android","tag-ble","tag-da14585","tag-windows"],"_links":{"self":[{"href":"https:\/\/wp.xybcm.cn\/index.php?rest_route=\/wp\/v2\/posts\/94","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.xybcm.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.xybcm.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.xybcm.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.xybcm.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=94"}],"version-history":[{"count":5,"href":"https:\/\/wp.xybcm.cn\/index.php?rest_route=\/wp\/v2\/posts\/94\/revisions"}],"predecessor-version":[{"id":156,"href":"https:\/\/wp.xybcm.cn\/index.php?rest_route=\/wp\/v2\/posts\/94\/revisions\/156"}],"wp:attachment":[{"href":"https:\/\/wp.xybcm.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.xybcm.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.xybcm.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}