{"id":236,"date":"2011-11-19T18:59:21","date_gmt":"2011-11-19T18:59:21","guid":{"rendered":"http:\/\/ava.upuaut.net\/?p=236"},"modified":"2011-11-24T15:22:36","modified_gmt":"2011-11-24T15:22:36","slug":"arduino-bootloader-with-olimex-avr-isp500","status":"publish","type":"post","link":"https:\/\/ava.upuaut.net\/?p=236","title":{"rendered":"Arduino Bootloader with Olimex AVR-ISP500"},"content":{"rendered":"<p>The new flight hardware will effectively be an <a href=\"http:\/\/arduino.cc\/en\/Main\/ArduinoBoardPro\">Arduino Pro<\/a> at its core. As I&#8217;m planning on using surface mount chips I won&#8217;t be able to use the existing Arduino Duemilanove boards I have to burn the bootloader. So I purchased a\u00a0<a href=\"http:\/\/www.olimex.com\/dev\/avr-isp500.html\">Olimex AVR-ISP500<\/a>. I built the customised Arduino Pro on some prototyping boards and tried to get the bootloader on.<\/p>\n<p>Initially I got alot of errors, a quick hunt round the Arduino forums indicates to get the bootloader to work with the AVR-ISP500 you need to amend programmers.txt in ..\\arduino-0023\\hardware\\arduino :<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n\r\navrisp.name=AVR ISP\r\navrisp.communication=serial\r\navrisp.protocol=stk500v2\r\n<\/pre>\n<p>Another little trick I discovered is you can program the Arduino using the ICSP programmer. Amend the<\/p>\n<p>C:\\Users\\&lt;&lt;username&gt;&gt;\\AppData\\Roaming\\Arduino\\preferences.txt file and add :<\/p>\n<p>upload.using = avrisp<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-237 alignnone\" title=\"IMG_0307\" src=\"\/\/ava.upuaut.net\/wp-content\/uploads\/2011\/11\/IMG_0307-1024x768.jpg\" alt=\"\" width=\"620\" height=\"465\" srcset=\"https:\/\/ava.upuaut.net\/wp-content\/uploads\/2011\/11\/IMG_0307-1024x768.jpg 1024w, https:\/\/ava.upuaut.net\/wp-content\/uploads\/2011\/11\/IMG_0307-300x225.jpg 300w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/p>\n<p>That done it all works nicely. The board is now running at 3.3v so the GPS is happy. However the crystal I have is a 16Mhz one. I think its leading to some timing errors when using software serial. I switched to New Software Serial which is better but still having a few errors. I&#8217;ll switch out the 16Mhz crystal with the correct 8Mhz one shortly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The new flight hardware will effectively be an Arduino Pro at its core. As I&#8217;m planning on using surface mount chips I won&#8217;t be able to use the existing Arduino Duemilanove boards I have to burn the bootloader. So I &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/ava.upuaut.net\/?p=236\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-236","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/ava.upuaut.net\/index.php?rest_route=\/wp\/v2\/posts\/236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ava.upuaut.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ava.upuaut.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ava.upuaut.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ava.upuaut.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=236"}],"version-history":[{"count":3,"href":"https:\/\/ava.upuaut.net\/index.php?rest_route=\/wp\/v2\/posts\/236\/revisions"}],"predecessor-version":[{"id":239,"href":"https:\/\/ava.upuaut.net\/index.php?rest_route=\/wp\/v2\/posts\/236\/revisions\/239"}],"wp:attachment":[{"href":"https:\/\/ava.upuaut.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ava.upuaut.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ava.upuaut.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}