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 1.10.1.b1

    Scheduled Pinned Locked Moved Announcements & News
    firmware
    41 Posts 13 Posters 13.7k Views 13 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.
    • C Offline
      Colateral @Xykon
      last edited by Colateral

      @xykon I commented this in application.mk

      #PIC_TOOL = $(PYTHON) tools/pypic.py --port $(ESPPORT)
      #ENTER_FLASHING_MODE = $(PIC_TOOL) --enter
      #EXIT_FLASHING_MODE = $(PIC_TOOL) --exit
      

      and flashing was working.

      I don't know if everything goes fine with those lines commented. Seems that those lines are targeting flashing a pic microcontroller ... do we have this kind of microcontroller on our LopY and L01?

      X 1 Reply Last reply Reply Quote 0
      • T Offline
        tudro
        last edited by

        Hello, with this firmware i'm having a problem with the deepsleep lib:
        Traceback (most recent call last):
        File "/flash/lib/deepsleep.py", line 151, in get_wake_status
        File "/flash/lib/deepsleep.py", line 79, in peek
        IndexError: bytes index out of range

        I downgraded the firmware to 1.9.2.b2 and the deepsleep started working fine again, so i assume it's something with the new firmware. Anybody had this problem?

        Thank you

        B D 2 Replies Last reply Reply Quote 1
        • C Offline
          Colateral @Emmanuel Goudot
          last edited by

          @emmanuel-goudot I had the same problem. After I upgraded xtensa tool to last version everything is working. You need to download and replace xtensa folder with the new software. Be sure the software that you install is inline with your OS: linux / windows and 32/64bit

          1 Reply Last reply Reply Quote 0
          • X Offline
            Xykon administrators @Colateral
            last edited by

            @colateral The pypic.py tool puts the esp32 into firmware update mode when using a Pytrack or Pysense which is controlled by a PIC microcontroller. This way you no longer need a jumper wire to do firmware upgrades.

            Christian Ehlers

            C 1 Reply Last reply Reply Quote 1
            • C Offline
              Colateral @Xykon
              last edited by

              @xykon Thanks. We are using LoPy with pycom shield. We have also our own board based on L01. Both cases raise errors on that pypic serial connection . Can you enhance application.mk by adding some conditions in case that the pic is not present.?

              X 1 Reply Last reply Reply Quote 0
              • X Offline
                Xykon administrators @Colateral
                last edited by

                @colateral On MacOS X (which we use internally) the script works fine with either the standard expansion board or the Pytrack / Pysense. This is an issue specifically with running the script on Windows. As I want to include this functionality with the firmware update tool, we'll obviously have to make the script compatible with Windows OS.

                Christian Ehlers

                1 Reply Last reply Reply Quote 0
                • robert-hhR Offline
                  robert-hh @Xykon
                  last edited by

                  @xykon said in New firmware release 1.10.1.b1:

                  Any chance you can try without assigning a fixed IP?

                  calling ifconfig() before connect() also solves the problem. I looked into the code, and there seems to be a condition mix-up between the local state of the wlan_obj.disconnected variable and the connection status in the wifi_event_group variable. ifconfig(), when called, disconnects first, which causes a SYSTEM_EVENT_STA_DISCONNECTED event, which attempts to reconnect, while the dhcp client is shut down and the new ip values are set, and the timing relations are not obvious. This might lead to trouble.

                  1 Reply Last reply Reply Quote 1
                  • T Offline
                    this.wiederkehr
                    last edited by this.wiederkehr

                    Espressif just pushed a new release 2.1.1 (https://github.com/espressif/esp-idf/releases) which is advertised to include bug fixes for two security vulnerabilites: KRACK and BlueBorne

                    Are the mentioned fixes already included in this current firmware release?

                    EDIT:
                    Found the answer regarding Krack myself:
                    http://espressif.com/en/media_overview/news/espressif-releases-patches-wifi-vulnerabilities-cert-vu228519
                    Fix is in master since this commit:
                    https://github.com/espressif/esp-idf/commit/904d6c8f2b01de52597b9e16dad19c78ade9e586

                    This commit is in pycom's esp-idf as well (https://github.com/pycom/pycom-esp-idf/commit/904d6c8f2b01de52597b9e16dad19c78ade9e586).

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      bradnz @tudro
                      last edited by

                      @tudro Did you find a solution to this issue? Im experiencing the same issue

                      T 1 Reply Last reply Reply Quote 0
                      • T Offline
                        tudro @bradnz
                        last edited by

                        @bradnz Nope. I guess we have to wait for a new firmware.

                        robert-hhR B 2 Replies Last reply Reply Quote 0
                        • robert-hhR Offline
                          robert-hh @tudro
                          last edited by

                          @tudro There is a new firmware version out at 1.10.2.b1, but it does not mention deepsleep in the revision notes.

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            bradnz @tudro
                            last edited by

                            @tudro Interestingly enough, after a lot of testing, I only ever get this error when I have connected to the device, with an expansion board and powering this ONLY through a Lipo battery. With the device connected via USB I dont get this error! I have upgraded to the latest firmware which hasnt fixed the issue so Im not sure where to go to from here.

                            T 1 Reply Last reply Reply Quote 0
                            • T Offline
                              tudro @bradnz
                              last edited by

                              @bradnz Thank you for the info. I was pretty busy lately and didn't have much time for the lopy. Maybe this week i get a chance to test some more. I tested 2 lopys on usb and they both had the same problem. Even if it's just on batter for you, it still means there is a problem. Maybe they will have time to investigate this sooner or later, otherwise i will just stick to the 1.9 version for now.

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                devinv @tudro
                                last edited by

                                @tudro This is hapenning to me now with the last firmware. How did you solve this?

                                robert-hhR 1 Reply Last reply Reply Quote 0
                                • robert-hhR Offline
                                  robert-hh @devinv
                                  last edited by

                                  @devinv What is happening?

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

                                  Pycom on Twitter

                                  Pycom