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 version v1.8.0.b1

    Scheduled Pinned Locked Moved Announcements & News
    firmware
    10 Posts 7 Posters 3.6k Views 7 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 daniel

      A new firmware release is out. The version is v1.8.0.b1. The github sources have been updated as well. Here's the change log:

      • esp32: PWM refactoring, added init method. Corrected 100% duty cycle behaviour.
      • esp32: Fix memory leakage caused by the callback handlers. Thanks to @robert-hh for his contributions here.
      • esp32: Move the LoRa time callback handler to IRAM.
      • esp32: Re-implement the timer alarm_heap management to make it simpler and more robust.
      • esp32: Enable persisten code load. Thanks to @robert-hh.
      • esp32: Fix bug when setting the NTP server name to None.
      • lib/lora: Increase symbol timeouts to avoid lost downlinks on the 2nd Rx Window.
      • esp32: Define maximum LoRaWAN join data rates.
      • esp32: Allow machpwm to work with frequencies up to 78KHz.
      • esp32: recvfrom() with LoRa sockets return port 0 when no data received.

      Cheers,
      Daniel

      B 1 Reply Last reply Reply Quote 3
      • R Offline
        rdixey
        last edited by rdixey

        I deleted all previous versions of the Update Tool from my Ubuntu 16.04 system. Then downloaded the New Firmware Update tool v1.8.0.b1 from pycom.io Pycom upgrader Linux link.
        When I run it on my Ubuntu sys I get the messages:

        "Connecting to the device to get it's information, please wait."
        "Something failed trying to connect to the device."

        I had the same problem with the prior Linux Updater 1.1.2.b1 and Daniel identified that it was caused because of the slow baudrate (38400) used before for the initial connection with the board. Increasing it to 57600 fixed it.

        Is there a similar issue with the v1.8.0.b1 Update Tool?

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

          We haven't changed anything in the updater tool for this release. Is anyone else having similar issues like @rdixey ?

          M 1 Reply Last reply Reply Quote 0
          • V Offline
            virtualguy
            last edited by

            Is your device sitting idle with a REPL prompt? If you have a script running with long sleeps the ctrl-c the updater sends may not stop your executing code. Just a theory...

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

              @virtualguy There's still the Ctrl-C issue pending, in that Ctrl-C does not raise an KeyboardInterrupt immediately. This happens eventually after the next char, or in case if input() not before the next 'enter'.
              See the old bug: https://github.com/pycom/pycom-micropython/issues/49

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

                @daniel I can replicate the issue that @rdixey reported.

                celine% cat /etc/lsb-release|grep DESC
                DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"
                celine% whoami
                marek
                celine% egrep dialout /etc/group
                dialout:x:20:marek,root
                celine% ls -lh /dev/ttyUSB0
                crw-rw---- 1 root dialout 188, 0 Sep 9 10:22 /dev/ttyUSB0

                celine% ./update # running the update (as a user who is in the required dialout group) throws the error "Connecting to the device to get it's information, please wait. Something failed trying to connect to the device."

                celine% sudo ./update # running the update using sudo (, or root) works fine

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

                  I'm experiencing a lot of missed downlinks/acks on RX1 for a USA device. RX2 works almost every time. It seems to have worked better before this update. In raw mode the device receives them every time, so I suspect it is a timing issue.

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    BetterAuto Pybytes Beta @daniel
                    last edited by

                    @daniel said in New firmware release version v1.8.0.b1:

                    esp32: Enable persisten code load. Thanks to @robert-hh.

                    What's that do, @robert-hh ?

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

                      @betterauto It allows executing pre-compiled Python files from the file system. The files will be pre-compiled on your PC with mpy-cross, creating .mpy files (bytecode), copied to you xxPy and then imported as usual. No RAM is needed for compiling, allowing larger scripts. This is an intermediate step between Python source scripts and embedded bytecode.

                      1 Reply Last reply Reply Quote 1
                      • R Offline
                        rdixey @rdixey
                        last edited by

                        @rdixey When placing the jumper for the update I was disconnecting the USB but forgetting to disconnect the battery. Sometimes I do silly things :-). But after I realized this I have updated both of my LoPy's.

                        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