{"id":231,"date":"2024-02-02T15:46:20","date_gmt":"2024-02-02T15:46:20","guid":{"rendered":"https:\/\/vl1.skerjanc.de\/?p=231"},"modified":"2025-09-03T16:35:03","modified_gmt":"2025-09-03T16:35:03","slug":"how-to-update-your-controller-to-new-firmware","status":"publish","type":"post","link":"https:\/\/vl1.skerjanc.de\/?p=231","title":{"rendered":"How to Update your Controller Firmware"},"content":{"rendered":"\n<p>This description is for Windows PCs and Apple. <\/p>\n\n\n\n<p>You have to install two software packages for the update: <strong>1. Arduino IDE<\/strong> (only needed to get the USB driver for Arduino Due) and <strong>2. arduino-cli<\/strong> to transfer the new binary over USB<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Install the Arduino App over the Windows App Manger or the official Arduino web site. Open it and here select install Tools&gt;Board&gt;BoardsManager&gt;Arduino SAM Boards (32-bits ARM Cortex&#8230;). Close the IDE.<\/li>\n\n\n\n<li>Download and unpack the Arduino tool &#8220;arduino-cli&#8221; from <a href=\"https:\/\/arduino.github.io\/arduino-cli\/0.35\/installation\/\">https:\/\/arduino.github.io\/arduino-cli\/0.35\/installation\/<\/a> and copy <a href=\"https:\/\/vl1.skerjanc.de\/VL1.ino.zip\">VL1.ino.bin<\/a> into the same directory where the file <strong>arduino-cli.exe<\/strong> is located. <\/li>\n\n\n\n<li>Unplug the 9V power cable from the controller and connect the controller to the provided USB cable. First insert the USB cable into the controller, then the other side of the cable into the USB plug of your PC,<strong> in that order<\/strong>. See also Chap. &#8220;Connect to Power&#8221; in the User Manual, not to destroy your device. After the cable is connected, the controller will start.<\/li>\n\n\n\n<li> Look into Window&#8217;s Device Manager to identify the physical USB port, check the COM port that is assigned to the Arduino Due. In this example it is <strong>COM5<\/strong>. Remember this port number. <br><strong>For Apple:<\/strong> open the Arduino App and look under Tools&gt;Port and mind the port name for the Arduino Due.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"715\" height=\"403\" src=\"https:\/\/vl1.skerjanc.de\/wp-content\/uploads\/2023\/11\/image.png\" alt=\"\" class=\"wp-image-232\" srcset=\"https:\/\/vl1.skerjanc.de\/wp-content\/uploads\/2023\/11\/image.png 715w, https:\/\/vl1.skerjanc.de\/wp-content\/uploads\/2023\/11\/image-300x169.png 300w\" sizes=\"auto, (max-width: 715px) 100vw, 715px\" \/><\/figure>\n\n\n\n<p>5. Open the command line interface or shell of your computer: e.g. type &#8220;Windows Key&#8221; and cmd.<\/p>\n\n\n\n<p>6. Change to the directory where you extracted the files of step1, e.g. type<\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<p><strong>D:<\/strong><\/p>\n\n\n\n<p><strong>cd D:\\Downloads\\arduino-cli_0.35.1_Windows_64bit<\/strong><\/p>\n<\/div><\/div>\n\n\n\n<p>7. Enter following command (but with your correct COM port). Wait until the program finishes,  do not interrupt the connection while uploading. <\/p>\n\n\n\n<p><strong>arduino-cli.exe upload -i VL1.ino.bin -p COM5 -b arduino:sam:arduino_due_x<\/strong> <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1425\" height=\"500\" src=\"https:\/\/vl1.skerjanc.de\/wp-content\/uploads\/2024\/01\/image.png\" alt=\"\" class=\"wp-image-311\"\/><\/figure>\n\n\n\n<p><strong>Apple:<\/strong> Assuming the port name you found in the Arduino App was &#8220;\/dev\/cu.usbmodem14101&#8221;, the command you enter is:<\/p>\n\n\n\n<p>cd \/directory_where_all_the-uploaded_stuff_is<\/p>\n\n\n\n<p><strong>arduino-cli.exe upload -i VL1.ino.bin -p \/dev\/cu.usbmodem14101 -b arduino:sam:arduino_due_x<\/strong><\/p>\n\n\n\n<p>Have fun with your improved VL1 controller!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This description is for Windows PCs and Apple. You have to install two software packages for the update: 1. Arduino IDE (only needed to get the USB driver for Arduino Due) and 2. arduino-cli to transfer the new binary over USB 5. Open the command line interface or shell of your computer: e.g. type &#8220;Windows [&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,4],"tags":[],"class_list":["post-231","post","type-post","status-publish","format-standard","hentry","category-tx816","category-vl1"],"_links":{"self":[{"href":"https:\/\/vl1.skerjanc.de\/index.php?rest_route=\/wp\/v2\/posts\/231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vl1.skerjanc.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vl1.skerjanc.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vl1.skerjanc.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vl1.skerjanc.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=231"}],"version-history":[{"count":36,"href":"https:\/\/vl1.skerjanc.de\/index.php?rest_route=\/wp\/v2\/posts\/231\/revisions"}],"predecessor-version":[{"id":413,"href":"https:\/\/vl1.skerjanc.de\/index.php?rest_route=\/wp\/v2\/posts\/231\/revisions\/413"}],"wp:attachment":[{"href":"https:\/\/vl1.skerjanc.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vl1.skerjanc.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vl1.skerjanc.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}