{"id":121,"date":"2007-10-11T10:34:47","date_gmt":"2007-10-11T15:34:47","guid":{"rendered":"http:\/\/www.tigoe.net\/pcomp\/code\/category\/code\/arduinowiring\/121"},"modified":"2008-01-15T21:32:42","modified_gmt":"2008-01-16T02:32:42","slug":"usbtinyisp","status":"publish","type":"post","link":"https:\/\/www.tigoe.com\/pcomp\/code\/arduinowiring\/121\/","title":{"rendered":"USBTinyISP"},"content":{"rendered":"<p>Recently, I&#8217;d been trying to re-program some Atmega168&#8217;s for use in <a href=\"http:\/\/www.arduino.cc\">Arduino<\/a> modules, and was having no luck using my AVRISP MkII programmer. All appeared to be working, but it kept failing.  I even dug into the details of <a href=\"http:\/\/www.bsdhome.com\/avrdude\/\">avrdude<\/a>, and the programmer responded as if it was working but delivered no love.<\/p>\n<p>Fortunately I had on hand a <a href=\"http:\/\/www.adafruit.com\/index.php?main_page=product_info&amp;products_id=46&amp;zenid=3acfdcbe51c161bc7a5d03790527c785\">USBTinyISP<\/a> from <a href=\"http:\/\/www.adafruit.com\/\">Adafruit<\/a>.  Even more fortunately, Limor Fried has written some <a href=\"http:\/\/www.ladyada.net\/make\/usbtinyisp\/\">nice instructions<\/a> on the programmer and on installing and running avrdude to program with it.  What&#8217;s nice is that she&#8217;s packaged the software well, so you can run it without too much hassle.  The only thing I had to learn was how to point avrdude at her custom config file, by using the -C flag, like so:<\/p>\n<pre>.\/avrdude -C avrdude.conf -v -p m168 -e\n<\/pre>\n<p>(etc)<\/p>\n<p>Even nicer, David Mellis is including support for this programmer in Arduino 0010, so that I can burn new bootloader firmware onto the chips using it without needing to touch the command line app.<\/p>\n<p>Even nicer still: her programmer&#8217;s cheaper than the AVRISP mkII (of which I have blown up a few). I may blow this one up in time too, but I&#8217;ll be able to afford to replace it much easier.<\/p>\n<p><!-- technorati tags start --><\/p>\n<p style=\"text-align:right;font-size:10px;\">Technorati Tags: <a href=\"http:\/\/www.technorati.com\/tag\/atmel\" rel=\"tag\">atmel<\/a>, <a href=\"http:\/\/www.technorati.com\/tag\/electronics\" rel=\"tag\">electronics<\/a><\/p>\n<p><!-- technorati tags end --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently, I&#8217;d been trying to re-program some Atmega168&#8217;s for use in Arduino modules, and was having no luck using my AVRISP MkII programmer&#8230;.  Even more fortunately, Limor Fried has written some nice instructions on the programmer and on installing and running avrdude to program with it.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,24],"tags":[],"class_list":["post-121","post","type-post","status-publish","format-standard","hentry","category-arduinowiring","category-circuits"],"_links":{"self":[{"href":"https:\/\/www.tigoe.com\/pcomp\/code\/wp-json\/wp\/v2\/posts\/121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tigoe.com\/pcomp\/code\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tigoe.com\/pcomp\/code\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tigoe.com\/pcomp\/code\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tigoe.com\/pcomp\/code\/wp-json\/wp\/v2\/comments?post=121"}],"version-history":[{"count":0,"href":"https:\/\/www.tigoe.com\/pcomp\/code\/wp-json\/wp\/v2\/posts\/121\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tigoe.com\/pcomp\/code\/wp-json\/wp\/v2\/media?parent=121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tigoe.com\/pcomp\/code\/wp-json\/wp\/v2\/categories?post=121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tigoe.com\/pcomp\/code\/wp-json\/wp\/v2\/tags?post=121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}