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

    Initial issues with the LoPy

    Scheduled Pinned Locked Moved LoPy
    15 Posts 9 Posters 4.5k Views 9 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.
    • D Offline
      DarkHawk
      last edited by

      @jeremy for me the ide also did nothing (on Mac) but the stand-alone updater did the job for me (the lopy has to be in setup mode)

      D 1 Reply Last reply Reply Quote 0
      • J Offline
        jeremy
        last edited by

        Thanks @DarkHawk , turns out my LoPy is actually broken which is why it wasn't receiving the updates

        1 Reply Last reply Reply Quote 0
        • A Offline
          abilio @jeremy
          last edited by abilio

          @jeremy About the Mac updater, at present time we're only supporting OS X 10.11.6 or newer. This can change in the future, but thanks for the feedback on a different version.

          M 1 Reply Last reply Reply Quote 0
          • D Offline
            digsatman @DarkHawk
            last edited by

            @DarkHawk Ive been able to update one of my two LoPy's with the standalone updater under Windows 7 without needing to link pins or anything. My other LoPy wont update from WIndows or OSX and just says failed after 30 seconds or so. Maybe one of mine is broken - how did you ascertain yours was broken?

            I thought there was a way of updating the LoPy via ftp but can't find a binary firmware image and am not sure if it is the same method as the WiPy/WiPy2

            1 Reply Last reply Reply Quote 0
            • D Offline
              daniel
              last edited by

              It's the same method as the WiPy 1.0. Just rename the binary to appimg.bin and put it inside /flash/sys/.

              1 Reply Last reply Reply Quote 0
              • J Offline
                jeremy
                last edited by

                I just got the binary image from the updated package. There is information in the documentation on how to update the lopy via ftp. Make sure to rename the file to the correct format before updating

                I worked out my lopy was broken because changes to boot.py would not persist, and the exact same changes would persist on many other devices. Just this evening, @daniel helped me to get it working again.

                L 1 Reply Last reply Reply Quote 0
                • L Offline
                  LoneTech @jeremy
                  last edited by LoneTech

                  What's the solution for changes not persisting? I have a LoPy that doesn't accept firmware changes, immediately forgets any new files, and forgets any new data in boot.py. That is, the file size changes but the data is all NUL. Firmware updates don't seem to affect it either.

                  Edit: solved, see thread How to solve the firmware update failures

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jeremy
                    last edited by

                    @LoneTech you should contact @daniel

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      Keptenkurk @jeremy
                      last edited by

                      @jeremy
                      As for question 3:
                      UART0 RX = P0
                      UART0 TX = P1

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        matamune @abilio
                        last edited by matamune

                        @abilio said in Initial issues with the LoPy:

                        @jeremy About the Mac updater, at present time we're only supporting OS X 10.11.6 or newer. This can change in the future, but thanks for the feedback on a different version.

                        Hi there,
                        I just received my lopy and I wanted to update my lopys' firmware but I got the error LSOpenURLsWithRole() failed with error -10810 when I run open /Applications/Pycom\ Firmware\ Update.app/ and open /Applications/Pymakr.app/ and I am under macOS Siera (so 10.12).

                        Is there any way to upgrade the firmware and use the pymakr application ?

                        Thakn you :)

                        M 1 Reply Last reply Reply Quote 0
                        • J Offline
                          jobbyworld @jeremy
                          last edited by

                          @jeremy
                          be sure to use machine.reset() after update
                          or
                          power off
                          Have the same issue on mac el captain, using Windows 10 works
                          On my mac pyserial don't work.
                          On mac you could try to extract lopy_0.9.1.b1_868 or lopy_0.9.1.b1_915 depends your countrie from app
                          and next ftp lopy firmware to /flash/sys/appimg.bin

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            matamune @matamune
                            last edited by matamune

                            @matamune said in Initial issues with the LoPy:

                            @abilio said in Initial issues with the LoPy:

                            @jeremy About the Mac updater, at present time we're only supporting OS X 10.11.6 or newer. This can change in the future, but thanks for the feedback on a different version.

                            Hi there,
                            I just received my lopy and I wanted to update my lopys' firmware but I got the error LSOpenURLsWithRole() failed with error -10810 when I run open /Applications/Pycom\ Firmware\ Update.app/ and open /Applications/Pymakr.app/ and I am under macOS Siera (so 10.12).

                            Is there any way to upgrade the firmware and use the pymakr application ?

                            Thank you :)

                            So, I solved my issue.

                            It was due to an error with QT and libpng :
                            gabi@MacBook-Pro:/Applications/Pycom Firmware Update.app/Contents/MacOS$ DYLD_FRAMEWORK_PATH="${DIR}/Frameworks" DYLD_FALLBACK_LIBRARY_PATH="${DIR}/Resources/lib" "${DIR}/Frameworks/Python.framework/Versions/2.7/bin/pythonw" "${DIR}/Resources/src/lopyupdate.py" "$@" Traceback (most recent call last): File "/Applications/Pycom Firmware Update.app/Contents/Resources/src/lopyupdate.py", line 9, in <module> from PyQt4 import QtGui ImportError: dlopen(/Applications/Pycom Firmware Update.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyQt4/QtGui.so, 2): Library not loaded: /opt/local/lib/libpng16.16.dylib Referenced from: /Applications/Pycom Firmware Update.app/Contents/Frameworks/QtGui.framework/Versions/4/QtGui Reason: Incompatible library version: QtGui requires version 38.0.0 or later, but libpng16.16.dylib provides version 35.0.0

                            So I had to install/update libpng with brew (brew install libpng) and then I manually copied the files from /usr/local/opt/libpng/bin into /opt/local/lib/ and it worked.

                            A 1 Reply Last reply Reply Quote 0
                            • A Offline
                              abilio @matamune
                              last edited by

                              @matamune Thank you very much for your detailed post. It will be really helpful to improve the tool.

                              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