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 Release Candidate 1.20.2.rc11 for Pygate

    Scheduled Pinned Locked Moved Beta Announcements & Development News
    23 Posts 9 Posters 341 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.
    • P Offline
      peterp
      last edited by peterp

      Dear Pycom community!

      We're happy to announce the release of the new version 1.20.2.rc11 for the Pygate

      The most important points are:

      • Publishing of the source code for Pygate FW
      • Adding support for long AT commands - Thanks @ftylitak
      • Differential Firmware Update Support - This new feature is included in the source code, but disabled in the build for the moment
      • Pygate debug messages are printed to telnet

      As usual, you can update your device using the Firmware Upgrade tool, download firmware packages (.tar.gz) from the docs and get the .elf files from github.

      D 1 Reply Last reply Reply Quote 3
      • D Offline
        d.alvrzx @peterp
        last edited by

        @peterp Thank you! Very interested in testing "Pygate debug messages are printed to telnet". However, the tar.gz file for rc11 does not have a clickable link in the docs (yet). For those that want to try, you can replace rc10 for rc11 in the download links and it seems to work, like so:

        1. WiPy: https://software.pycom.io/downloads/pygate/WiPy-1.20.2.rc11.tar.gz
        2. LoPy4: https://software.pycom.io/downloads/pygate/LoPy4-1.20.2.rc11.tar.gz
        3. GPy: https://software.pycom.io/downloads/pygate/GPy-1.20.2.rc11.tar.gz

        So the files are hosted but the links aren't available yet I think.

        D P 2 Replies Last reply Reply Quote 2
        • M Offline
          mikestanley464
          last edited by

          thanks for it.

          M 1 Reply Last reply Reply Quote 0
          • D Offline
            d.alvrzx @d.alvrzx
            last edited by

            Updated the firmware just now to rc11, can confirm debug messages over telnet work just fine on LoPy4 + PyGate + PoE adapter. Thx!

            1 Reply Last reply Reply Quote 1
            • P Offline
              peterp @d.alvrzx
              last edited by

              @d-alvrzx said in New Release Candidate 1.20.2.rc11 for Pygate:

              @peterp Thank you! Very interested in testing "Pygate debug messages are printed to telnet". However, the tar.gz file for rc11 does not have a clickable link in the docs (yet). For those that want to try, you can replace rc10 for rc11 in the download links and it seems to work, like so:

              1. WiPy: https://software.pycom.io/downloads/pygate/WiPy-1.20.2.rc11.tar.gz
              2. LoPy4: https://software.pycom.io/downloads/pygate/LoPy4-1.20.2.rc11.tar.gz
              3. GPy: https://software.pycom.io/downloads/pygate/GPy-1.20.2.rc11.tar.gz

              So the files are hosted but the links aren't available yet I think.

              Apologies and thanks for flagging! Those are indeed the correct links. Also the website has now been updated to include the links.

              1 Reply Last reply Reply Quote 1
              • A Offline
                andrew.parry
                last edited by

                Pygate was working fine before i did this update - Now i can't connect to it with Atom, safe boot fails and i can't seem to get the board into a mode that will allow me to download my application.

                D J 2 Replies Last reply Reply Quote 0
                • D Offline
                  d.alvrzx @andrew.parry
                  last edited by

                  @andrew-parry This didn't happen to me upon update... Is the Pygate listed in the Device Manager (assuming you're on Windows) as COMX? You could also attempt to use the firmware updater CLI tool and list all available devices by running:

                  pycom-fwtool-cli.exe list
                  

                  If something like COM4 [USB Serial Device (COM4)] [USB VID:PID=04D8:ED14 SER=PY4A2F7B LOCATION=1-3] comes up, you could then try a full erase via:

                  pycom-fwtool-cli.exe -p COM4 erase_all
                  

                  And then attempt to upload the firmware again. Haven't tested this on Pygate, but this worked for me when sometimes updating the firmware on my LoPy4 caused issues.

                  A 1 Reply Last reply Reply Quote 0
                  • J Offline
                    jcaron @andrew.parry
                    last edited by

                    @andrew-parry This page states:

                    If PIC stays in bootloader mode, the dfu-util update should be performed

                    @Gijs Of course the link is broken, it probably meant to link to this page. Of course, no idea what is meant by "update" since there is no such command in dfu-util (at least the version I have here) and there is no published firmware for the Pygate. But dfu-util -l should at least be informative.

                    pycom-fwtool-cli can trigger moving the **Py to/from firmware upgrade mode. Just issue a command to read anything and it should get out of firmware upgrade mode when it exits.

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      andrew.parry @d.alvrzx
                      last edited by

                      @d-alvrzx Yes I'll give it a try I'm using a lopy4 with the pygate, The Firmware update tool works fine, I've re-loaded the firmware multiple times without issue but still can't connect with Atom. I'm going to try reverting the Firmware to the previous version and see if that helps.

                      1 Reply Last reply Reply Quote 1
                      • S Offline
                        serafimsaudade
                        last edited by

                        Hi,
                        I'm testing this release and when I try to set the RTC it don't update.

                        >>> from machine import RTC
                        >>> rtc = RTC()
                        >>> rtc.now()
                        (1970, 1, 1, 0, 5, 16, 423776, None)
                        >>> rtc.init((2014, 5, 1, 4, 13, 0, 0, 0))
                        >>> rtc.now()
                        (1970, 1, 1, 0, 6, 38, 714800, None)
                        

                        This code works on all previous releases.

                        P 1 Reply Last reply Reply Quote 1
                        • P Offline
                          peterp @serafimsaudade
                          last edited by peterp

                          @serafimsaudade said in New Release Candidate 1.20.2.rc11 for Pygate:

                          Hi,
                          I'm testing this release and when I try to set the RTC it don't update.

                          >>> from machine import RTC
                          >>> rtc = RTC()
                          >>> rtc.now()
                          (1970, 1, 1, 0, 5, 16, 423776, None)
                          >>> rtc.init((2014, 5, 1, 4, 13, 0, 0, 0))
                          >>> rtc.now()
                          (1970, 1, 1, 0, 6, 38, 714800, None)
                          

                          This code works on all previous releases.

                          Indeed I can reproduce the problem that init() does not set the rtc. Thanks for flagging! Now that I checked this, also the two previous pygate releases did not set the rtc from init(). The latest pybytes firmware does set it correctly for me.

                          Just to gauge the severity - do you actually need to set it to 2014? rtc.ntp_sync() seems to work ok, for me in all three pygate releases rc9, rc10, rc11 and latest stable 1.20.2.rc0.

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

                            I'm testing on wipy, gpy, fipy and lopy4.
                            The 2014 is a example only for show the bug.
                            I need to set the rtc manualy. Because my devices connect to the internet over modem3G and request the date and time over API, i don't use wifi.

                            P 1 Reply Last reply Reply Quote 1
                            • P Offline
                              peterp @serafimsaudade
                              last edited by

                              @serafimsaudade said in New Release Candidate 1.20.2.rc11 for Pygate:

                              I'm testing on wipy, gpy, fipy and lopy4.

                              There is no pygate FW release for the FiPy! Are you looking for the Pygate firmware or the "normal" Pybytes one?

                              If you are indeed looking for the pygate firmware, could you then double check for me whether init() does actually work for you in pygate 1.20.2.rc10 and rc9?

                              The 2014 is a example only for show the bug.
                              I need to set the rtc manualy. Because my devices connect to the internet over modem3G and request the date and time over API, i don't use wifi.

                              ntp_sync is not restricted to wifi. It should work just as well over LTE.

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

                                Sry I maybe was not explicit. English e not my native language.
                                I don't have a pygate.
                                This Fw release 1.20.2.rc11 is only for the pygate? I can use it on other products (wipy, gpy, fipy, lopy4)?
                                I'm running custom frozen code, I compile fw from source code.
                                My devices are custom hardware with pycom cpu's, and all have thirdparty modem 2G/3G/4G.
                                I don't use NB-IOT/LTE Cat1, because the mobile cover are not good enough.

                                P 1 Reply Last reply Reply Quote 0
                                • P Offline
                                  peterp @serafimsaudade
                                  last edited by

                                  @serafimsaudade Ah, ok. Now I understand. From a build-from-source perspective, pygate and base/pybytes are now all merged together in the same branch. The differences are:

                                  • latest pygate fw is built from latest public commit in Dev branch with make VARIANT=PYGATE
                                  • latest pybytes fw is built from an earlier commit (783192e) using make VARIANT=PYBYTES. speaking simplified this is before/without any of the pygate code.
                                  • for base variant we don't publish prebuilt binaries any more, but this might be what you build yourself.

                                  Do you mind telling me how you build? That would help narrow down the rtc.init() issue.

                                  For the time being you could try reverting to the tag for the stable release v1.20.2.r0. Let me know whether that works for you.

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

                                    yes the v1.20.2.r0, rc9, rc10 are ok.

                                    Build the FW:

                                    make ESPPORT=/dev/ttyUSB0 BOARD=WIPY FS=LFS flash
                                    
                                    P 1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      peterp @serafimsaudade
                                      last edited by

                                      @serafimsaudade said in New Release Candidate 1.20.2.rc11 for Pygate:

                                      yes the v1.20.2.r0, rc9, rc10 are ok.

                                      well, ok. I get it now - you're building from source, so we were talking past each other here. When you say rc9 (or10) you refer to the git tag v1.20.2.rc9 which means pybytes, while I was talking about the binary release of the pygate firmware. Those are not the same thing

                                      Build the FW:

                                      make ESPPORT=/dev/ttyUSB0 BOARD=WIPY FS=LFS flash
                                      

                                      understood. thanks!

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        serafimsaudade @peterp
                                        last edited by

                                        @peterp
                                        Ahh ok. :). I thought it was implied, that I was talking about the git repository. Sry.

                                        Best regards,

                                        1 Reply Last reply Reply Quote 1
                                        • R Offline
                                          Roy k carroll
                                          last edited by

                                          @serafimsaudade said in New Release Candidate 1.20.2.rc11 for Pygate:

                                          yes the v1.20.2.r0, rc9, rc10 are ok.

                                          1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            Jean Ferreira @peterp
                                            last edited by

                                            @peterp This is a problem for me as well - I set my G01 RTC from a another RTC chip on our OEM board.

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

                                            Pycom on Twitter

                                            Pycom