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.20.2.rc3

    Scheduled Pinned Locked Moved Announcements & News
    14 Posts 6 Posters 777 Views 6 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.
    • X Offline
      Xykon administrators @robert-hh
      last edited by Xykon

      @robert-hh said in New Firmware Release 1.20.2.rc2:

      @Xykon If built without pybytes, there is no pybytes_on_boot() method in the modukle pycom, but an error message comes up:
      could not find module '_main_pybytes.py'
      That was already mentioned before. It looks like the trouble is here:

              if (config_get_pybytes_autostart()) {
                  pyexec_frozen_module("_main_pybytes.py");
              } else {
                  pyexec_frozen_module("_main.py");
              }
      

      config_get_pybytes_autostart() seems to return True, even if it was never enabled. And since the method pybytes_on_boot() does not exist, it cannot be disabled,

      An update will be available shortly (1.20.2.rc3) which fixes that. It's already on GitHub in the Dev branch.

      Edit: The pybytes_on_boot() function is not exposed unless you build the pybytes variant.

      Christian Ehlers

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

        @Xykon Thanks. I confirm it's fixed.

        Edit: The pybytes_on_boot() function is not exposed unless you build the pybytes variant.

        I've seen that, and it's consistent.

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

          1.20.2.rc3 has just been released and rc2 has been removed. Please update

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

            @Xykon @iwahdan just published v1.20.0.rc13. That is confusing. What is the relation between v1.20.2rc3 and v1.20.0rc13?

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

              @robert-hh said in New Firmware Release 1.20.2.rc3:

              @Xykon @iwahdan just published v1.20.0.rc13. That is confusing. What is the relation between v1.20.2rc3 and v1.20.0rc13?

              It was an old draft that hadn't been published before. We considered deleting it but for consistency we just decided to publish that release in case anyone still needs the elf files for debugging.

              Christian Ehlers

              K 1 Reply Last reply Reply Quote 0
              • K Offline
                kjm @Xykon
                last edited by

                @Xykon I'm familiar with updater.elf but not application.elf Can someone please like me to some docs that explain how to use application.elf for debugging pls?

                1 Reply Last reply Reply Quote 0
                • securigyS Offline
                  securigy @Xykon
                  last edited by

                  @Xykon Why everything is always so complicated? What are .elf files? Is that just for pros?
                  Why can't it be just one file as before that you load into Firmware upgrade tool?

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

                    @securigy said in New Firmware Release 1.20.2.rc3:

                    @Xykon Why everything is always so complicated? What are .elf files? Is that just for pros?
                    Why can't it be just one file as before that you load into Firmware upgrade tool?

                    @securigy Let's take a step back. I don't think it actually is complicated. If you use Firmware upgrade tool, you should get 1.20.2.rc3. Please try (again).

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

                      @peterp I guess, what people are missing are the tarballs of the most recent firmware packages, like the ones placed in here: https://software.pycom.io/downloads/FiPy etc.. That was promised once, and worked for a short time.
                      That can be used for scripted device update, which is preferable if you update more than one device. Obviously, elf-files contain everything and can be used together with esptool.py and the build scripts to create such a tarball. But having the "official" tarballs available is preferred.
                      I'm not arguing against the elf files. If you want to debug the firmware, they are needed. But most people don't do that. They expect Pycom to do it.

                      1 Reply Last reply Reply Quote 2
                      • X Offline
                        Xykon administrators
                        last edited by

                        You can temporarily use the links below to download Pybytes firmware files.

                        • WiPy
                        • LoPy
                        • SiPy
                        • GPy
                        • FiPy
                        • LoPy4

                        Christian Ehlers

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

                          @Xykon Thanks.

                          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