<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div>The app-flash always flashes the ‘factory’ partition. If you ‘make flash’ it will also overwrite the bootloader, partition table, and switch back to factory for you.<div class=""><div class=""><br class=""></div><div class="">You can also tell the module to boot from factory with ‘ota boot factory’ (and ota_0, ota_1 for the ota partitions).</div><div class=""><br class=""></div><div class="">Regards, Mark.<br class=""><div class=""><br class=""></div><div class="">P.S. Y<span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">ou can manually flash (using the esptool.py script) to a specific partition, using partitions.csv to tell you the offsets.</span><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 22 Apr 2020, at 2:23 PM, Eddy Vromen <<a href="mailto:eddy_vromen@hotmail.com" class="">eddy_vromen@hotmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class=""><br class="Apple-interchange-newline"><br class=""></div><div id="Signature" class=""><br class="">Hi All,</div><div id="Signature" class=""><br class=""></div><div id="Signature" class="">Quick question:  I am experimenting with some code changes and i am using the sdcard method to get a new  .bin file on the device. It will automatically alternate between the 2 OTA image loactions which is great.</div><div id="Signature" class="">I would like to make this process a little less labor intensive:</div><div id="Signature" class="">When i use "make apt-flash", where does the code get flashed? With this method, how can i pick between the 2 OTA image locations?</div><div id="Signature" class=""><br class=""></div><div id="Signature" class="">Thanks,</div><div id="Signature" class="">Eddy</div><div id="Signature" class=""><br class=""></div><div id="Signature" class=""><br class=""></div><div id="Signature" class=""><br class=""><br class=""></div></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">OvmsDev mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="mailto:OvmsDev@lists.openvehicles.com" style="font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">OvmsDev@lists.openvehicles.com</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" style="font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a></div></blockquote></div><br class=""></div></div></div></body></html>