<?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[Failure using Firmware Update Tool on LOPY 1.0]]></title><description><![CDATA[<p dir="auto">I am trying to update the firmware on a Lopy 1.0 on a Pysense 1.0 board.<br />
I have the latest versions of the <a href="https://docs.pycom.io/chapter/pytrackpysense/installation/firmware.html" target="_blank" rel="noopener noreferrer nofollow ugc">pysense firmware</a>, and the <a href="https://software.pycom.io/findupgrade?product=pycom-firmware-updater&amp;type=all&amp;platform=unix&amp;redirect=true" target="_blank" rel="noopener noreferrer nofollow ugc">Firmware Upgrade Tool</a> and I am running the Update Tool on Linux.<br />
The Pysense firmware was upgraded without issue.<br />
The upgrade on the firmware upgrade tool failed with the error "Something Failed Trying to connect to the device".<br />
I have followed all the  <a href="https://forum.pycom.io/topic/763/firmware-upgrade-troubleshooting-checklist-procedure/24">advice</a> on this forum but still get the same error.  I have performed this update in the past without error.<br />
Any help from the gentlemen at Pycom would be appreciated.</p>
]]></description><link>https://forum.pycom.io/topic/2707/failure-using-firmware-update-tool-on-lopy-1-0</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Nov 2026 07:55:14 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/2707.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 24 Feb 2018 00:03:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Failure using Firmware Update Tool on LOPY 1.0 on Sun, 25 Feb 2018 06:33:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/andrethemac" aria-label="Profile: andrethemac">@<bdi>andrethemac</bdi></a> thanks for the advice, you saved me a lot of wasted time.<br />
I was able to use the Windows Pycom Upgrade Tool without any problems.</p>
<p dir="auto">It seems the Linux command line tool does not work.<br />
Can someone form Pycom confirm they have tested this? If so I will raise something in GitHub as it looks like a bug.</p>
]]></description><link>https://forum.pycom.io/post/16297</link><guid isPermaLink="true">https://forum.pycom.io/post/16297</guid><dc:creator><![CDATA[philwilkinson]]></dc:creator><pubDate>Sun, 25 Feb 2018 06:33:00 GMT</pubDate></item><item><title><![CDATA[Reply to Failure using Firmware Update Tool on LOPY 1.0 on Sat, 24 Feb 2018 15:07:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/philwilkinson" aria-label="Profile: philwilkinson">@<bdi>philwilkinson</bdi></a> I had the same problem on linux using the commandline tool, but the gui version did work without errrors (but it took some time (more than a three minutes)<br />
André</p>
]]></description><link>https://forum.pycom.io/post/16279</link><guid isPermaLink="true">https://forum.pycom.io/post/16279</guid><dc:creator><![CDATA[andrethemac]]></dc:creator><pubDate>Sat, 24 Feb 2018 15:07:02 GMT</pubDate></item><item><title><![CDATA[Reply to Failure using Firmware Update Tool on LOPY 1.0 on Sat, 24 Feb 2018 14:15:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jcaron" aria-label="Profile: jcaron">@<bdi>jcaron</bdi></a> thanks for the advice,<br />
1-I double checked nothing is trying to access the serial port<br />
2-running os.uname() in the repl provides</p>
<p dir="auto">(sysname='LoPy', nodename='LoPy', release='1.12.0.b1', version='v1.8.6-849-fcbbfe3 on 2018-01-03', machine='LoPy with ESP32', lorawan='1.0.0')</p>
<p dir="auto">3- unfortunately the pysense is not looking good:</p>
<blockquote>
<blockquote>
<blockquote>
<p dir="auto">import pysense<br />
pysense.read_fw_version()<br />
Traceback (most recent call last):<br />
File "&lt;stdin&gt;", line 1, in &lt;module&gt;<br />
AttributeError: 'module' object has no attribute 'read_fw_version'</p>
</blockquote>
</blockquote>
</blockquote>
<p dir="auto">so instead I tried</p>
<blockquote>
<blockquote>
<blockquote>
<p dir="auto">o=open('<a href="http://pysense.py" target="_blank" rel="noopener noreferrer nofollow ugc">pysense.py</a>','r')<br />
o.read()<br />
"from pycoproc import Pycoproc\n\n__version__ = '1.4.0'\n\nclass Pysense(Pycoproc):\n\n    def <strong>init</strong>(self, i2c=None, sda='P22', scl='P21'):\n        Pycoproc.<strong>init</strong>(self, i2c, sda, scl)\n"</p>
</blockquote>
</blockquote>
</blockquote>
]]></description><link>https://forum.pycom.io/post/16277</link><guid isPermaLink="true">https://forum.pycom.io/post/16277</guid><dc:creator><![CDATA[philwilkinson]]></dc:creator><pubDate>Sat, 24 Feb 2018 14:15:03 GMT</pubDate></item><item><title><![CDATA[Reply to Failure using Firmware Update Tool on LOPY 1.0 on Sat, 24 Feb 2018 09:35:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/philwilkinson" aria-label="Profile: philwilkinson">@<bdi>philwilkinson</bdi></a> A few things to try:</p>
<ul>
<li>make sure there’s nothing else trying to open the serial port (pymakr, screen...)</li>
<li>use the cli version and report its output</li>
<li>on the device, use <code>pysense.read_fw_version()</code> to check it was correctly updated. Sometimes the <code>dfu-util</code> tool reports success but the Pysense actually isn’t upgraded</li>
</ul>
]]></description><link>https://forum.pycom.io/post/16266</link><guid isPermaLink="true">https://forum.pycom.io/post/16266</guid><dc:creator><![CDATA[jcaron]]></dc:creator><pubDate>Sat, 24 Feb 2018 09:35:07 GMT</pubDate></item><item><title><![CDATA[Reply to Failure using Firmware Update Tool on LOPY 1.0 on Sat, 24 Feb 2018 08:41:27 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the advice <a class="plugin-mentions-user plugin-mentions-a" href="/user/thosch42" aria-label="Profile: Thosch42">@<bdi>Thosch42</bdi></a> . However I use a very short USB cable. It also worked for the Pysense firmware upgrade and I have used it previously for the Lopy upgrades.  I am worried this may be a firmware compatibility issue.</p>
]]></description><link>https://forum.pycom.io/post/16265</link><guid isPermaLink="true">https://forum.pycom.io/post/16265</guid><dc:creator><![CDATA[philwilkinson]]></dc:creator><pubDate>Sat, 24 Feb 2018 08:41:27 GMT</pubDate></item><item><title><![CDATA[Reply to Failure using Firmware Update Tool on LOPY 1.0 on Sat, 24 Feb 2018 07:35:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/philwilkinson" aria-label="Profile: philwilkinson">@<bdi>philwilkinson</bdi></a><br />
Have you checked or changed your USB cable. I had a similar issue last week. And after I changed my cable (I worked with some month without any problems) to a shorter and brand new one, everything works well.</p>
<p dir="auto">Cheers,<br />
Thomas</p>
]]></description><link>https://forum.pycom.io/post/16263</link><guid isPermaLink="true">https://forum.pycom.io/post/16263</guid><dc:creator><![CDATA[Thosch42]]></dc:creator><pubDate>Sat, 24 Feb 2018 07:35:03 GMT</pubDate></item></channel></rss>