{"id":4017,"date":"2017-04-03T17:28:10","date_gmt":"2017-04-03T17:28:10","guid":{"rendered":"http:\/\/41j.com\/blog\/?p=4017"},"modified":"2017-04-03T17:28:10","modified_gmt":"2017-04-03T17:28:10","slug":"umd1-build-notes","status":"publish","type":"post","link":"https:\/\/41j.com\/blog\/2017\/04\/umd1-build-notes\/","title":{"rendered":"uMD1 Build Notes"},"content":{"rendered":"<p>These are my notes on building Sam and Jan&#8217;s interferometer signal processing firmware for the Chipkit DP32.<\/p>\n<p>First download the firmware, this is the version I used: http:\/\/www.repairfaq.org\/sam\/uMD1\/uMD1_FW_v56.10.ino (<a href=\"http:\/\/41j.com\/blog\/2017\/04\/umd1-build-notes\/umd1_fw_v56-10-ino\/\" rel=\"attachment wp-att-4018\">local copy (gz)<\/a>).<\/p>\n<p>Then install UECIDE, download it here: <a href=\"http:\/\/uecide.org\/download.php\">http:\/\/uecide.org\/download.php<\/a>. I used the latest version on Linux (<a href=\"http:\/\/uecide.org\/downloads\/uecide-0.8.8alpha22-linux.zip\">uecide-0.8.8alpha22-linux.zip<\/a>).<\/p>\n<p>Next in Tools-&gt;Plugin Manager select Boards-&gt;chipKIT-&gt;chipKIT DP32 and then select &#8220;install&#8221;&#8230; wait.<\/p>\n<p>Next in Tools-&gt;Plugin Manager select Compilers-&gt;PIC32-&gt;PIC32 Compiler for MX version 4.5.2 and then select &#8220;install&#8221;&#8230; wait.<\/p>\n<p>Make sure the plugins have actually installed. UECIDE fails silently if you run out of disk space&#8230;<\/p>\n<p>Open the ino file above (File-Open) it&#8217;ll move it into a scratch area. Select Hardware-&gt;Boards-&gt;chipKIT-&gt;chipKIT DP32<\/p>\n<p>Select Hardware-&gt;Compilers-&gt;pic32-tools-452<\/p>\n<p>In a text editor open: .uecide\/compilers\/pic32-tools-452\/pic32mx\/include\/plib.h, comment out line 61 (#include &lt;peripheral\/ports.h).<\/p>\n<p>Hit compile, hope for the best.<\/p>\n<p>Remove all the jumpers from the chipKIT 32 board. Reinstall one jumper on JP7 furthest from the terminal block, the position is labeled VBUS.<\/p>\n<p>Plug the board into a USB port. Press Press RESET and PGM buttons at the same time. Release RESET then PGM.<\/p>\n<p>In UECIDE select Hardware-&gt;Device and then whichever serial port the chipKIT 32 is connected to.<\/p>\n<p>Select Hardware-&gt;Programmers-&gt;Upload to chipKIT board via avrdude.<\/p>\n<p>Press &#8220;Program&#8221;. Hope for the best again.<\/p>\n<p>If everything has worked correctly you should be able to see the chipKIT throwing out numbers in serial console. Seemly baudrate settings don&#8217;t matter.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>These are my notes on building Sam and Jan&#8217;s interferometer signal processing firmware for the Chipkit DP32. First download the firmware, this is the version I used: http:\/\/www.repairfaq.org\/sam\/uMD1\/uMD1_FW_v56.10.ino (local copy (gz)). Then install UECIDE, download it here: http:\/\/uecide.org\/download.php. I used the latest version on Linux (uecide-0.8.8alpha22-linux.zip). Next in Tools-&gt;Plugin Manager select Boards-&gt;chipKIT-&gt;chipKIT DP32 and then [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-4017","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1RRoU-12N","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/posts\/4017","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/comments?post=4017"}],"version-history":[{"count":2,"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/posts\/4017\/revisions"}],"predecessor-version":[{"id":4020,"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/posts\/4017\/revisions\/4020"}],"wp:attachment":[{"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/media?parent=4017"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/categories?post=4017"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/41j.com\/blog\/wp-json\/wp\/v2\/tags?post=4017"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}