<?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 and Pytrack]]></title><description><![CDATA[<p dir="auto">I just recently received my FiPy and Pytrack.  I've updated the firmware and started looking at pulling data from the Pytrack.  Unfortunately, I continuously receive this error:</p>
<pre><code>  Traceback (most recent call last):
  File &quot;main.py&quot;, line 2, in &lt;module&gt;
  File &quot;/flash/lib/pytrack.py&quot;, line 5, in &lt;module&gt;
  TypeError: cannot create 'module' instances
</code></pre>
<p dir="auto">First 4 lines of <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow">main.py</a>:</p>
<pre><code>  #main.py
  from pytrack import Pytrack
  from L76GNSS import L76GNSS
  from LIS2HH12 import LIS2HH12
</code></pre>
<p dir="auto">I have the latest libraries (as of 1/21/18) for the Pytrack in /lib, and pycoproc is in /lib/pycoproc/pycoproc.py    I'm certain I'm missing something obvious, but any help would be appreciated.</p>
]]></description><link>https://forum.pycom.io/topic/2502/fipy-and-pytrack</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 22:26:33 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/2502.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 21 Jan 2018 15:41:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FiPy and Pytrack on Sun, 21 Jan 2018 15:41:46 GMT]]></title><description><![CDATA[<p dir="auto">I just recently received my FiPy and Pytrack.  I've updated the firmware and started looking at pulling data from the Pytrack.  Unfortunately, I continuously receive this error:</p>
<pre><code>  Traceback (most recent call last):
  File &quot;main.py&quot;, line 2, in &lt;module&gt;
  File &quot;/flash/lib/pytrack.py&quot;, line 5, in &lt;module&gt;
  TypeError: cannot create 'module' instances
</code></pre>
<p dir="auto">First 4 lines of <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow">main.py</a>:</p>
<pre><code>  #main.py
  from pytrack import Pytrack
  from L76GNSS import L76GNSS
  from LIS2HH12 import LIS2HH12
</code></pre>
<p dir="auto">I have the latest libraries (as of 1/21/18) for the Pytrack in /lib, and pycoproc is in /lib/pycoproc/pycoproc.py    I'm certain I'm missing something obvious, but any help would be appreciated.</p>
]]></description><link>https://forum.pycom.io/post/14823</link><guid isPermaLink="true">https://forum.pycom.io/post/14823</guid><dc:creator><![CDATA[Kodiak80]]></dc:creator><pubDate>Sun, 21 Jan 2018 15:41:46 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy and Pytrack on Sun, 21 Jan 2018 17:00:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2270">@kodiak80</a> You need the module pycocproc from the lib: <a href="https://github.com/pycom/pycom-libraries/tree/master/lib" target="_blank" rel="noopener noreferrer nofollow">https://github.com/pycom/pycom-libraries/tree/master/lib</a></p>
]]></description><link>https://forum.pycom.io/post/14824</link><guid isPermaLink="true">https://forum.pycom.io/post/14824</guid><dc:creator><![CDATA[robert-hh]]></dc:creator><pubDate>Sun, 21 Jan 2018 17:00:09 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy and Pytrack on Sun, 21 Jan 2018 19:38:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/98">@robert-hh</a> I appreciate the reply. I actually have pycoproc, from the repo, in /lib/pycoproc/pycoproc.py.</p>
]]></description><link>https://forum.pycom.io/post/14826</link><guid isPermaLink="true">https://forum.pycom.io/post/14826</guid><dc:creator><![CDATA[Kodiak80]]></dc:creator><pubDate>Sun, 21 Jan 2018 19:38:11 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy and Pytrack on Sun, 21 Jan 2018 19:45:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2270">@kodiak80</a> Micropython looks for import at places given py sys.path. The defaults are '', '/flash', '/flash/lib'. So, you should move <a href="http://pycoproc.py" target="_blank" rel="noopener noreferrer nofollow">pycoproc.py</a> one level up to /lib, or rename it into <code>__init__.py</code>.</p>
]]></description><link>https://forum.pycom.io/post/14827</link><guid isPermaLink="true">https://forum.pycom.io/post/14827</guid><dc:creator><![CDATA[robert-hh]]></dc:creator><pubDate>Sun, 21 Jan 2018 19:45:04 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy and Pytrack on Sun, 21 Jan 2018 20:02:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/98">@robert-hh</a> I moved <a href="http://pycoproc.py" target="_blank" rel="noopener noreferrer nofollow">pycoproc.py</a> to /lib, and my new error is this:</p>
<pre><code>Traceback (most recent call last):
File &quot;main.py&quot;, line 11, in &lt;module&gt;
File &quot;/flash/lib/pytrack.py&quot;, line 1, in &lt;module&gt;
ImportError: no module named 'pycoproc.Pycoproc'
</code></pre>
<p dir="auto"><a href="http://pytrack.py" target="_blank" rel="noopener noreferrer nofollow">pytrack.py</a>:</p>
<pre><code>from pycoproc import Pycoproc

__version__ = '1.4.0'

class Pytrack(Pycoproc):

    def __init__(self, i2c=None, sda='P22', scl='P21'):
        Pycoproc.__init__(self, i2c, sda, scl)
</code></pre>
<p dir="auto">Again, I appreciate the help.</p>
]]></description><link>https://forum.pycom.io/post/14828</link><guid isPermaLink="true">https://forum.pycom.io/post/14828</guid><dc:creator><![CDATA[Kodiak80]]></dc:creator><pubDate>Sun, 21 Jan 2018 20:02:15 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy and Pytrack on Sun, 21 Jan 2018 21:06:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2270">@kodiak80</a><br />
are you sure that you have structure like this on the flash?</p>
<pre><code>/flash
	main.py
	/lib
		L76GNSS.py
		LIS2HH12.py
		pytrack.py
                pycoproc.py
</code></pre>
<p dir="auto">connect to your device by ftp and look like it really looks like</p>
]]></description><link>https://forum.pycom.io/post/14829</link><guid isPermaLink="true">https://forum.pycom.io/post/14829</guid><dc:creator><![CDATA[livius]]></dc:creator><pubDate>Sun, 21 Jan 2018 21:06:37 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy and Pytrack on Sun, 21 Jan 2018 22:43:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/199">@livius</a> Thank you for that, my actual filesystem had <a href="http://pycoproc.py" target="_blank" rel="noopener noreferrer nofollow">pycoproc.py</a> in multiple places.  After a cleanup to match my atom project structure, I've resolved that error.  However, I did hit a new one:</p>
<pre><code>  ...
  RTC Set from NTP to UTC: (1970, 1, 1, 0, 0, 4, 429050, None)
  Adjusted from UTC to EST timezone (1970, 1, 1, 2, 0, 4, 3, 1)

  Traceback (most recent call last):
    File &quot;main.py&quot;, line 26, in &lt;module&gt;
    File &quot;/flash/lib/pytrack.py&quot;, line 8, in __init__
    File &quot;/flash/lib/pycoproc.py&quot;, line 109, in __init__
  Exception: Board not detected
</code></pre>
<p dir="auto">I tried flashing the firmware to pytrack_0.0.8.dfu, and now my board doesn't even appear to boot.  The pytrack is shown in lsusb, and I can reflash the firmware, but as soon as the FiPy module is mounted, the device never boots, no /dev/ttyACM0, and no flashing blue LED.  Fortunately I still have a second pytrack, but it generates the same &quot;board not detected&quot; exception.</p>
]]></description><link>https://forum.pycom.io/post/14835</link><guid isPermaLink="true">https://forum.pycom.io/post/14835</guid><dc:creator><![CDATA[Kodiak80]]></dc:creator><pubDate>Sun, 21 Jan 2018 22:43:56 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy and Pytrack on Mon, 22 Jan 2018 07:44:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2270">@kodiak80</a><br />
It looks like your board is not updated properly. I have read somwhere on the forum that sometimes on Windows result of update process show ok but board is not updated.<br />
Try once again and look if you can get</p>
<pre><code>from pytrack import Pytrack
py = Pytrack()
py.read_fw_version()
</code></pre>
]]></description><link>https://forum.pycom.io/post/14841</link><guid isPermaLink="true">https://forum.pycom.io/post/14841</guid><dc:creator><![CDATA[livius]]></dc:creator><pubDate>Mon, 22 Jan 2018 07:44:36 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy and Pytrack on Sun, 28 Jan 2018 17:29:41 GMT]]></title><description><![CDATA[<p dir="auto">Ok, after a lot of fiddling with these boards I'm not sure what to try next.</p>
<p dir="auto"><strong>PROBLEM</strong><br />
My FiPy/Pytrack does not appear to boot, when the two boards are connected,  and there is no device listed in lsusb or dmesg.  I get no LEDs on the FiPy when connected to the Pytrack, but it boots and begins flashing the blue LED when mounted on the Expansion board.</p>
<p dir="auto"><strong>WHAT I'VE DONE SO FAR</strong></p>
<ul>
<li>Current firmware for FiPy (v1.14.0.b1)</li>
<li>Current firmware for Pytrack (0.8) - flashed multiple times with apparent success based on output</li>
<li>Verified the FiPy operates as expected when mounted on an Expansion 2.0 board</li>
<li>Verified I can see the Pytrack board in lsusb when connected without the FiPy (04d8:f013 Microchip Technology, Inc.)</li>
<li>Tried using another computer and USB port in the chance I had a power issue of my current port</li>
<li>Successfully configured a second FiPy/Pytrack pair such that the FiPy can see the Pytrack and all appears well</li>
<li>Pressing the button on the Pytrack while the FiPy/Pytrack is connected causes the USB device (04d8:f013 Microchip Technology, Inc.) to be listed  for approximately 2-3 seconds before it disappears again.</li>
</ul>
<p dir="auto">The behavior really seems like the Pytrack firmware was not flashed correctly.  However, I followed the same procedure I used for my other Pytrack, I get a &quot;done&quot; message, and I have attempted the process repeatedly.  For what it's worth, I'm using Ubuntu 14.04 for all my work with the Pycom boards.  I appreciate any help.</p>
]]></description><link>https://forum.pycom.io/post/15062</link><guid isPermaLink="true">https://forum.pycom.io/post/15062</guid><dc:creator><![CDATA[Kodiak80]]></dc:creator><pubDate>Sun, 28 Jan 2018 17:29:41 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy and Pytrack on Mon, 29 Jan 2018 15:12:33 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2270">@Kodiak80</a>,<br />
Let's just take a Pytrack board (no Fipy put inside it) and run lsusb.<br />
You should be able to see (the most important info is <strong>bolded</strong>):</p>
<ul>
<li>Bus 020 Device 004: ID <strong>04d8:f014</strong> Microchip Technology Inc. Application Specific Device<br />
** this is bootloader mode (f014 is USB id), active just for 7-8 seconds, if you pressed Reset button when plugging USB connector</li>
<li>Bus 020 Device 005: ID <strong>04d8:f013</strong> Microchip Technology Inc. Pytrack  Serial: Pyabcde0<br />
** this is normal, application mode (f013 is USB id), of Pytrack, this means the bootloader verified application partition and it's fine<br />
** pressing reset at this point, this USB device should go away for ~1 sec, and come back</li>
</ul>
<p dir="auto">At this point, don't you have a valid /dev/ttyx handler that you can connect to?<br />
Please, tryout using <code>minicom -D /dev/tty</code>, using 115200 baudrate and 8N1 settings; you should be able to connect (can't actually send/receive nothing, as no Fipy is mounted).<br />
Next, try this with FiPy mounted on Pytrack. The LED on Fipy should be on the same side/direction as micro-USB.</p>
]]></description><link>https://forum.pycom.io/post/15089</link><guid isPermaLink="true">https://forum.pycom.io/post/15089</guid><dc:creator><![CDATA[catalin]]></dc:creator><pubDate>Mon, 29 Jan 2018 15:12:33 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy and Pytrack on Mon, 05 Feb 2018 01:48:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1969">@catalin</a> I appreciate the help.  With ONLY the Pytrack, I do see both modes (f014 and f013) as you noted.  One exception, pressing the reset button when in normal mode does NOT cause the USB device to go away.  With only the Pytrack I do get a valid /dev/ttyACM0</p>
<p dir="auto">Once I mount the FiPy, I get nothing in lsusb.  Pushing the reset button (Pytrack), at any time,  shows 04d8:f014 for several seconds before it disappears.  I also have no valid /dev/tty device once the FiPy is connected.</p>
<p dir="auto">I have verified the FiPy is mounted correctly, and I have used my second FiPy/Pytrack set (that is functioning correctly) to test.  The second FiPy, mounted on the non-functioning Pytrack still behaves the same way, and both FiPy boards, when mounted on the one good Pytrack, operate correctly.</p>
<p dir="auto">Appreciate your help.</p>
]]></description><link>https://forum.pycom.io/post/15359</link><guid isPermaLink="true">https://forum.pycom.io/post/15359</guid><dc:creator><![CDATA[Kodiak80]]></dc:creator><pubDate>Mon, 05 Feb 2018 01:48:14 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy and Pytrack on Mon, 05 Feb 2018 10:33:21 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Have you tried a different USB cable? We have had reports of some USB cables not working with the FiPy.</p>
]]></description><link>https://forum.pycom.io/post/15373</link><guid isPermaLink="true">https://forum.pycom.io/post/15373</guid><dc:creator><![CDATA[seb]]></dc:creator><pubDate>Mon, 05 Feb 2018 10:33:21 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy and Pytrack on Mon, 05 Feb 2018 17:49:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1881">@seb</a> I have tried a few different cables, and this one does work with my other fipy/pytrack set.  It also seems fine with the pytrack by itself</p>
]]></description><link>https://forum.pycom.io/post/15399</link><guid isPermaLink="true">https://forum.pycom.io/post/15399</guid><dc:creator><![CDATA[Kodiak80]]></dc:creator><pubDate>Mon, 05 Feb 2018 17:49:18 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy and Pytrack on Tue, 06 Feb 2018 08:46:19 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2270">@kodiak80</a>,</p>
<p dir="auto">This scenario, I need to clearly understand.<br />
<em>Once I mount the FiPy, I get nothing in lsusb. Pushing the reset button (Pytrack), at any time, shows 04d8:f014 for several seconds before it disappears. I also have no valid /dev/tty device once the FiPy is connected.</em></p>
<p dir="auto">It might be a hardware problem. Pytrack would stay in bootloader mode (F014), only if Reset button is kept pressed; and it's quite strange that Fipy would provoke this.<br />
PS: I have sent you a private message on Chat.</p>
]]></description><link>https://forum.pycom.io/post/15437</link><guid isPermaLink="true">https://forum.pycom.io/post/15437</guid><dc:creator><![CDATA[catalin]]></dc:creator><pubDate>Tue, 06 Feb 2018 08:46:19 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy and Pytrack on Sat, 10 Feb 2018 23:52:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1969">@catalin</a> Regarding the scenario I mentioned:  Once I mount the FiPy, simply connecting the board via USB results in no device being displayed in lsusb.  If I push the reset button on the pytrack, it does display the Microchip device (04d8:f014) for several seconds, but it then disappears. At no point do I get a /dev/tty device.</p>
<p dir="auto">I'm happy to provide more info, just let me know what you need.  I'll respond to your PM as well.</p>
]]></description><link>https://forum.pycom.io/post/15678</link><guid isPermaLink="true">https://forum.pycom.io/post/15678</guid><dc:creator><![CDATA[Kodiak80]]></dc:creator><pubDate>Sat, 10 Feb 2018 23:52:57 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy and Pytrack on Mon, 12 Feb 2018 09:32:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2270">@kodiak80</a><br />
I understand, this indicates some hardware malfunction of the Pytrack. But first some ideas:</p>
<ol>
<li>don't you happen to have some other Pycom boards (Lopy, Wipy, Sipy) to give another try on this Pytrack</li>
<li>could you try on a Mac, or Windows 10 machine? For this simple scenario, no driver installation is required, just a simple &quot;Serial Terminal&quot; app.</li>
<li>let's try to talk over a screen-sharing &quot;video&quot; call</li>
</ol>
]]></description><link>https://forum.pycom.io/post/15694</link><guid isPermaLink="true">https://forum.pycom.io/post/15694</guid><dc:creator><![CDATA[catalin]]></dc:creator><pubDate>Mon, 12 Feb 2018 09:32:47 GMT</pubDate></item><item><title><![CDATA[Reply to FiPy and Pytrack on Mon, 26 Feb 2018 15:32:57 GMT]]></title><description><![CDATA[<p dir="auto">I've had the same error and it was due to some junk files on my Fipy.</p>
<p dir="auto">A filesystem reset worked for me:</p>
<pre><code class="language-python">&gt;&gt;&gt; import os
&gt;&gt;&gt; os.mkfs('/flash')
</code></pre>
]]></description><link>https://forum.pycom.io/post/16367</link><guid isPermaLink="true">https://forum.pycom.io/post/16367</guid><dc:creator><![CDATA[fstaine]]></dc:creator><pubDate>Mon, 26 Feb 2018 15:32:57 GMT</pubDate></item></channel></rss>