﻿{"id":6905,"date":"2020-04-23T15:13:41","date_gmt":"2020-04-23T07:13:41","guid":{"rendered":"http:\/\/www.mateksys.com\/?p=6905"},"modified":"2024-01-30T09:48:51","modified_gmt":"2024-01-30T01:48:51","slug":"flashing-bf-inav-ardu-firmware-with-stm32cubeprogrammer","status":"publish","type":"post","link":"https:\/\/www.mateksys.com\/?p=6905","title":{"rendered":"Flashing BF\/INAV\/Ardu firmware with STM32CubeProgrammer"},"content":{"rendered":"\n<style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-av_heading-5acb13dd1eec3be6beb902d7b509d7ce\">\n#top .av-special-heading.av-av_heading-5acb13dd1eec3be6beb902d7b509d7ce{\npadding-bottom:10px;\n}\nbody .av-special-heading.av-av_heading-5acb13dd1eec3be6beb902d7b509d7ce .av-special-heading-tag .heading-char{\nfont-size:25px;\n}\n.av-special-heading.av-av_heading-5acb13dd1eec3be6beb902d7b509d7ce .av-subheading{\nfont-size:15px;\n}\n<\/style>\n<div  class='av-special-heading av-av_heading-5acb13dd1eec3be6beb902d7b509d7ce av-special-heading-h3 blockquote modern-quote modern-centered  avia-builder-el-0  el_before_av_one_full  avia-builder-el-first '><h3 class='av-special-heading-tag'  itemprop=\"headline\"  >Flashing BF\/INAV\/Ardu firmware with STM32CubeProgrammer<\/h3><div class=\"special-heading-border\"><div class=\"special-heading-inner-border\"><\/div><\/div><\/div>\n\n<style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-3kbx21-ca30042cab64daef7aca008ecea11315\">\n.flex_column.av-3kbx21-ca30042cab64daef7aca008ecea11315{\nborder-radius:0px 0px 0px 0px;\npadding:0px 0px 0px 0px;\n}\n<\/style>\n<div  class='flex_column av-3kbx21-ca30042cab64daef7aca008ecea11315 av_one_full  avia-builder-el-1  el_after_av_heading  avia-builder-el-last  first flex_column_div av-zero-column-padding  '     ><section  class='av_textblock_section av-2bpwp5-a3e03ad067bde2bd6115af52972febf9 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><p>Download STM32CubeProgrammer from ST website\u00a0 <a href=\"https:\/\/www.st.com\/en\/development-tools\/stm32cubeprog.html\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.st.com\/en\/development-tools\/stm32cubeprog.html<\/a><\/p>\n<p>ArduPilot firmware:\u00a0 <a href=\"https:\/\/firmware.ardupilot.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/firmware.ardupilot.org\/<\/a><\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>Make sure DFU driver has been installed. Check out &#8220;Install DFU Drivers&#8221; in <a href=\"https:\/\/www.mateksys.com\/?p=5159#tab-id-1\" target=\"_blank\" rel=\"noopener\">this page<\/a><\/p>\n<p>Connect the FC USB to computer while holding the boot button in.<\/p>\n<ol>\n<li>Select USB<\/li>\n<li>USB1 and click Refresh<\/li>\n<li>Connect<\/li>\n<li>select &#8220;Erasing &amp; Programming&#8221;<\/li>\n<li>Click &#8220;Full chip erase&#8221;<\/li>\n<li>Browse the hex or bin file from your computer, if flashing ardupilot, use &#8220;<span style=\"color: #0000ff;\">ardu*_<strong>with_bl<\/strong>.hex<\/span>&#8220;.\u00a0 <span style=\"color: #0000ff;\">(MUST BE &#8220;with_bl&#8221;, bootloader)<\/span><\/li>\n<li>Click &#8220;Start Programming&#8221;<\/li>\n<li>After programming,\u00a0 unplug USB and plug USB back in. FC will boot and run in normal COM mode.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6907\" src=\"https:\/\/www.mateksys.com\/wp-content\/uploads\/2020\/04\/stm32CubeProg-1.jpg\" alt=\"\" width=\"1203\" height=\"787\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6906\" src=\"https:\/\/www.mateksys.com\/wp-content\/uploads\/2020\/04\/stm32CubeProg-2.jpg\" alt=\"\" width=\"1202\" height=\"781\" \/><\/p>\n<\/div><\/section><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[],"class_list":["post-6905","post","type-post","status-publish","format-standard","hentry","category-firmware"],"_links":{"self":[{"href":"https:\/\/www.mateksys.com\/index.php?rest_route=\/wp\/v2\/posts\/6905","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mateksys.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mateksys.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mateksys.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mateksys.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6905"}],"version-history":[{"count":0,"href":"https:\/\/www.mateksys.com\/index.php?rest_route=\/wp\/v2\/posts\/6905\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.mateksys.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6905"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mateksys.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6905"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mateksys.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6905"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}