Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    pycom wipy pysense problem

    Scheduled Pinned Locked Moved WiPy 2&3
    pycomwipyfile transferatom
    7 Posts 2 Posters 804 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      priis
      last edited by

      After some days of struggling I got pycom wipy with pysense board work perfectly – I could read all sensors and control the heartbeat LED.
      Next, I substituted the pysense with a pytrack board. One first problem was that it was very difficult to make atom understand that I now used COM8 instead of COM7.
      Next, after solving that issue, I was not able to transfer the file L76GNSS.py to the board so I could do nothing with it.
      And even much, much worse: When I returned to pysense I could not upload anything – except that atom started writing 3672 files and after 133 files (last one: ‘Writing file packages/pymakr/lib/python/monitor.py (12 kb)) declared:
      ‘Failed to write file, trying again.. Please reboot your device manually.’

      What can I do to get back to normal?

      danD 1 Reply Last reply Reply Quote 0
      • danD Offline
        dan @priis
        last edited by

        @priis Hi, which OS are you using? If you have a project settings file (pymakr.conf), the port in the address should be used. Did you have only the project you wanted to upload open?

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          priis @dan
          last edited by

          @dan I had .\atom open. I don't know how that happened and I didn't recognize that it could be a problem.
          Thank you for your help - now pysense works again after removing the .\atom folder.
          Have you any advice on how to make pytrack work? Should I buy another pycom wipy (esp32)? Or has it something to do with the settings of atom?

          danD 1 Reply Last reply Reply Quote 0
          • danD Offline
            dan @priis
            last edited by

            @priis What have you tried with the Pytrack? I don't think it's a hardware issue, it must be one of your settings. Can you make sure Pymakr is trying to connect to the correct port? (List serial ports then copy the correct one into address)

            1 Reply Last reply Reply Quote 0
            • P Offline
              priis
              last edited by

              ... I tried the following with the pytrack board:

              from pytrack import Pytrack
              print('Pytrack imported')
              from L76GNSS import L76GNSS
              print('L76GNSS imported')
              import uos
              print(uos.uname())
              py=Pytrack()

              I got the following response:

              Pytrack imported
              L76GNSS imported
              (sysname='WiPy', nodename='WiPy', release='1.18.1.r1', version='v1.8.6-849-b0520f1 on 2018-08-29', machine='WiPy with ESP32')
              Traceback (most recent call last):
              File "<stdin>", line 7, in <module>
              File "/flash/lib/pytrack.py", line 8, in init
              File "/flash/lib/pycoproc.py", line 176, in init
              ValueError: Firmware out of date

              How can I get rid of this error?

              danD 1 Reply Last reply Reply Quote 0
              • danD Offline
                dan @priis
                last edited by

                @priis Update the Pytrack firmware (steps here) and let me know if you still have this issue after the update

                P 1 Reply Last reply Reply Quote 0
                • P Offline
                  priis @dan
                  last edited by

                  @dan I finally made it work! But only because of your advice! Thank you so much!!!

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • 1 / 1
                  • First post
                    Last post

                  Pycom on Twitter

                  Pycom