﻿{"id":76,"date":"2010-05-22T09:17:31","date_gmt":"2010-05-22T01:17:31","guid":{"rendered":"http:\/\/nick.workao.org\/?p=76"},"modified":"2010-05-22T09:17:45","modified_gmt":"2010-05-22T01:17:45","slug":"stm32-%e5%85%a5%e9%97%a8%e6%95%99%e7%a8%8b-%e5%bc%80%e5%8f%91%e7%8e%af%e5%a2%83%e5%bb%ba%e7%ab%8b%e5%8f%8a%e5%85%b6%e5%ba%94%e7%94%a8","status":"publish","type":"post","link":"https:\/\/nick.txtcc.com\/index.php\/scm\/76","title":{"rendered":"STM32 \u5165\u95e8\u6559\u7a0b \u5f00\u53d1\u73af\u5883\u5efa\u7acb\u53ca\u5176\u5e94\u7528"},"content":{"rendered":"<p><strong><span style=\"color: red;\">\u5165\u95e8\u51c6\u5907:<\/span><\/strong><\/p>\n<p>\u6211\u4eec\u5e38\u7528\u7684<\/p>\n<p>STM32<\/p>\n<p>\u5f00\u53d1\u7f16\u8bd1\u73af\u5883\u4e3a Keil \u516c\u53f8\u7684<\/p>\n<p>MDK<\/p>\n<p>(Microcontroller Development Kit) \u548c IAR \u516c\u53f8\u7684 EWARM.<\/p>\n<p>\u5728\u8fd9\u91cc\u6211\u4eec\u63d0\u4f9b\u4e86\u6bd4\u8f83\u7a33\u5b9a\u7684\u65b0\u7248\u672c\u7f16\u8bd1<\/p>\n<dl>\n<dt>\u8f6f\u4ef6\u4e0b\u8f7d<\/dt>\n<dd><\/dd>\n<\/dl>\n<p>MDK3.50\u00a0 \u00a0\u00a0 \u00a0\u00a0\u00a0\u70b9\u51fb\u6b64\u5904\u4e0b\u8f7d<\/p>\n<p>EWARM 5.40\u00a0 \u00a0\u70b9\u51fb\u6b64\u5904\u4e0b\u8f7d<\/p>\n<p>\u9650\u4e8e\u7bc7\u5e45, \u5728\u6211\u4eec\u7684<\/p>\n<p>\u6559\u7a0b<\/p>\n<p>\u91cc\u9762\u5c06\u5148\u4ee5 MDK \u4e0b\u7684\u4e00\u4e2a\u4f8b\u5b50\u6765\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528 MDK \u8fdb\u884c\u5d4c\u5165\u5f0f\u5e94\u7528\u5f00\u53d1.<\/p>\n<p><strong><span style=\"color: red;\">MDK \u5b89\u88c5\u4e0e\u914d\u7f6e:\n<\/span><\/strong><\/p>\n<p>\u57fa\u4e8e MDK \u4e0b\u7684\u5f00\u53d1\u4e2d\u57fa\u672c\u7684\u8fc7\u7a0b:<\/p>\n<p>(1) \u521b\u5efa\u5de5\u7a0b;<\/p>\n<p>(2) \u914d\u7f6e\u5de5\u7a0b;<\/p>\n<p>(3) \u7528 C\/C++ \u6216\u8005 \u6c47\u7f16\u8bed\u8a00\u7f16\u5199\u6e90\u6587\u4ef6;<\/p>\n<p>(4) \u7f16\u8bd1\u76ee\u6807\u5e94\u7528\u7a0b\u5e8f<\/p>\n<p>(5) \u4fee\u6539\u6e90\u7a0b\u5e8f\u4e2d\u7684\u9519\u8bef<\/p>\n<p>(6) \u6d4b\u8bd5<\/p>\n<p>\u94fe\u63a5<\/p>\n<p>\u5e94\u7528\u7a0b\u5e8f<\/p>\n<hr \/>\n<p><strong><span style=\"color: red;\">(1) \u521b\u5efa\u4e00\u4e2a\u5de5\u7a0b:\n<\/span><\/strong><\/p>\n<p>\u5728 uVision 3 \u4e3b\u754c\u9762\u4e2d\u9009\u62e9 &#8220;Project&#8221; -> &#8220;New uVision Project&#8221; \u83dc\u5355\u9879,  \u6253\u5f00\u4e00\u4e2a\u6807\u51c6\u5bf9\u8bdd\u6846\u9009\u62e9\u597d\u4f60\u7535\u8111\u4e2d\u7684\u4fdd\u5b58\u76ee\u5f55\u540e, \u8f93\u5165\u4e00\u4e2a\u4f60\u7684\u5de5\u7a0b\u540d\u5b57\u540e\u70b9\u786e\u8ba4.\u6211\u4eec\u7684\u5de5\u7a0b\u4e2d\u5efa\u4e86\u4e00\u4e2a\u540d\u5b57\u53eb &#8220;NewProject&#8221; \u7684\u5de5\u7a0b.<\/p>\n<p>\u4ece\u8bbe\u5907\u5e93\u4e2d\u9009\u62e9\u76ee\u6807\u82af\u7247, \u6211\u4eec\u7684 MINI-STM32 \u5f00\u53d1\u677f\u4f7f\u7528\u7684\u662f STM32F103V8T6, \u56e0\u6b64\u9009\u4e2d  STMicrocontroller \u4e0b\u5bf9\u5e94\u7684\u82af\u7247:<\/p>\n<p>ARM 32-bit Cortex-M3 Microcontroller, 72MHz, 64kB Flash, 20kB SRAM,<\/p>\n<p>PLL, Embedded Internal RC 8MHz and 32kHz, Real-Time Clock,<\/p>\n<p>Nested Interrupt Controller, Power Saving Modes, JTAG and SWD,<\/p>\n<p>3 Synch. 16-bit Timers with Input Capture, Output Compare and PWM,<\/p>\n<p>16-bit 6-ch Advanced Timer, 2 16-bit Watchdog Timers, SysTick Timer,<\/p>\n<p>2 SPI, 2 I2C, 3 USART,<\/p>\n<p>USB<\/p>\n<p>2.0 Full Speed Interface,<\/p>\n<p>CAN<\/p>\n<p>2.0B Active,<\/p>\n<p>2 12-bit 16-ch A\/D Converter, Fast I\/O Ports<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/011732A3m.gif\" border=\"0\" alt=\"\" \/> <img decoding=\"async\" id=\"aimg_6\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/011736Mfn.gif\" alt=\"1.GIF\" width=\"600\" \/><\/p>\n<div id=\"aimg_6_menu\"><a title=\"1.GIF\" href=\"http:\/\/www.mystm32.com\/bbs\/attachment.php?aid=6&#038;k=b6c73add377c29620bce7bb562f0f8aa&#038;t=1257839026&#038;nothumb=yes&#038;sid=44eeus%2FQfyGb4JWaNkh4a2mwyhaJCFNCnHcRh7S16THSyeo\" target=\"_blank\"><strong>\u4e0b\u8f7d<\/strong><\/a> (15.73 KB)\n<div>2009-7-28 21:44<\/div>\n<\/div>\n<p><img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/011732A3m.gif\" border=\"0\" alt=\"\" \/> <img decoding=\"async\" id=\"aimg_12\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/0117408aF.gif\" alt=\"2.GIF\" width=\"600\" \/><\/p>\n<div id=\"aimg_12_menu\"><a title=\"2.GIF\" href=\"http:\/\/www.mystm32.com\/bbs\/attachment.php?aid=12&#038;k=1e66f85569f426009b5e9d595f22ce31&#038;t=1257839026&#038;nothumb=yes&#038;sid=44eeus%2FQfyGb4JWaNkh4a2mwyhaJCFNCnHcRh7S16THSyeo\" target=\"_blank\"><strong>\u4e0b\u8f7d<\/strong><\/a> (20.45 KB)\n<div>2009-7-28 23:12<\/div>\n<\/div>\n<p>\u9009\u62e9\u5b8c\u82af\u7247\u578b\u53f7\u540e\u4f1a\u63d0\u793a\u662f\u5426\u5728\u76ee\u6807\u5de5\u7a0b\u4e2d\u52a0\u5165 CPU\u00a0\u00a0\u7684\u76f8\u5173\u7684\u542f\u52a8<\/p>\n<p>\u4ee3\u7801<\/p>\n<p>, \u5982\u4e0b\u56fe\u6240\u793a. \u542f\u52a8\u4ee3\u7801\u662f\u7528\u6765\u521d\u59cb\u5316\u76ee\u6807\u8bbe\u5907\u7684\u914d\u7f6e, \u5b8c\u6210\u8fd0\u884c\u7684\u7cfb\u7edf\u521d\u59cb\u5316\u5de5\u4f5c, \u56e0\u6b64\u6211\u4eec\u9009\u62e9 &#8220;\u662f&#8221; ,  \u8fd9\u4f1a\u4f7f\u7cfb\u7edf\u7684\u542f\u52a8\u4ee3\u7801\u7f16\u5199\u5de5\u4f5c\u91cf\u5927\u5927\u51cf\u5c11.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/011732A3m.gif\" border=\"0\" alt=\"\" \/> <img decoding=\"async\" id=\"aimg_4\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/011741mAB.gif\" alt=\"3.GIF\" width=\"600\" \/><\/p>\n<div id=\"aimg_4_menu\"><a title=\"3.GIF\" href=\"http:\/\/www.mystm32.com\/bbs\/attachment.php?aid=4&#038;k=4f0221af6070354b94621a349e1b97fe&#038;t=1257839026&#038;nothumb=yes&#038;sid=44eeus%2FQfyGb4JWaNkh4a2mwyhaJCFNCnHcRh7S16THSyeo\" target=\"_blank\"><strong>\u4e0b\u8f7d<\/strong><\/a> (6.49 KB)\n<div>2009-7-28 21:35<\/div>\n<\/div>\n<hr \/>\n<p><strong><span style=\"color: red;\">(2) \u914d\u7f6e\u5de5\u7a0b:\n<\/span><\/strong><\/p>\n<p>\u9009\u62e9\u83dc\u5355\u4e2d &#8220;Project&#8221; -> &#8220;Option for Target&#8221; \u6216\u8005 \u9009\u62e9\u5feb\u6377\u83dc\u5355\u4e2d\u7684\u56fe\u6807:<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/011732A3m.gif\" border=\"0\" alt=\"\" \/> <img decoding=\"async\" id=\"aimg_8\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/011742xBu.gif\" alt=\"4.GIF\" width=\"391\" \/><\/p>\n<div id=\"aimg_8_menu\"><a title=\"4.GIF\" href=\"http:\/\/www.mystm32.com\/bbs\/attachment.php?aid=8&#038;k=6ae510718640da6f85eba46fa9495d98&#038;t=1257839026&#038;nothumb=yes&#038;sid=44eeus%2FQfyGb4JWaNkh4a2mwyhaJCFNCnHcRh7S16THSyeo\" target=\"_blank\"><strong>\u4e0b\u8f7d<\/strong><\/a> (7.83 KB)\n<div>2009-7-28 21:52<\/div>\n<\/div>\n<p>\u56e0\u4e3a MINI-STM32 \u5f00\u53d1\u677f\u4e0a\u4f7f\u7528\u7684\u5c31\u662f 8M \u7684\u6676\u632f\u4e14\u662f\u4f7f\u7528\u7684\u7247\u5185\u7684 RAM \u548c ROM \u56e0\u6b64 &#8220;taget&#8221;  \u4e0b\u6211\u4eec\u90fd\u53ef\u4ee5\u4f7f\u7528\u9ed8\u8ba4\u7684\u914d\u7f6e;<\/p>\n<p>\u5728&#8221;Output&#8221;\u83dc\u5355\u4e0b\u6211\u4eec\u9700\u8981\u9009\u4e2d &#8220;Creat Hex File&#8221; \u6765\u751f\u6210\u7f16\u8bd1\u597d\u7684\u5de5\u7a0b\u4ee3\u7801, \u6b64\u5de5\u7a0b\u53ef\u4ee5\u901a\u8fc7<\/p>\n<p>\u4eff\u771f\u5668<\/p>\n<p>\u6216\u8005\u4e32\u53e3 ISP \u70e7\u5f55\u8fdb\u5f00\u53d1\u677f\u4e2d.<\/p>\n<p>\u6ce8: ISP \u70e7\u5f55\u8fc7\u7a0b\u6211\u4eec\u5c06\u5728\u5165\u95e8\u6559\u7a0b\u4e8c\u4e2d\u7ed9\u5927\u5bb6\u4ecb\u7ecd.<\/p>\n<p>&#8220;Listing&#8221; &#8220;User&#8221; \u83dc\u5355\u4e2d\u6211\u4eec\u4fdd\u6301\u9ed8\u8ba4\u5373\u53ef.<\/p>\n<p>&#8220;C\/C++&#8221; \u83dc\u5355\u4e3a\u6211\u4eec\u5e38\u7528\u7684\u83dc\u5355, \u8fd9\u91cc\u7b80\u5355\u7684\u4ecb\u7ecd\u4e0b\u4ed6\u4eec\u7684\u5177\u4f53\u529f\u80fd:<\/p>\n<p>PreProcesser Symbols \u4e2d\u7684 Define, Undefine\u00a0\u00a0\u83dc\u5355\u8868\u793a\u662f\u5de5\u7a0b\u7684\u5b8f\u5b9a\u4e49\u4e2d\u7684\u53d8\u91cf,  \u6211\u4eec\u5c06\u5728\u4eca\u540e\u7684\u6559\u7a0b\u4e2d\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e2a\u529f\u80fd.<\/p>\n<p>Optimization \u4e3a\u4f18\u5316\u9009\u9879, Level0 \u4e3a\u4e0d\u4f18\u5316, \u8fd9\u79cd\u6a21\u5f0f\u6700\u9002\u5408\u8c03\u8bd5, \u56e0\u4e3a\u4e0d\u4f1a\u4f18\u5316\u6389\u4ee3\u7801,  \u57fa\u672c\u6bcf\u4e2a\u7528\u5230\u7684\u53d8\u91cf\u90fd\u53ef\u4ee5\u6253\u65ad\u70b9. Level3 \u4e3a\u4f18\u5316\u7b49\u7ea7\u6700\u9ad8, \u6700\u9002\u5408\u751f\u4ea7\u8fc7\u7a0b\u4e2d\u4e0b\u8f7d\u5230\u82af\u7247\u4e2d\u7684\u4ee3\u7801.<\/p>\n<p>Include Path \u4e3a\u5de5\u7a0b\u4e2d\u7684\u5305\u542b\u8def\u5f84, \u4e00\u822c\u9700\u5c06 .h \u6587\u4ef6\u6216\u8005\u5e93\u6587\u4ef6\u7684<\/p>\n<p>\u5730\u5740<\/p>\n<p>\u914d\u7f6e\u8fdb\u53bb.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/011732A3m.gif\" border=\"0\" alt=\"\" \/> <img decoding=\"async\" id=\"aimg_9\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/011743s50.gif\" alt=\"6.GIF\" width=\"600\" \/><\/p>\n<div id=\"aimg_9_menu\"><a title=\"6.GIF\" href=\"http:\/\/www.mystm32.com\/bbs\/attachment.php?aid=9&#038;k=56b45af028d68f05180d0f9f7b51965a&#038;t=1257839026&#038;nothumb=yes&#038;sid=44eeus%2FQfyGb4JWaNkh4a2mwyhaJCFNCnHcRh7S16THSyeo\" target=\"_blank\"><strong>\u4e0b\u8f7d<\/strong><\/a> (15.43 KB)\n<div>2009-7-28 22:23<\/div>\n<\/div>\n<p>&#8220;Asm&#8221; \u548c &#8220;Link&#8221; \u5c06\u5728\u4eca\u540e\u7684\u9ad8\u7ea7\u6559\u7a0b\u4e2d\u4ecb\u7ecd.<\/p>\n<p>&#8220;Debug&#8221; \u4e3a\u6211\u4eec\u8c03\u8bd5\u4f7f\u7528\u7684\u914d\u7f6e\u9009\u9879, &#8220;Use Simulator&#8221; \u4e3a\u4f7f\u7528\u8f6f\u4ef6\u4eff\u771f.\u00a0\u00a0\u8fd9\u91cc\u6839\u636e\u5927\u5bb6\u624b\u91cc\u7684\u4eff\u771f\u5668\u6765\u9009\u62e9\u914d\u7f6e\u73af\u5883.<\/p>\n<p>\u5982\u679c\u4f60\u4f7f\u7528\u7684\u662f Ulink, \u90a3\u4e48\u5c31\u9009\u62e9 &#8220;Ulink Cotex Debug&#8221;, \u5982\u679c\u4f60\u9009\u62e9\u7684\u662f JLINK, \u90a3\u4e48\u5c31\u9009\u62e9 &#8221;  Cotex M3<\/p>\n<p>Jlink<\/p>\n<p>&#8220;, \u5982\u679c\u4f60\u4f7f\u7528\u7684\u662f ST \u516c\u53f8\u51fa\u7684\u7b80\u6613\u4eff\u771f\u5668 ST-Link , \u90a3\u4e48\u4f60\u5c31\u9009\u62e9 &#8220;ST-Link Debug&#8221;.<\/p>\n<p>\u6ce8\u610f: \u53f3\u8fb9\u5f53\u4e2d\u7684\u9009\u9879 &#8220;Run to main{}&#8221; \u9009\u9879\u5982\u679c\u52fe\u4e0a\u5c31\u8868\u793a\u4eff\u771f\u65f6\u8fdb\u5165\u4e86\u5c31\u4f1a\u8fdb\u5165\u5230 main \u51fd\u6570,  \u5982\u679c\u6ca1\u6709\u9009\u4e0a\u5c31\u4f1a\u8fdb\u5165\u521d\u59cb\u5730\u5740, \u4f60\u9700\u8981\u81ea\u5df1\u6253\u65ad\u70b9\u8fd0\u884c\u5230\u4f60\u7684\u4e3b\u7a0b\u5e8f main \u5904.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/011732A3m.gif\" border=\"0\" alt=\"\" \/> <img decoding=\"async\" id=\"aimg_10\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/011744ycg.gif\" alt=\"7.GIF\" width=\"600\" \/><\/p>\n<div id=\"aimg_10_menu\"><a title=\"7.GIF\" href=\"http:\/\/www.mystm32.com\/bbs\/attachment.php?aid=10&#038;k=a4fc5fec71c0b51da3c9a000e50017ba&#038;t=1257839026&#038;nothumb=yes&#038;sid=44eeus%2FQfyGb4JWaNkh4a2mwyhaJCFNCnHcRh7S16THSyeo\" target=\"_blank\"><strong>\u4e0b\u8f7d<\/strong><\/a> (16.47 KB)\n<div>2009-7-28 22:35<\/div>\n<\/div>\n<p>\u5f53\u63d2\u4e0a\u4eff\u771f\u5668\u540e\u9009\u62e9\u4e0a\u9762\u53f3\u56fe\u4e2d\u7684 Setting \u540e\u4f1a\u8df3\u51fa\u4e00\u4e2a\u4eff\u771f\u5668\u7684\u914d\u7f6e\u83dc\u5355. \u5de6\u8fb9\u4f1a<\/p>\n<p>\u81ea\u52a8<\/p>\n<p>\u8bc6\u522b\u51fa\u4f60\u7684\u4eff\u771f\u5668\u7684\u4fe1\u606f.<\/p>\n<p>\u5982\u4e0b\u56fe\u4e3a ULINK2 \u7684\u4fe1\u606f:<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/011732A3m.gif\" border=\"0\" alt=\"\" \/> <img decoding=\"async\" id=\"aimg_11\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/011745P7u.gif\" alt=\"8.GIF\" width=\"600\" \/><\/p>\n<div id=\"aimg_11_menu\"><a title=\"8.GIF\" href=\"http:\/\/www.mystm32.com\/bbs\/attachment.php?aid=11&#038;k=65513a3782bc986ff396a7cf28bad116&#038;t=1257839026&#038;nothumb=yes&#038;sid=44eeus%2FQfyGb4JWaNkh4a2mwyhaJCFNCnHcRh7S16THSyeo\" target=\"_blank\"><strong>\u4e0b\u8f7d<\/strong><\/a> (16.64 KB)\n<div>2009-7-28 22:40<\/div>\n<\/div>\n<p>\u5bf9\u4e8e SWJ \u9009\u9879\u4e3a\u4e09\u7ebf\u5236\u8c03\u8bd5, \u5c06\u5728\u540e\u9762\u7684\u9ad8\u7ea7\u6559\u7a0b\u4e2d\u4ecb\u7ecd.<\/p>\n<p>\u53f3\u4e0b\u65b9\u6709\u4e24\u4e2a\u9009\u9879:<\/p>\n<p>&#8220;Verify Code Download&#8221; : \u8868\u793a\u4e0b\u8f7d\u540e\u6821\u9a8c\u6570\u636e<\/p>\n<p>&#8220;Download to<\/p>\n<p>flash<\/p>\n<p>&#8220;: \u8868\u793a\u5f53\u4eff\u771f\u7684\u65f6\u5019\u5148\u5c06\u76ee\u6807\u4ee3\u7801\u4e0b\u8f7d\u5230 Flash \u4e2d.<\/p>\n<p>Trace \u83dc\u5355\u4e3a\u8ddf\u8e2a\u914d\u7f6e, \u53ef\u4ee5\u5b9e\u65f6\u7684\u5c06\u4e00\u4e9b\u53d8\u91cf\u4f7f\u7528\u66f2\u7ebf\u7684\u5f62\u5f0f\u5b9e\u65f6\u8868\u793a\u51fa\u6765, \u6211\u4eec\u5c06\u5728\u4eca\u540e\u7684\u9ad8\u7ea7\u6559\u7a0b\u4e2d\u4ecb\u7ecd\u8fd9\u4e00\u9879\u529f\u80fd.<\/p>\n<p>\u6ce8\u610f: \u5e02\u9762\u4e0a\u76ee\u524d\u7684\u76d7\u7248 Ulink2 \u4e0d\u652f\u6301\u8fd9\u9879\u529f\u80fd, \u6b63\u7248\u7684\u652f\u6301, Jlink \u4e5f\u4e0d\u652f\u6301\u8fd9\u9879\u529f\u80fd.<\/p>\n<p>&#8220;Flash Download&#8221; \u83dc\u5355\u7528\u6765\u914d\u7f6e\u4f7f\u7528\u4eff\u771f\u5668\u7a0b\u5e8f\u4e0b\u8f7d\u7684\u914d\u7f6e\u9009\u9879,\u00a0\u00a0\u5927\u5bb6\u52a1\u5fc5\u9009\u62e9\u597d\u548c\u4f60\u82af\u7247\u914d\u5957\u7684\u9009\u9879.  \u5982\u679c\u4f60\u662f\u4f7f\u7528\u7684\u522b\u4eba\u6a21\u677f\u4e0b\u4fee\u6539\u4e3a\u4f60\u7684\u5de5\u7a0b, \u8fd9\u4e2a\u9009\u9879\u8bf7\u6ce8\u610f\u4e00\u4e0b, \u5982\u679c\u4e0d\u6b63\u786e\u5c06\u4e0d\u80fd\u5c06\u4f60\u7684\u4ee3\u7801\u4e0b\u8f7d\u5230\u82af\u7247\u4e2d.<\/p>\n<p>\u914d\u7f6e\u597d &#8220;Debug&#8221; \u540e, \u90a3\u4e48 &#8220;Utilities&#8221; \u53ef\u4ee5\u4e0d\u7528\u914d\u7f6e.<\/p>\n<p>\u5982\u679c\u4f60\u4f7f\u7528\u7684\u662f\u4eff\u771f\u5668\u4eff\u771f, \u5728\u4f60\u5df2\u7ecf\u6b63\u786e\u5f97\u5c06\u76ee\u6807\u677f\u548c\u4eff\u771f\u5668\u5efa\u7acb\u4e86\u7269\u7406\u8fde\u63a5\u540e, \u8bf7\u9009\u62e9\u6b63\u786e\u7684\u4eff\u771f\u5668\u8fdb\u884c\u914d\u7f6e.<\/p>","protected":false},"excerpt":{"rendered":"<p>\u5165\u95e8\u51c6\u5907: \u6211\u4eec\u5e38\u7528\u7684 STM32 \u5f00\u53d1\u7f16\u8bd1\u73af\u5883\u4e3a Keil \u516c\u53f8\u7684 MDK (Microcontroller Development Kit) \u548c IAR \u516c\u53f8\u7684 EWARM. \u5728\u8fd9\u91cc\u6211\u4eec\u63d0\u4f9b\u4e86\u6bd4\u8f83&#46;&#46;&#46;<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39],"tags":[40,41],"class_list":["post-76","post","type-post","status-publish","format-standard","hentry","category-scm","tag-mdk","tag-stm32"],"_links":{"self":[{"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/76","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/comments?post=76"}],"version-history":[{"count":1,"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/76\/revisions"}],"predecessor-version":[{"id":77,"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/76\/revisions\/77"}],"wp:attachment":[{"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/media?parent=76"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/categories?post=76"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/tags?post=76"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}