{"id":961,"date":"2017-04-29T11:57:05","date_gmt":"2017-04-29T03:57:05","guid":{"rendered":"http:\/\/www.luwl.net\/?p=961"},"modified":"2017-04-29T11:57:05","modified_gmt":"2017-04-29T03:57:05","slug":"usbisp%e4%b8%8b%e8%bd%bdarduino-bootloaders","status":"publish","type":"post","link":"http:\/\/www.luwl.net\/?p=961","title":{"rendered":"USBISP\u4e0b\u8f7darduino bootloaders"},"content":{"rendered":"<p>\u624b\u4e0a\u4e00\u5757arduino\u4e0d\u5de5\u4f5c\u4e86\uff0c\u6000\u7591\u82af\u7247\u6545\u969c\u4e86\uff0c\u65b0\u4e70\u6765328P\u540e\u53ea\u662f\u5757avr\u5355\u7247\u673a\uff0c\u5e76\u4e0d\u80fd\u76f4\u63a5\u7528\u6765\u505aarduino\uff0c\u9700\u8981\u5237\u5165arduino\u7684 bootloaders\u540e\u5c31\u662f\u4e00\u6837\u7684arduino\u4e86\u3002<\/p>\n<p>\u4e70\u6765usb ISP\uff0c\u624d\u53d1\u73b0arduino\u7684IDE\u91cc\u53ea\u652f\u6301\u7684\u7f16\u7a0b\u5668\u540d\u79f0\u6709USBtinyISP\u548cUSBasp\uff0c\u867d\u7136\u6211\u4e0d\u77e5\u9053\u8fd9\u51e0\u79cd\u4e0eUSBISP\u6709\u4ec0\u4e48\u533a\u522b\uff0c\u4f46\u663e\u7136\u8ddf\u6211\u624b\u4e0a\u8fd9\u4e2a\u8fd8\u6709\u70b9\u5dee\u522b\u3002<\/p>\n<p>USBISP\u5c31\u662f\u70e7\u5f55avr\u548c51\u7684\u70e7\u5f55\u5668\uff0c\u80af\u5b9a\u662f\u652f\u6301\u6211\u6765\u70e7\u5f55bootloaders\u7684\u3002<\/p>\n<p>\u9996\u5148\uff0c\u7f16\u7a0b\u5668\u5e26\u7684\u7ebf\u662f10PIN\u7684\uff0carduino\u4e0a\u7684\u7f16\u7a0b\u53e3\u662f6PIN\u7684\uff0c\u9700\u8981\u4e00\u4e2a\u8f6c\u6362\u3002<\/p>\n<p>\u7f51\u4e0a\u6709\u4e13\u95e8\u5356\u8f6c\u6362\u63d2\u5934\uff0c\u663e\u7136\u6211\u6ca1\u6709\u4e70\uff0c\u6839\u636e\u5f15\u811a\u5b9a\u4e49\uff0c\u76f4\u63a5\u7528\u675c\u90a6\u7ebf\u8fde\u63a5\u8d77\u6765\u5c31\u53ef\u4ee5\u4e86\u3002<a href=\"http:\/\/www.luwl.net\/?attachment_id=962\" rel=\"attachment wp-att-962\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-962\" src=\"http:\/\/www.luwl.net\/wp-content\/uploads\/2017\/04\/10pinto6pin-300x282.png\" alt=\"\" width=\"300\" height=\"282\" srcset=\"http:\/\/www.luwl.net\/wp-content\/uploads\/2017\/04\/10pinto6pin-300x282.png 300w, http:\/\/www.luwl.net\/wp-content\/uploads\/2017\/04\/10pinto6pin.png 594w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u4ee5\u4e0b\u5f15\u7528\u4e86\u522b\u4eba\u7684\u56fe\u7247\uff1a<\/p>\n<p><strong>\u70e7\u5199mega328p\u7684bootloader:<\/strong> \u5982\u4e0b\u56fe\uff0c\u63d2\u597d\u8bbe\u5907\u677f\u4e0a\u7684&#8221;ON&#8221;\u6307\u793a\u706f\u4f1a\u70b9\u4eae\u3002<\/p>\n<p>\u6253\u5f00\u8f6f\u4ef6progisp\uff0c\u6b65\u9aa4\u5982\u4e0b<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-964\" src=\"http:\/\/www.luwl.net\/wp-content\/uploads\/2017\/04\/2-300x200.jpg\" alt=\"\" width=\"300\" height=\"200\" srcset=\"http:\/\/www.luwl.net\/wp-content\/uploads\/2017\/04\/2-300x200.jpg 300w, http:\/\/www.luwl.net\/wp-content\/uploads\/2017\/04\/2.jpg 750w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>1\u3001\u4fee\u6539\u82af\u7247\u4e3a328P<br \/>\n2\u3001\u70b9\u51fbRD\uff0c\u4e0b\u8fb9\u5e94\u63d0\u793a\u8bfb\u51faID\u6210\u529f\u3002<br \/>\n3\u3001\u7194\u4e1d\u4f4d\u8bbe\u7f6e\u3002<br \/>\n\u5728hardware\\arduino\\avr\\boards.txt\u6587\u4ef6\u91cc\u6709\u8fd9\u6837\u4ee3\u7801\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n\r\n##############################################################\r\n\r\nuno.name=Arduino\/Genuino Uno\r\n\r\nuno.vid.0=0x2341\r\nuno.pid.0=0x0043\r\nuno.vid.1=0x2341\r\nuno.pid.1=0x0001\r\nuno.vid.2=0x2A03\r\nuno.pid.2=0x0043\r\nuno.vid.3=0x2341\r\nuno.pid.3=0x0243\r\n\r\nuno.upload.tool=avrdude\r\nuno.upload.protocol=arduino\r\nuno.upload.maximum_size=32256\r\nuno.upload.maximum_data_size=2048\r\nuno.upload.speed=115200\r\n\r\nuno.bootloader.tool=avrdude\r\nuno.bootloader.low_fuses=0xFF\r\nuno.bootloader.high_fuses=0xDE\r\nuno.bootloader.extended_fuses=0x05\r\nuno.bootloader.unlock_bits=0x3F\r\nuno.bootloader.lock_bits=0x0F\r\nuno.bootloader.file=optiboot\/optiboot_atmega328.hex\r\n\r\nuno.build.mcu=atmega328p\r\nuno.build.f_cpu=16000000L\r\nuno.build.board=AVR_UNO\r\nuno.build.core=arduino\r\nuno.build.variant=standard\r\n\r\n##############################################################\r\n\r\n<\/pre>\n<p>uno.bootloader.low_fuses=0xFF<br \/>\nuno.bootloader.high_fuses=0xDE<br \/>\nuno.bootloader.extended_fuses=0x05<\/p>\n<p>\u5c31\u662f\u8bf4\u7194\u65ad\u4f4d\u5e94\u8bbe\u7f6e\u4e3a\u4f4e\u4f4dFF\uff0c\u9ad8\u4f4dDE\uff0c\u6269\u5c55\u4f4d05<\/p>\n<p><a href=\"http:\/\/www.luwl.net\/?attachment_id=965\" rel=\"attachment wp-att-965\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-965\" src=\"http:\/\/www.luwl.net\/wp-content\/uploads\/2017\/04\/arduino\u7194\u4e1d\u4f4d-300x200.png\" alt=\"\" width=\"300\" height=\"200\" srcset=\"http:\/\/www.luwl.net\/wp-content\/uploads\/2017\/04\/arduino\u7194\u4e1d\u4f4d-300x200.png 300w, http:\/\/www.luwl.net\/wp-content\/uploads\/2017\/04\/arduino\u7194\u4e1d\u4f4d.png 750w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u8bbe\u7f6e\u597d\u540e\u8981\u5199\u5165\uff0c\u68c0\u9a8c\u7194\u4e1d\u4f4d\u6709\u6ca1\u6709\u6b63\u786e\u5199\u5165\uff0c\u53ef\u4ee5\u5728\u70b9\u5199\u5165\u4e4b\u540e\u518d\u70b9\u8bfb\u51fa\uff0c\u770b\u662f\u5426\u4e0e\u5199\u5165\u76f8\u540c\uff01<\/p>\n<p>4\u3001\u8c03\u7528flash\u6587\u4ef6\uff0c\u6587\u4ef6\u5728hardware\\arduino\\avr\\bootloaders\\optiboot\\optiboot_atmega328.hex<\/p>\n<p>5\u3001\u70b9\u81ea\u52a8\uff0c\u7a0d\u7b49\u4e00\u4e0b\u5c31\u53ef\u4ee5\u6d4b\u8bd5arduino\u4e86\u3002<\/p>\n<p><a href=\"http:\/\/www.luwl.net\/?attachment_id=966\" rel=\"attachment wp-att-966\">ISP\u4e0b\u8f7d\u8f6f\u4ef6<\/a><\/p>\n<p>\u6269\u5c55\uff1a\u539f\u7248arduino uno R3 \u7684\u4e32\u53e3\u662f<strong>Mega16u2<\/strong>\uff0c\u70e7\u5f55\u4e32\u53e3\u7684\u65b9\u5f0f\u662f\u7194\u4e1d\u4f4d\uff1a\u4f4e\u4f4dFF\uff0c\u9ad8\u4f4dD9\uff0c\u6269\u5c55\u4f4df4.\u56fa\u4ef6\u5728\\hardware\\arduino\\avr\\firmwares\\atmegaxxu2\\Arduino-COMBINED-dfu-usbserial-atmega16u2-Uno-Rev3.hex<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u624b\u4e0a\u4e00\u5757arduino\u4e0d\u5de5\u4f5c\u4e86\uff0c\u6000\u7591\u82af\u7247\u6545\u969c\u4e86\uff0c\u65b0\u4e70\u6765328P\u540e\u53ea\u662f\u5757avr\u5355\u7247 &hellip; <a href=\"http:\/\/www.luwl.net\/?p=961\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-961","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.luwl.net\/index.php?rest_route=\/wp\/v2\/posts\/961","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.luwl.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.luwl.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.luwl.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.luwl.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=961"}],"version-history":[{"count":1,"href":"http:\/\/www.luwl.net\/index.php?rest_route=\/wp\/v2\/posts\/961\/revisions"}],"predecessor-version":[{"id":967,"href":"http:\/\/www.luwl.net\/index.php?rest_route=\/wp\/v2\/posts\/961\/revisions\/967"}],"wp:attachment":[{"href":"http:\/\/www.luwl.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=961"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.luwl.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=961"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.luwl.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}