<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[OTA firmware update not working for 1.20.2.rc7]]></title><description><![CDATA[<p dir="auto">Note this is only an issue for updating to 1.20.2.rc7 (1.20.2.rc6 is okay)</p>
<p dir="auto">I'm trying to do an OTA firmware update to 1.20.2.rc7 from  1.20.1.r2, and I get the following error:</p>
<p dir="auto">E (56) esp_image: image at 0x210000 has invalid magic byte<br />
Cannot load Firmware img in the active partition! .. Defaulting back to previous partition</p>
<p dir="auto">Here is the full log:</p>
<pre><code>Pycom MicroPython 1.20.1.r2 [v1.11-06dfad0] on 2019-11-30; WiPy with ESP32
Pybytes Version: 1.3.0
Type &quot;help()&quot; for more information.
&gt;&gt;&gt; Requesting: downloads/appimg/firmware_WiPy_1.20.2.rc7.bin to software.pycom.io:443 with SSL? True
Wrapping socket
Sending request
start
ets Jun  8 2016 00:22:57

rst:0x7 (TG0WDT_SYS_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff8020,len:8
load:0x3fff8028,len:2136
load:0x4009fa00,len:19880
entry 0x400a05d0
E (56) esp_image: image at 0x210000 has invalid magic byte
Cannot load Firmware img in the active partition! .. Defaulting back to previous partition```

It then resets into the original firmware.

Any ideas?</code></pre>
]]></description><link>https://forum.pycom.io/topic/5953/ota-firmware-update-not-working-for-1-20-2-rc7</link><generator>RSS for Node</generator><lastBuildDate>Wed, 14 Oct 2026 00:51:53 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/5953.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 10 May 2020 21:57:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to OTA firmware update not working for 1.20.2.rc7 on Sun, 10 May 2020 22:02:07 GMT]]></title><description><![CDATA[<p dir="auto">Note this is only an issue for updating to 1.20.2.rc7 (1.20.2.rc6 is okay)</p>
<p dir="auto">I'm trying to do an OTA firmware update to 1.20.2.rc7 from  1.20.1.r2, and I get the following error:</p>
<p dir="auto">E (56) esp_image: image at 0x210000 has invalid magic byte<br />
Cannot load Firmware img in the active partition! .. Defaulting back to previous partition</p>
<p dir="auto">Here is the full log:</p>
<pre><code>Pycom MicroPython 1.20.1.r2 [v1.11-06dfad0] on 2019-11-30; WiPy with ESP32
Pybytes Version: 1.3.0
Type &quot;help()&quot; for more information.
&gt;&gt;&gt; Requesting: downloads/appimg/firmware_WiPy_1.20.2.rc7.bin to software.pycom.io:443 with SSL? True
Wrapping socket
Sending request
start
ets Jun  8 2016 00:22:57

rst:0x7 (TG0WDT_SYS_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff8020,len:8
load:0x3fff8028,len:2136
load:0x4009fa00,len:19880
entry 0x400a05d0
E (56) esp_image: image at 0x210000 has invalid magic byte
Cannot load Firmware img in the active partition! .. Defaulting back to previous partition```

It then resets into the original firmware.

Any ideas?</code></pre>
]]></description><link>https://forum.pycom.io/post/32657</link><guid isPermaLink="true">https://forum.pycom.io/post/32657</guid><dc:creator><![CDATA[troy salt]]></dc:creator><pubDate>Sun, 10 May 2020 22:02:07 GMT</pubDate></item><item><title><![CDATA[Reply to OTA firmware update not working for 1.20.2.rc7 on Wed, 13 May 2020 08:41:47 GMT]]></title><description><![CDATA[<p dir="auto">hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3976">@troy-salt</a>, we are looking into this issue.</p>
]]></description><link>https://forum.pycom.io/post/32705</link><guid isPermaLink="true">https://forum.pycom.io/post/32705</guid><dc:creator><![CDATA[catalin]]></dc:creator><pubDate>Wed, 13 May 2020 08:41:47 GMT</pubDate></item><item><title><![CDATA[Reply to OTA firmware update not working for 1.20.2.rc7 on Wed, 13 May 2020 09:01:55 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3976">@troy-salt</a></p>
<p dir="auto">I tried the OTA firmware update on WiPy from 1.20.1.r2 to 1.20.2.r7 using OTA firmware update example and the update worked fine. Please refer to this example (<a href="https://docs.pycom.io/tutorials/all/ota/" target="_blank" rel="noopener noreferrer nofollow">https://docs.pycom.io/tutorials/all/ota/</a>) for the exact steps to perform an OTA update.</p>
<p dir="auto">The image file that you have in the flash seems to be corrupt. Make sure that the file is written correctly.</p>
]]></description><link>https://forum.pycom.io/post/32706</link><guid isPermaLink="true">https://forum.pycom.io/post/32706</guid><dc:creator><![CDATA[salal]]></dc:creator><pubDate>Wed, 13 May 2020 09:01:55 GMT</pubDate></item></channel></rss>