<?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[FiPy firmware upgrade failed - Cat M1]]></title><description><![CDATA[<p dir="auto">Hello everyone.</p>
<p dir="auto">I'm new to the Pycom community, so I apologise in advance if some of my questions may seem stupid.</p>
<p dir="auto">I've just received a FiPy from which I'd like to use its CAT-M1 capabilities. I'm using it on top of a Pytrack module.<br />
When trying to do a &quot;From network import LTE&quot;, it failed to find LTE but I think it's because I need to upgrade my FiPy firmware. I have tried to do so following the tutorials found here :<br />
<a href="https://core-electronics.com.au/tutorials/pycom-gpy-fipy-cellular-lte-firmware-update.html" target="_blank" rel="noopener noreferrer nofollow">https://core-electronics.com.au/tutorials/pycom-gpy-fipy-cellular-lte-firmware-update.html</a><br />
And here :<br />
<a href="https://docs.pycom.io/tutorials/lte/firmware" target="_blank" rel="noopener noreferrer nofollow">https://docs.pycom.io/tutorials/lte/firmware</a></p>
<p dir="auto">But I cannot get past the step where it says :</p>
<pre><code>import sqnsupgrade
sqnsupgrade.uart(True)
</code></pre>
<p dir="auto">As I get this message :</p>
<pre><code>&gt;&gt;&gt; import sqnsupgrade
&gt;&gt;&gt; sqnsupgrade.uart(True)
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
AttributeError: 'module' object has no attribute 'uart'
</code></pre>
<p dir="auto">Could anyone please help me figure out what's the issue here and how I can resolve it? Thanks.</p>
]]></description><link>https://forum.pycom.io/topic/3995/fipy-firmware-upgrade-failed-cat-m1</link><generator>RSS for Node</generator><lastBuildDate>Wed, 12 Aug 2026 14:26:20 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/3995.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Nov 2018 10:14:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Wed, 14 Nov 2018 10:14:07 GMT]]></title><description><![CDATA[<p dir="auto">Hello everyone.</p>
<p dir="auto">I'm new to the Pycom community, so I apologise in advance if some of my questions may seem stupid.</p>
<p dir="auto">I've just received a FiPy from which I'd like to use its CAT-M1 capabilities. I'm using it on top of a Pytrack module.<br />
When trying to do a &quot;From network import LTE&quot;, it failed to find LTE but I think it's because I need to upgrade my FiPy firmware. I have tried to do so following the tutorials found here :<br />
<a href="https://core-electronics.com.au/tutorials/pycom-gpy-fipy-cellular-lte-firmware-update.html" target="_blank" rel="noopener noreferrer nofollow">https://core-electronics.com.au/tutorials/pycom-gpy-fipy-cellular-lte-firmware-update.html</a><br />
And here :<br />
<a href="https://docs.pycom.io/tutorials/lte/firmware" target="_blank" rel="noopener noreferrer nofollow">https://docs.pycom.io/tutorials/lte/firmware</a></p>
<p dir="auto">But I cannot get past the step where it says :</p>
<pre><code>import sqnsupgrade
sqnsupgrade.uart(True)
</code></pre>
<p dir="auto">As I get this message :</p>
<pre><code>&gt;&gt;&gt; import sqnsupgrade
&gt;&gt;&gt; sqnsupgrade.uart(True)
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
AttributeError: 'module' object has no attribute 'uart'
</code></pre>
<p dir="auto">Could anyone please help me figure out what's the issue here and how I can resolve it? Thanks.</p>
]]></description><link>https://forum.pycom.io/post/23493</link><guid isPermaLink="true">https://forum.pycom.io/post/23493</guid><dc:creator><![CDATA[ArnaudP]]></dc:creator><pubDate>Wed, 14 Nov 2018 10:14:07 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Thu, 15 Nov 2018 08:42:49 GMT]]></title><description><![CDATA[<p dir="auto">A little update. It's still not working but digging into the GitHub repo, it seems that the commands that are described in the tutorial : <a href="https://docs.pycom.io/tutorials/lte/firmware" target="_blank" rel="noopener noreferrer nofollow">https://docs.pycom.io/tutorials/lte/firmware</a> uses methods (sqnsupgrade.uart , sqnsupgrade.run , ...) that worked only with an older version of the code. Can anyone confirm ?</p>
<p dir="auto">Has anyone attempted to upgrade its modem recently?</p>
<p dir="auto">Thanks in advance.</p>
]]></description><link>https://forum.pycom.io/post/23532</link><guid isPermaLink="true">https://forum.pycom.io/post/23532</guid><dc:creator><![CDATA[ArnaudP]]></dc:creator><pubDate>Thu, 15 Nov 2018 08:42:49 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Thu, 15 Nov 2018 14:01:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3515">@ArnaudP</a> I've recently successfully updated my FiPy modem f/w with the newest CATM1-39529 and NB1-40343:</p>
<ul>
<li>FiPy (v1.18.1.r3) + PyTrack (v0.0.8) upgrade modem f/w to CATM1-39529</li>
<li>FiPy (v1.18.1.r4) + PyTrack (v0.0.8) upgrade modem f/w to NB1-40343</li>
</ul>
<p dir="auto">I've put .dup and .elf files on the SD card root folder and use below instructions:</p>
<pre><code>from machine import SD
sd = SD()
os.mount(sd, '/sd')
os.listdir('/sd')         # to check if the files exist on SD card

import sqnsupgrade
sqnsupgrade.run('/sd/CATM1-39529.dup', '/sd/updater.elf')         # for CAT-M1
sqnsupgrade.run('/sd/NB1-40343.dup', '/sd/updater.elf')             # for CAT-NB1
</code></pre>
<p dir="auto">Which version of f/w do you have on your FiPy?</p>
]]></description><link>https://forum.pycom.io/post/23541</link><guid isPermaLink="true">https://forum.pycom.io/post/23541</guid><dc:creator><![CDATA[rskoniec]]></dc:creator><pubDate>Thu, 15 Nov 2018 14:01:25 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Thu, 15 Nov 2018 13:31:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/360">@rskoniec</a> Thanks for your reply.<br />
I get this when I make a os.uname() :<br />
(sysname='FiPy', nodename='FiPy', release='1.10.0.b1', version='v1.8.6-834-g5677703c on 2017-11-13', machine='FiPy with ESP32', lorawan='1.0.0')</p>
<p dir="auto">Is that the information you were asking?<br />
As for</p>
<pre><code>sqnsupgrade.run('/sd/CATM1-39529.dup', '/sd/updater.elf')         # for CAT-M1
</code></pre>
<p dir="auto">The system tells me that it doesn't know a method by the name &quot;run&quot;. Which is odd since it's in the code of <a href="http://sqnsupgrade.py" target="_blank" rel="noopener noreferrer nofollow">sqnsupgrade.py</a><br />
I've been issuing these commands from the Pycom Console. Is it ok or should it be in <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow">main.py</a> ?</p>
<p dir="auto">Once again, thanks for your reply.</p>
]]></description><link>https://forum.pycom.io/post/23554</link><guid isPermaLink="true">https://forum.pycom.io/post/23554</guid><dc:creator><![CDATA[ArnaudP]]></dc:creator><pubDate>Thu, 15 Nov 2018 13:31:15 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Thu, 15 Nov 2018 13:59:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3515">@arnaudp</a> So you <strong>MUST</strong> update FiPy f/w first (you've got pretty one year old version 1.10.0.b1, now stable is 1.18.1.r4 with <code>sqnsupgrade</code>class integrated within f/w). Download <strong><a href="https://docs.pycom.io/gettingstarted/installation/firmwaretool" target="_blank" rel="noopener noreferrer nofollow">Pycom Firmware Update</a></strong> for your platform (Windows, macOS, Linux) and make a FiPy f/w update to the newest stable version. After that you should be able to upgrade FiPy modem f/w with my procedure and be patient, because it'll take a while.</p>
]]></description><link>https://forum.pycom.io/post/23555</link><guid isPermaLink="true">https://forum.pycom.io/post/23555</guid><dc:creator><![CDATA[rskoniec]]></dc:creator><pubDate>Thu, 15 Nov 2018 13:59:16 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Thu, 15 Nov 2018 14:32:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/360">@rskoniec</a> Okay, I've done as instructed and upgraded the FiPy. I've put your code in <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow">main.py</a>, copied the necesarry files on a SD card and began the update process. Maybe putting it in main rather than typing the commands myself was a bad idea because I have no idea if the update process is running. I guess something is happening since I can't connonect on the pycom console.<br />
So I guess I'll wait and see if something is happening.</p>
<p dir="auto">Is the heartbeat suppose to resume once the update process is over? If not, how I'll know when I can remove the power?</p>
]]></description><link>https://forum.pycom.io/post/23557</link><guid isPermaLink="true">https://forum.pycom.io/post/23557</guid><dc:creator><![CDATA[ArnaudP]]></dc:creator><pubDate>Thu, 15 Nov 2018 14:32:31 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Thu, 15 Nov 2018 15:10:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3515">@arnaudp</a> Do not do this by <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow">main.py</a> please - you should use <strong><a href="https://docs.pycom.io/gettingstarted/programming/repl/serial" target="_blank" rel="noopener noreferrer nofollow">USB UART REPL</a></strong>. Connect your PC to the FiPy through the microUSB of PyTrack module and use for example PuTTY to connect to VCP (Virtual COM Port) and execute my instructions one by one.</p>
<p dir="auto">Be sure that your <a href="http://boot.py" target="_blank" rel="noopener noreferrer nofollow">boot.py</a> have these lines:</p>
<pre><code>from machine import UART
import os
uart = UART(0, 115200)
os.dupterm(uart)
</code></pre>
<p dir="auto">Your <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow">main.py</a> for safety should be empty or renamed (main_off.py).</p>
<p dir="auto">With heartbeat when pycom.heartbeat_on_boot(0) is set then it won't work after FiPy restarts.</p>
]]></description><link>https://forum.pycom.io/post/23558</link><guid isPermaLink="true">https://forum.pycom.io/post/23558</guid><dc:creator><![CDATA[rskoniec]]></dc:creator><pubDate>Thu, 15 Nov 2018 15:10:28 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Thu, 15 Nov 2018 15:05:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/360">@rskoniec</a> Indeed, it seems it may have been a bad idea. I had uploaded this (and forgot a <a href="http://boot.py" target="_blank" rel="noopener noreferrer nofollow">boot.py</a>) and now I can't get a REPL console.<br />
I hope I did not brick it....</p>
<p dir="auto">Do you know by any chance how I can reset the board so I can connect to it and upload the correct files ?<br />
Sorry and thank you for helping me.</p>
]]></description><link>https://forum.pycom.io/post/23559</link><guid isPermaLink="true">https://forum.pycom.io/post/23559</guid><dc:creator><![CDATA[ArnaudP]]></dc:creator><pubDate>Thu, 15 Nov 2018 15:05:39 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Thu, 15 Nov 2018 15:15:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3515">@arnaudp</a> Did you try anything after you start upgrade (reset button)? How long is it going now? Do you have WiFi connectivity in your <a href="http://boot.py/main.py" target="_blank" rel="noopener noreferrer nofollow">boot.py/main.py</a> files to try telnet connection? There is also something like <strong><a href="https://docs.pycom.io/gettingstarted/programming/safeboot" target="_blank" rel="noopener noreferrer nofollow">Safe Boot</a></strong>.</p>
]]></description><link>https://forum.pycom.io/post/23560</link><guid isPermaLink="true">https://forum.pycom.io/post/23560</guid><dc:creator><![CDATA[rskoniec]]></dc:creator><pubDate>Thu, 15 Nov 2018 15:15:25 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Thu, 15 Nov 2018 15:26:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/360">@rskoniec</a> Oh thank you ! I was able to safe boot into it. I was afraid I had bricked my device.<br />
So now I'm trying your commands. And here what I giet for :</p>
<pre><code>&gt;&gt;&gt; os.mount(sd, '/sd')
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
OSError: the requested operation failed
</code></pre>
<p dir="auto">Sorry for the delay between the messages, I'm allowed only one message every 10 minutes on thsi forum.</p>
]]></description><link>https://forum.pycom.io/post/23561</link><guid isPermaLink="true">https://forum.pycom.io/post/23561</guid><dc:creator><![CDATA[ArnaudP]]></dc:creator><pubDate>Thu, 15 Nov 2018 15:26:53 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Thu, 15 Nov 2018 15:31:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3515">@arnaudp</a> Did you verify your FiPy f/w version after the update?</p>
<pre><code>import os
os.uname()
</code></pre>
<p dir="auto">Btw, I've upvoted your posts so maybe your posts delay has gone - check it out.</p>
]]></description><link>https://forum.pycom.io/post/23562</link><guid isPermaLink="true">https://forum.pycom.io/post/23562</guid><dc:creator><![CDATA[rskoniec]]></dc:creator><pubDate>Thu, 15 Nov 2018 15:31:46 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Thu, 15 Nov 2018 15:35:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/360">@rskoniec</a> Yup, I had checked it, here's the update :</p>
<pre><code>(sysname='FiPy', nodename='FiPy', release='1.18.1.r4', version='v1.8.6-849-dfa1176 on 2018-11-12', machine='FiPy with ESP32', lorawan='1.0.2', sigfox='1.0.1')
</code></pre>
<p dir="auto">1.18.1.r4 seems on it.<br />
Thank you, that's very kind of you. I you can read this message, it'll mean it succeeded to post ;).</p>
<p dir="auto">I'm going to try to format my sd card again. Could that be an issue with it or is it necessarily on the side of the fipy firmware itself?</p>
]]></description><link>https://forum.pycom.io/post/23563</link><guid isPermaLink="true">https://forum.pycom.io/post/23563</guid><dc:creator><![CDATA[ArnaudP]]></dc:creator><pubDate>Thu, 15 Nov 2018 15:35:39 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Thu, 15 Nov 2018 15:35:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3515">@arnaudp</a> OK, perfect. If you try:</p>
<pre><code>from machine import SD
sd = SD()
os.mount(sd, '/sd')
os.listdir('/sd') 
</code></pre>
<p dir="auto">do you get your modem upgrade files listed?</p>
]]></description><link>https://forum.pycom.io/post/23564</link><guid isPermaLink="true">https://forum.pycom.io/post/23564</guid><dc:creator><![CDATA[rskoniec]]></dc:creator><pubDate>Thu, 15 Nov 2018 15:35:06 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Thu, 15 Nov 2018 15:37:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/360">@rskoniec</a> Nope, here's what I get :</p>
<pre><code>&gt;&gt;&gt; from machine import SD
&gt;&gt;&gt; sd = SD()
&gt;&gt;&gt; os.mount(sd, '/sd')
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
OSError: the requested operation failed
</code></pre>
<p dir="auto">I wonder if it could come from the card? I only have at hand a 128Gb card (maybe too high capacity) ?</p>
]]></description><link>https://forum.pycom.io/post/23565</link><guid isPermaLink="true">https://forum.pycom.io/post/23565</guid><dc:creator><![CDATA[ArnaudP]]></dc:creator><pubDate>Thu, 15 Nov 2018 15:37:38 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Thu, 15 Nov 2018 15:39:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3515">@arnaudp</a> Can you try:</p>
<pre><code>os.mkfs(sd)
</code></pre>
<p dir="auto">and then:</p>
<pre><code>os.mount(sd, '/sd')
os.listdir('/sd') 
</code></pre>
]]></description><link>https://forum.pycom.io/post/23566</link><guid isPermaLink="true">https://forum.pycom.io/post/23566</guid><dc:creator><![CDATA[rskoniec]]></dc:creator><pubDate>Thu, 15 Nov 2018 15:39:17 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Thu, 15 Nov 2018 15:39:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/360">@rskoniec</a> Same issue :</p>
<pre><code>&gt;&gt;&gt; os.mkfs(sd)
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
OSError: the requested operation failed
</code></pre>
]]></description><link>https://forum.pycom.io/post/23567</link><guid isPermaLink="true">https://forum.pycom.io/post/23567</guid><dc:creator><![CDATA[ArnaudP]]></dc:creator><pubDate>Thu, 15 Nov 2018 15:39:48 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Thu, 15 Nov 2018 15:47:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3515">@arnaudp</a> So maybe you should try with 8/16 GB SD card. FYI, <code>os.mkfs(sd)</code> is formatting your SD card to the right filesystem for Pycom devices. So after that you should remove SD card from PyTrack, put into your PC, copy files and then insert back again to the PyTrack, reset by button your FiPy and from fresh REPL:</p>
<pre><code>from machine import SD
sd = SD()
os.mount(sd, '/sd')
os.listdir('/sd')         # to check if the files exist on SD card

import sqnsupgrade
sqnsupgrade.run('/sd/CATM1-39529.dup', '/sd/updater.elf')         # for CAT-M1
sqnsupgrade.run('/sd/NB1-40343.dup', '/sd/updater.elf')             # for CAT-NB1
</code></pre>
]]></description><link>https://forum.pycom.io/post/23568</link><guid isPermaLink="true">https://forum.pycom.io/post/23568</guid><dc:creator><![CDATA[rskoniec]]></dc:creator><pubDate>Thu, 15 Nov 2018 15:47:44 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Thu, 15 Nov 2018 15:47:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/360">@rskoniec</a> Ok ! So I have formatted it again and now it works !</p>
<p dir="auto">Now here's the new issue :</p>
<pre><code>Attempting AT wakeup...
Session opened: version 1, max transfer 8192 bytes
Sending 55498 bytes: [########################################] 100%
Received ERROR from AT+SMSWBOOT=0,1! Aborting!
Unable to upgrade bootrom.
Unable to load updater from /sd/updater.elf
</code></pre>
]]></description><link>https://forum.pycom.io/post/23569</link><guid isPermaLink="true">https://forum.pycom.io/post/23569</guid><dc:creator><![CDATA[ArnaudP]]></dc:creator><pubDate>Thu, 15 Nov 2018 15:47:56 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Thu, 15 Nov 2018 15:55:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3515">@arnaudp</a> I think you've got incomplete file/files - 55498 bytes is too short (incomplete download from <a href="https://software.pycom.io/downloads/sequans2.html" target="_blank" rel="noopener noreferrer nofollow">https://software.pycom.io/downloads/sequans2.html</a> ?).</p>
<p dir="auto"><code>CATM1-39529.dup</code> is almost 6MB big<br />
<code>updater.elf</code> is over 400KB big</p>
]]></description><link>https://forum.pycom.io/post/23570</link><guid isPermaLink="true">https://forum.pycom.io/post/23570</guid><dc:creator><![CDATA[rskoniec]]></dc:creator><pubDate>Thu, 15 Nov 2018 15:55:44 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Thu, 15 Nov 2018 15:58:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/360">@rskoniec</a> Yup, that's the file I have on my disk, just checked the size with a freshly dowloaded version. It seems that it's the sending that didn't work. <s>And now it says it won't detect the modem (perhaps because of faulty upgrade).</s> Ok not anymore<br />
But my files are the right ones on the disk :/</p>
]]></description><link>https://forum.pycom.io/post/23571</link><guid isPermaLink="true">https://forum.pycom.io/post/23571</guid><dc:creator><![CDATA[ArnaudP]]></dc:creator><pubDate>Thu, 15 Nov 2018 15:58:47 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Thu, 15 Nov 2018 16:11:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/360">@rskoniec</a><br />
With some debug infos. We can see the files are listed with their right size :</p>
<pre><code>File /sd/updater.elf has size 429340
File /sd/CATM1-39529.dup has size 6059510
</code></pre>
<p dir="auto">Here is the complete log :</p>
<pre><code>&gt;&gt;&gt; sqnsupgrade.run('/sd/CATM1-39529.dup', '/sd/updater.elf', debug=True)
&lt;&lt;&lt; Welcome to the SQN3330 firmware updater [1.2.0] &gt;&gt;&gt;
&gt;&gt;&gt; FiPy with firmware version 1.18.1.r4
File /sd/updater.elf has size 429340
File /sd/CATM1-39529.dup has size 6059510
Modem state: 2
Checking bootrom &amp; application
Checking line
Checking line SYSTEM VERSION
Checking line ==============
Checking line   FIRMWARE VERSION
Checking line     Bootloader0* : 5.1.1.0 [33080]
old_br: True
Checking line     Bootloader1  : NA
Checking line     Bootloader2  : NA
Checking line     NV Info      : 1.1,0,0
Checking line     Software     : 5.1.1.0 [33080] by robot-soft at 2017-10-27 07:49:11
old_sw: True
Checking line     UE           : Unknown
Checking line   COMPONENTS
Checking line     ZSP0         : 1.0.98-12323
Checking line     ZSP1         : 1.0.98-12295
Checking line
Checking line OK
Checking line
Returning: True
mirror? False  recover? False  resume? False  direct? False  atneg_only? False bootrom? True load_fff? False
Initial prepartion complete...
Loading built-in recovery bootrom...
Attempting AT wakeup...
b'\r\nOK\r\n'
Entering upgrade mode...
AT+SMOD? returned 2
AT+SMSWBOOT=3,1 returned: b'\r\nOK\r\n'
Response after reset: b'\r\nERROR\r\n'
Starting STP
&lt;&lt;&lt;=== DO NOT DISCONNECT POWER ===&gt;&gt;&gt;
Sending AT+SMSTPU=&quot;ON_THE_FLY&quot;
Starting STP code upload
magic=0x74736166, op=0x80, sid=0x0, plen=0x0, tid=0x0, hcrc=0x0, pcrc=0x18
Correct SRSP signature: 0x74736166
Session opened: version 1, max transfer 8192 bytes
Sending 55498 bytes: [########################################] 100%
Bootrom updated successfully, switching to recovery mode
AT+SMSWBOOT=0,1 returned b'\r\nERROR\r\n'
Received ERROR from AT+SMSWBOOT=0,1! Aborting!
Success1? False
Unable to upgrade bootrom.
Success2? False
Unable to load updater from /sd/updater.elf
</code></pre>
]]></description><link>https://forum.pycom.io/post/23572</link><guid isPermaLink="true">https://forum.pycom.io/post/23572</guid><dc:creator><![CDATA[ArnaudP]]></dc:creator><pubDate>Thu, 15 Nov 2018 16:11:25 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Thu, 15 Nov 2018 22:19:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3515">@arnaudp</a> One more thing just came to my mind - do you have SIM card inserted in your FiPy? I don't know if this is an issue, but all of my FiPy modem f/w updates I've done with SIM card.</p>
]]></description><link>https://forum.pycom.io/post/23575</link><guid isPermaLink="true">https://forum.pycom.io/post/23575</guid><dc:creator><![CDATA[rskoniec]]></dc:creator><pubDate>Thu, 15 Nov 2018 22:19:07 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Fri, 16 Nov 2018 06:54:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/360">@rskoniec</a> We haven't received our cat-M1 SIM card yet. Do you think I can try with a regular SIM ?<br />
In this video tutorial : <a href="https://core-electronics.com.au/tutorials/pycom-gpy-fipy-cellular-lte-firmware-update.html" target="_blank" rel="noopener noreferrer nofollow">https://core-electronics.com.au/tutorials/pycom-gpy-fipy-cellular-lte-firmware-update.html</a><br />
it seems he hasn't put a sim card in it. Weird. Or the video is a bit outdated maybe.</p>
]]></description><link>https://forum.pycom.io/post/23588</link><guid isPermaLink="true">https://forum.pycom.io/post/23588</guid><dc:creator><![CDATA[ArnaudP]]></dc:creator><pubDate>Fri, 16 Nov 2018 06:54:55 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Fri, 16 Nov 2018 08:39:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3515">@arnaudp</a> I've started a forum chat with you. Can we continue there?</p>
]]></description><link>https://forum.pycom.io/post/23591</link><guid isPermaLink="true">https://forum.pycom.io/post/23591</guid><dc:creator><![CDATA[rskoniec]]></dc:creator><pubDate>Fri, 16 Nov 2018 08:39:17 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Fri, 16 Nov 2018 09:19:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/360">@rskoniec</a> Sure, thanks :)</p>
]]></description><link>https://forum.pycom.io/post/23592</link><guid isPermaLink="true">https://forum.pycom.io/post/23592</guid><dc:creator><![CDATA[ArnaudP]]></dc:creator><pubDate>Fri, 16 Nov 2018 09:19:49 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy firmware upgrade failed - Cat M1 on Wed, 28 Nov 2018 12:06:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/69">@Xykon</a> When I was helping <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3515"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3515">@ArnaudP</a></a> to resolve the problem with FiPy modem f/w update (<code>sqnsupgrade.run('/sd/CATM1-version.dup', '/sd/updater.elf')</code>) from initial release, we went this path:</p>
<ul>
<li>upgraded FiPy from <code>1.10.0.b1</code> to the latest stable <code>1.18.1.r4</code></li>
<li>on FiPy <code>1.18.1.r4</code> modem f/w upgrade to the newest <code>CATM1-39529</code> failed</li>
<li>on FiPy <code>1.18.1.r4</code> modem f/w upgrade to previous<code>CATM1-38638</code> failed</li>
<li>downgraded FiPy from <code>1.18.1.r4</code> to <code>1.18.1.r1</code></li>
<li>on FiPy <code>1.18.1.r1</code> modem f/w upgrade to <code>CATM1-38638</code> successful</li>
<li><s>now I'm waiting for <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3515"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3515">@ArnaudP</a></a> feedback about modem f/w upgrade to <code>CATM1-39529</code> on FiPy <code>1.18.1.r4</code></s></li>
<li><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3515"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3515">@ArnaudP</a></a> has confirmed that after previous step, modem f/w upgrade to <code>CATM1-39529</code> on FiPy <code>1.18.1.r4</code> was successful</li>
</ul>
<p dir="auto">What I've noticed is that <code>updater.elf</code> file in the previous CAT-M1/NB1 releases is the same and with a size of aprox. 300KB, but for the latest they are different for CAT-M1 (420KB) and NB1 (364KB). I've been told by <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3515"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3515">@ArnaudP</a></a> that he had already sent you a message.</p>
]]></description><link>https://forum.pycom.io/post/23593</link><guid isPermaLink="true">https://forum.pycom.io/post/23593</guid><dc:creator><![CDATA[rskoniec]]></dc:creator><pubDate>Wed, 28 Nov 2018 12:06:21 GMT</pubDate></item></channel></rss>