{"id":129,"date":"2017-02-27T14:56:45","date_gmt":"2017-02-27T14:56:45","guid":{"rendered":"http:\/\/123.203.74.171:8080\/wordpress\/?p=129"},"modified":"2020-02-22T14:53:54","modified_gmt":"2020-02-22T06:53:54","slug":"%e6%9c%89%e9%97%9c-attiny244484-%e7%b3%bb%e5%88%97%e4%bb%a5-usbisp-%e5%af%ab%e5%85%a5%e4%b9%8b%e7%a0%94%e7%a9%b6","status":"publish","type":"post","link":"https:\/\/imuslab.com\/wordpress\/2017\/02\/27\/%e6%9c%89%e9%97%9c-attiny244484-%e7%b3%bb%e5%88%97%e4%bb%a5-usbisp-%e5%af%ab%e5%85%a5%e4%b9%8b%e7%a0%94%e7%a9%b6\/","title":{"rendered":"\u6709\u95dc ATtiny24\/44\/84 \u7cfb\u5217\u4ee5 USBISP \u5beb\u5165\u4e4b\u7814\u7a76"},"content":{"rendered":"<p>\u7531\u65bc\u627e\u597d\u5e7e\u5929\u624d\u627e\u5230\u89e3\u6c7a\u65b9\u6cd5\uff0c\u6240\u4ee5\u4e00\u6b21\u904e\u5728\u9019\u88e1\u516c\u958b\u51fa\u4f86\u65b9\u4fbf\u5f8c\u4eba(?) \u7684\u7814\u7a76\u4e86\u3002<br \/>\n\u9996\u5148\uff0c\u5982\u679c\u4f60\u4f7f\u7528\u4e2d\u570b\u5236\u7684 USBISP \u60f3\u628a Arduino ino \u6a94\u71d2\u5165\u7684\u8a71\uff0c\u662f\u7121\u6cd5\u76f4\u63a5\u4f7f\u7528 Arduino IDE \u88e1\u9762\u7684\u529f\u80fd\u3002<\/p>\n<p>\u4f60\u6703\u7559\u610f\u5230\uff0c\u4f60\u7684 USBISP \u8ddf \u5916\u570b\u7684 USBISP \u6700\u5927\u5206\u5225\u5c31\u662f\u5225\u4eba\u7684\u662f Unknown Devices\uff0c<br \/>\n\u4f46\u662f\u4f60\u7684 USBISP \u537b\u88ab\u5206\u985e\u6210\u300c\u4eba\u6027\u5316\u88dd\u7f6e\u300d\u548c\u300cUSB\u8f38\u5165\u88dd\u7f6e\u300d\u4e86\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-130 size-full\" src=\"http:\/\/124.244.86.40:8080\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-41-14.png\" alt=\"2017-02-27_22-41-14\" width=\"227\" height=\"58\" \/><\/p>\n<p>\u4e0d\u7528\u64d4\u5fc3\uff0c\u9019\u500b\u662f\u7b26\u5408\u570b\u60c5\u7684\u3002<\/p>\n<p>\u9996\u5148\uff0c\u4f60\u8981\u5b89\u88dd\u4e00\u500b\u53eb USBASP driver \u7684\u6771\u897f\u3002<br \/>\n<a href=\"http:\/\/www.fischl.de\/usbasp\/\">http:\/\/www.fischl.de\/usbasp\/<\/a><\/p>\n<p>\u4e4b\u5f8c\uff0c\u4f60\u6703\u767c\u73fe\u9019\u500b\u88dd\u7f6e\u5728\u88dd\u7f6e\u7ba1\u7406\u54e1\u5167\u9084\u662f\u7dad\u6301\u539f\u6a23\uff0c\u90a3\u90fd\u662f\u5341\u5206\u6b63\u5e38\u7684\u3002<br \/>\n\u56e0\u70ba\u7576\u4f60\u71d2\u9304\u7684\u6642\u5019\uff0c\u4e0d\u662f\u7d93\u904e Arduino IDE\uff0c\u800c\u662f\u8981\u7d93\u904eprogisp172 \u9019\u500b\u8edf\u4ef6\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-132 size-full\" src=\"http:\/\/124.244.86.40:8080\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-46-13.png\" alt=\"2017-02-27_22-46-13\" width=\"694\" height=\"638\" srcset=\"https:\/\/imuslab.com\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-46-13.png 694w, https:\/\/imuslab.com\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-46-13-300x276.png 300w, https:\/\/imuslab.com\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-46-13-294x270.png 294w\" sizes=\"auto, (max-width: 694px) 100vw, 694px\" \/><\/p>\n<p>\u4ee5\u4e0b\u70ba\u71d2\u9304\u65b9\u6cd5\u7c21\u7565\u8aaa\u660e\uff1a<\/p>\n<ol>\n<li>\u628a\u5beb\u597d\u7684 Arduino Code Compile \u4e00\u6b21\uff0c\u5728 Console \u88e1\u627e\u5230\u66ab\u5b58\u6a94\u4f4d\u7f6e<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-133 size-large\" src=\"http:\/\/124.244.86.40:8080\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-47-27-1024x84.png\" alt=\"2017-02-27_22-47-27\" width=\"1024\" height=\"84\" srcset=\"https:\/\/imuslab.com\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-47-27-1024x84.png 1024w, https:\/\/imuslab.com\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-47-27-300x25.png 300w, https:\/\/imuslab.com\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-47-27-768x63.png 768w, https:\/\/imuslab.com\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-47-27-604x50.png 604w, https:\/\/imuslab.com\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-47-27.png 1252w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/li>\n<li>\u6253\u958b\u66ab\u5b58\u4f4d\u7f6e\uff0c\u627e\u5230 hex \u6587\u4ef6\u3002(e.g. C:\\users\\username\\AppData\\Local\\Temp\\buildbe0918a459eda816fa58157343180169.tmp\\your_file_name.hex)<\/li>\n<li>\u56de\u5230progisp172\uff0c\u9078\u64c7Load Flash\uff0c\u6253\u958b\u4e0a\u9762\u627e\u5230\u7684 hex \u6587\u4ef6\u3002<\/li>\n<li>\u4f7f\u7528 fuse calculator \u627e\u5230\u9069\u5408\u7684\u71d2\u9304\u53c3\u6578\uff1a<a href=\"http:\/\/www.engbedded.com\/fusecalc\/\">http:\/\/www.engbedded.com\/fusecalc\/<\/a><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-134 size-full\" src=\"http:\/\/124.244.86.40:8080\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-49-49.png\" alt=\"2017-02-27_22-49-49\" width=\"819\" height=\"270\" srcset=\"https:\/\/imuslab.com\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-49-49.png 819w, https:\/\/imuslab.com\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-49-49-300x99.png 300w, https:\/\/imuslab.com\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-49-49-768x253.png 768w, https:\/\/imuslab.com\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-49-49-604x199.png 604w\" sizes=\"auto, (max-width: 819px) 100vw, 819px\" \/><\/li>\n<li>\u518d\u6b21\u56de\u5230progisp172\uff0c\u628a\u7db2\u7ad9\u4e0a\u8a08\u5230\u7684 Low, High Fuse \u5206\u5225\u586b\u5230\u71d2\u9304\u8edf\u4ef6\u88e1\u7684 LowValue \u8ddf HighValue<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-135 size-full\" src=\"http:\/\/124.244.86.40:8080\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-50-29.png\" alt=\"2017-02-27_22-50-29\" width=\"511\" height=\"304\" srcset=\"https:\/\/imuslab.com\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-50-29.png 511w, https:\/\/imuslab.com\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-50-29-300x178.png 300w, https:\/\/imuslab.com\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-50-29-454x270.png 454w\" sizes=\"auto, (max-width: 511px) 100vw, 511px\" \/><\/li>\n<li>\u5b8c\u6210\u5f8c\u6309 Select Chip \u53f3\u5247\u7684\u7bad\u982d\uff0c\u6839\u64da\u5716\u793a\u9023\u63a5 Micro Controller \u7684\u7a0b\u5f0f\u71d2\u9304\u8173\u4f4d<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-136 size-full\" src=\"http:\/\/124.244.86.40:8080\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-54-15.png\" alt=\"2017-02-27_22-54-15\" width=\"375\" height=\"166\" srcset=\"https:\/\/imuslab.com\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-54-15.png 375w, https:\/\/imuslab.com\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-54-15-300x133.png 300w\" sizes=\"auto, (max-width: 375px) 100vw, 375px\" \/><\/li>\n<li>\u6700\u5f8c\u6309 Auto\uff0c\u5373\u53ef\u5b8c\u6210\u71d2\u9304\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-131 size-full\" src=\"http:\/\/124.244.86.40:8080\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-35-51.png\" alt=\"2017-02-27_22-35-51\" width=\"577\" height=\"273\" srcset=\"https:\/\/imuslab.com\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-35-51.png 577w, https:\/\/imuslab.com\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-35-51-300x142.png 300w, https:\/\/imuslab.com\/wordpress\/wp-content\/uploads\/2017\/02\/2017-02-27_22-35-51-571x270.png 571w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><\/li>\n<\/ol>\n<p>\u5982\u679c\u767c\u73fe\u9a45\u52d5\u6709\u554f\u984c\u53c8\u6216\u8005\u51fa\u73fe &#8220;chip enable program error&#8221;\uff0c\u53ef\u4ee5\u53c3\u8003\u9019\u7bc7\u6587\u7ae0\uff1a<\/p>\n<p><a href=\"http:\/\/www.academia.edu\/8278452\/How_to_solve_chip_enable_program_error_in_progisp\">http:\/\/www.academia.edu\/8278452\/How_to_solve_chip_enable_program_error_in_progisp<\/a><\/p>\n<blockquote>\n<div class=\"ff0\"><span class=\"a\">1. Check if the USBasp driver is properly installed (update it from settings). <\/span><\/div>\n<div class=\"ff0\"><span class=\"a\">2. Recheck the jumpers. Change them if they are weakly connected. <\/span><\/div>\n<div class=\"ff0\"><span class=\"a\">3. Try to change the port, sometimes some ports can malfunction (ex. from port 1 to port 0). <\/span><\/div>\n<div class=\"ff0\"><span class=\"a\">4. Press reset button for 10 seconds. <\/span><\/div>\n<div class=\"ff0\"><span class=\"a\">5. Try to erase current program from progisp compiler, and load flash of hex file again.<\/span><\/div>\n<\/blockquote>\n<div class=\"ff0\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u7531\u65bc\u627e\u597d\u5e7e\u5929\u624d\u627e\u5230\u89e3\u6c7a\u65b9\u6cd5\uff0c\u6240\u4ee5\u4e00\u6b21\u904e\u5728\u9019\u88e1\u516c\u958b\u51fa\u4f86\u65b9\u4fbf\u5f8c\u4eba(?) \u7684\u7814\u7a76\u4e86\u3002 \u9996\u5148\uff0c\u5982\u679c\u4f60\u4f7f\u7528\u4e2d\u570b\u5236\u7684 USBISP \u60f3\u628a Arduino ino \u6a94\u71d2\u5165\u7684\u8a71\uff0c\u662f\u7121\u6cd5\u76f4\u63a5\u4f7f\u7528 Arduino IDE \u88e1\u9762\u7684\u529f\u80fd\u3002 \u4f60\u6703\u7559\u610f\u5230\uff0c\u4f60\u7684 USBISP \u8ddf \u5916\u570b\u7684 USBISP \u6700\u5927\u5206\u5225\u5c31\u662f\u5225\u4eba\u7684\u662f Unknown Devices\uff0c \u4f46\u662f\u4f60\u7684 USBISP \u537b\u88ab\u5206\u985e\u6210\u300c\u4eba\u6027\u5316\u88dd\u7f6e\u300d\u548c\u300cUSB\u8f38\u5165\u88dd\u7f6e\u300d\u4e86\u3002 \u4e0d\u7528\u64d4\u5fc3\uff0c\u9019\u500b\u662f\u7b26\u5408\u570b\u60c5\u7684\u3002 \u9996\u5148\uff0c\u4f60\u8981\u5b89\u88dd\u4e00\u500b\u53eb USBASP driver \u7684\u6771\u897f\u3002 http:\/\/www.fischl.de\/usbasp\/ \u4e4b\u5f8c\uff0c\u4f60\u6703\u767c\u73fe\u9019\u500b\u88dd\u7f6e\u5728\u88dd\u7f6e\u7ba1\u7406\u54e1\u5167\u9084\u662f\u7dad\u6301\u539f\u6a23\uff0c\u90a3\u90fd\u662f\u5341\u5206\u6b63\u5e38\u7684\u3002 \u56e0\u70ba\u7576\u4f60\u71d2\u9304\u7684\u6642\u5019\uff0c\u4e0d\u662f\u7d93\u904e Arduino IDE\uff0c\u800c\u662f\u8981\u7d93\u904eprogisp172 \u9019\u500b\u8edf\u4ef6\u3002 \u4ee5\u4e0b\u70ba\u71d2\u9304\u65b9\u6cd5\u7c21\u7565\u8aaa\u660e\uff1a \u628a\u5beb\u597d\u7684 Arduino Code Compile \u4e00\u6b21\uff0c\u5728 Console \u88e1\u627e\u5230\u66ab\u5b58\u6a94\u4f4d\u7f6e \u6253\u958b\u66ab\u5b58\u4f4d\u7f6e\uff0c\u627e\u5230 hex \u6587\u4ef6\u3002(e.g. C:\\users\\username\\AppData\\Local\\Temp\\buildbe0918a459eda816fa58157343180169.tmp\\your_file_name.hex) \u56de\u5230progisp172\uff0c\u9078\u64c7Load Flash\uff0c\u6253\u958b\u4e0a\u9762\u627e\u5230\u7684 hex \u6587\u4ef6\u3002 \u4f7f\u7528 fuse calculator \u627e\u5230\u9069\u5408\u7684\u71d2\u9304\u53c3\u6578\uff1ahttp:\/\/www.engbedded.com\/fusecalc\/ \u518d\u6b21\u56de\u5230progisp172\uff0c\u628a\u7db2\u7ad9\u4e0a\u8a08\u5230\u7684 Low, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-129","post","type-post","status-publish","format-standard","hentry","category-development-logs"],"_links":{"self":[{"href":"https:\/\/imuslab.com\/wordpress\/wp-json\/wp\/v2\/posts\/129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/imuslab.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/imuslab.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/imuslab.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/imuslab.com\/wordpress\/wp-json\/wp\/v2\/comments?post=129"}],"version-history":[{"count":3,"href":"https:\/\/imuslab.com\/wordpress\/wp-json\/wp\/v2\/posts\/129\/revisions"}],"predecessor-version":[{"id":228,"href":"https:\/\/imuslab.com\/wordpress\/wp-json\/wp\/v2\/posts\/129\/revisions\/228"}],"wp:attachment":[{"href":"https:\/\/imuslab.com\/wordpress\/wp-json\/wp\/v2\/media?parent=129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/imuslab.com\/wordpress\/wp-json\/wp\/v2\/categories?post=129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/imuslab.com\/wordpress\/wp-json\/wp\/v2\/tags?post=129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}