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

    Firmware release 1.0.0.b2

    Scheduled Pinned Locked Moved Announcements & News
    38 Posts 10 Posters 15.2k Views 10 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
      daniel
      last edited by

      Dear all,

      We just released a new version that fixes a few bugs. Version 1.0.0.b2 corrects 2 problems found on the previous release:

      1. WiFi scan after a BLE scan would hang indefinitely.

      2. machine.reset() was failing to reboot the board.

      Please download the new updater from:

      https://www.pycom.io/support/supportdownloads/ and upgrade all our modules. Thanks.

      Cheers,
      Daniel

      A 1 Reply Last reply Reply Quote 1
      • A Offline
        arneme @daniel
        last edited by arneme

        @daniel This version of the upgrade tool (for Mac) will not let me choose a country in the "Country select" part of the wizard. Will I get 868 or 915 version then? Trying to upgrade failed however....

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

          @arneme that's very strange. It should let you select the country like with the previous versions. What version of OS X are you running?

          Cheers,
          Daniel

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            arneme @daniel
            last edited by arneme

            @daniel I am running 10.11.5 (El Capitan). The other versions worked fine. I will try on my Linux PC.

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

              @arneme, is there any chance you can update to 10.11.6 ? That's the oldest OS X version that we have tried with the latest update tool. Thanks.

              Cheers,
              Daniel

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                arneme @daniel
                last edited by

                @daniel Updated to 10.11.6 but same result :-(

                D A 2 Replies Last reply Reply Quote 0
                • D Offline
                  daniel @arneme
                  last edited by

                  @arneme we can't reproduce the issue on our side yet, but we will continue investigating. Were you able to use the unix tool instead (that one also runs on OS X)?

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

                    @arneme I tried on Linux as well but it seems to be a problem with the "Fetching updates for this tool". On Linux I got a rotating spinner so it was easy to see that it did not manage to connect and download whatever it is looking for (on the Mac it only said "fetching updates for this tool" and I did not notice that it did not succeed). On both Linux and Mac I am however allowed to proceed (pushing the "next" button).

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

                      @arneme are you connected to the internet while you run the tool (and the tool needs to have the proper permissions...)? This new version fetches the binary from our servers every time you try to update the LoPy, as opposed to the previous tools which came bundled with the firmware binaries. This allows us to streamline the release process. Maybe it's a firewall issue... Could you check that?

                      A 1 Reply Last reply Reply Quote 0
                      • A Offline
                        arneme @daniel
                        last edited by arneme

                        @daniel I am connected but I guess your server is not responding properly. On the Linux PC I get some sort of SSL error....

                        As to firewall issues, that depends on what you are trying to do. Our firewall is open for everything going out but restricts access coming in. If you are trying to open a separate connection (and not piggybacking on the ongoing session) it will most certainly fail.

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

                          Could you try running the unix tool with sudo?

                          A 1 Reply Last reply Reply Quote 0
                          • A Offline
                            arneme @daniel
                            last edited by

                            @daniel I did (and it did not work).

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

                              @arneme when the unix tool fails it normally prints a log with the errors it found. Could you copy and paste the log here? That should help find the problem... Thanks.

                              J A 3 Replies Last reply Reply Quote 0
                              • J Offline
                                jasonriedy @daniel
                                last edited by

                                @daniel I'm trying to update from a system that has Python 3.5.2:

                                Traceback (most recent call last):
                                File "./bin/updater.py", line 3, in <module>
                                from esptool import ESP32ROM
                                File "/root/pyupgrade/bin/esptool.py", line 183
                                print '%s' % inst.CHIP_NAME
                                ^
                                SyntaxError: Missing parentheses in call to 'print'

                                J 1 Reply Last reply Reply Quote 0
                                • A Offline
                                  arneme @daniel
                                  last edited by

                                  @daniel I left my Linux PC at work but I can post the error message tomorrow. I tried the update tool on my Mac from my home network and that worked fine. Unless you changed something it seems to be the firewall at work that stops the necessary network traffic. I am therefore wondering how you are trying to serve the firmware?

                                  1 Reply Last reply Reply Quote 0
                                  • A Offline
                                    arneme @daniel
                                    last edited by

                                    @daniel It looks like something went really wrong with the LoPy that I tried to upgrade earlier today without success. I am now not able to get in contact with it at all. The procedure for safe boot is not working (P12 to V3V and reset; does not result in orange blinking LED. The WiFi that is usually served by the LoPy is not present). Any ideas on how to fix this or is this LoPy gone forever?

                                    I have however successfully upgraded other LoPy devices (from home) to 1.0.0.b2.

                                    L D 2 Replies Last reply Reply Quote 0
                                    • J Offline
                                      jasonriedy @jasonriedy
                                      last edited by

                                      @daniel Ah, modifying update.py to run python2 explicitly works on a Pi3 running manjaro. Plugging into my laptop may have been easier, but I was curious.

                                      BLE scan can run repeatedly, and machine.reset() works for me. Thank you!

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

                                        @arneme
                                        try once again your upgrade - deselect "fast connection" or something simmillar in updater tool - it help me on one device maybe you got success also

                                        think about people first, then computers

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

                                          @arneme no matter how wrong things went, it's not broken for sure. The updater tool is able to program devices with a blank flash memory. You don't need to do a safe boot, simply use the updater tool to flash the latest firmware on it. On the failed update before some sections of the flash memory of your LoPy were erased and not programmed again, that's why it doesn't boot anymore, but the updater tool can fix it without any doubt.

                                          Cheers,
                                          Daniel

                                          A 1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            mohpor
                                            last edited by

                                            Thanks for the update.
                                            I can confirm that WiFi scan now works after Bluetooth instantiation.

                                            Cheers,
                                            M.

                                            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