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

    New firmware release 0.9.3.b2

    Scheduled Pinned Locked Moved Announcements & News
    22 Posts 9 Posters 9.9k Views 11 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.
    • M Offline
      matamune
      last edited by

      Hi,
      I am on macOS Sierra and when I downloaded the newest version of the updater, I was not able to launch it.

      I debbuged it by launching it on the terminal and it says the file lopy.py did not find the folder 'firmware'.

      I took a look into the code and in the function __establishFirmwareVersion, line 426, I had to change bins = os.listdir('/firmware')by bins = os.listdir(HERE_PATH+'/firmware').
      Now it works correctly.

      K A 2 Replies Last reply Reply Quote 0
      • X Offline
        Xykon administrators @MainSheet
        last edited by

        @MainSheet I only used PyMakr very briefly (it keeps turning the awfully bright LED on and it's very annoying having to turn it off manually all the time) but it was working with the LoPy and the latest firmware.

        The only reasons I can think of why PyMakr can't connect to the serial port is that something else is blocking the COM port or there is something in your boot.py/main.py that's causing PyMakr to fail. You could try import os; import machine; os.mkfs('/flash'); machine.reset() to restore your flash memory to firmware defaults, it will re-create a boot.py with nothing but the code for serial REPL along with empty main.py and sys, cert, lib directories.

        As for not being able to connect via the network, did you try ping 192.168.0.118 from the command line? Did you try putty in telnet mode and FileZilla with correct settings?

        Christian Ehlers

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

          @matamune said in New firmware release 0.9.3.b2:

          bins = os.listdir(HERE_PATH+'/firmware')

          Yes! This makes the firmware updater working on the MacOs. I'm on El Capitain.

          To be a bit more specific, one need to apply the fix in here:
          /Applications/Pycom Firmware Update.app/Contents/Resources/src/lopyupdate.py

          1 Reply Last reply Reply Quote 1
          • D Offline
            dalecousins
            last edited by

            Thanks guys that worked.

            Dale.

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

              @Xykon I think I will put PyMakr to the side for a while, between FileZilla and putty I can do whatever I need. Your input has helped me get up to speed quickly. Thanks

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

                @matamune, thanks for your observation. There is a new version of the script that takes into account your findings. It should start now :) It's available in the usual place, and the file is named pycom_update_0.9.3.b2a.dmg

                1 Reply Last reply Reply Quote 0
                • S Offline
                  scratchrobot
                  last edited by

                  FTP still not working for me after upgrading to pycom_update_0.9.3.b2.dmg

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    livius
                    last edited by

                    I do not have mac but did you checked real version it it was upgraded?

                    import os
                    os.uname()
                    

                    think about people first, then computers

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      livius
                      last edited by

                      This topic is "pinned" and is as a first on the list - but newer firmware topic exists

                      think about people first, then computers

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

                        @liviusm, thanks for the pinned observation :)

                        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
                        • 2
                        • 2 / 2
                        • First post
                          Last post

                        Pycom on Twitter

                        Pycom