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 v1.11.0.b1 and new updater tool version v1.1.4.b1 (FiPy and GPy support)

    Scheduled Pinned Locked Moved Announcements & News
    firmware
    32 Posts 11 Posters 8.1k Views 11 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.
    • sebS Offline
      seb @dbrgn
      last edited by

      @dbrgn

      You would only need to change the way you instantiate the SPI class to use the old pin layout, you can find an example of this here: https://docs.pycom.io/chapter/firmwareapi/pycom/machine/SPI.html
      No need to recompile the whole firmware. The reason this has been changed is because on new devices P12 controls the external WiFi antenna switch and therefor should not be used for SPI. The pinout diagrams will soon be updated to reflect these changes.

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

        @dbrgn
        It is good practice that if you have default configuration which can by changed by params,
        to specify default params also. It is helpfull for self documenting (you do not need to look into docs what is default or place some comments) and then such changes do not affect you at all.
        But this is only my little POV.

        think about people first, then computers

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

          There’s no need to recompile firmware. Every peripheral (except for the SD card) allows to assign its pins anywhere (by passing the pins argument to the constructor). However, if no pins argument is given, a set of default pins is used. P12 is also the safeboot pin and the antenna select pin in the WiPy3, LoPy4, GPy and FiPy.

          Just use the pins argument in the constructor and specify P12 for MISO and that’s it.

          I hope that this is clear.

          Cheers,
          Daniel

          robert-hhR 1 Reply Last reply Reply Quote 1
          • sebS Offline
            seb @livius
            last edited by

            @livius

            Hi, thanks for the feedback, the documentation will be undergoing a lot of improvements soon and we will definitely keep this in mind.

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

              @daniel said in New firmware release v1.11.0.b1 and new updater tool version v1.1.4.b1 (FiPy and GPy support):

              P12 is also the safeboot pin and the antenna select pin in the WiPy3, LoPy4, GPy and FiPy

              If you look into the Pin-out diagrams, there is still a mess about that topic.

              sebS 1 Reply Last reply Reply Quote 0
              • sebS Offline
                seb @robert-hh
                last edited by

                @robert-hh said in New firmware release v1.11.0.b1 and new updater tool version v1.1.4.b1 (FiPy and GPy support):

                @daniel said in New firmware release v1.11.0.b1 and new updater tool version v1.1.4.b1 (FiPy and GPy support):

                P12 is also the safeboot pin and the antenna select pin in the WiPy3, LoPy4, GPy and FiPy

                If you look into the Pin-out diagrams, there is still a mess about that topic.

                Hi,
                I just looked over all of the pinouts, only the LoPy4 remained to fixed and has now been resolved. The pinouts now all accurately reflect where each module has its antenna select. I will soon be improving the documentation around the other issue you raised with safe boot.

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

                  @seb Thanks, and in case we do not talk again: Merry Christmas

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    dbrgn @seb
                    last edited by

                    @seb said in New firmware release v1.11.0.b1 and new updater tool version v1.1.4.b1 (FiPy and GPy support):

                    @dbrgn

                    You would only need to change the way you instantiate the SPI class to use the old pin layout, you can find an example of this here: https://docs.pycom.io/chapter/firmwareapi/pycom/machine/SPI.html
                    No need to recompile the whole firmware. The reason this has been changed is because on new devices P12 controls the external WiFi antenna switch and therefor should not be used for SPI. The pinout diagrams will soon be updated to reflect these changes.

                    Ah, thank you for clarification, that helps :)

                    @livius said:

                    It is good practice that if you have default configuration which can by changed by params,
                    to specify default params also.

                    Yep, I agree :) I was under the impression that this mapping is something that is done in the ESP32 firmware, not in the "MicroPython userspace", which would have been a bit more complicated in my case.

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      tcottle @daniel
                      last edited by

                      @daniel Updater tool does not work on Win7(!) No indication of Win10 requirement in the docs and the installer does not catch this error.

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

                        @tcottle it should work on Win7 as well. What errors do you get?

                        T 1 Reply Last reply Reply Quote 0
                        • T Offline
                          tcottle @daniel
                          last edited by

                          @daniel I never got an executable. The installer created and populated python 2.7 and installer directories and then quit. After several install and uninstall cycles I tried it on Win10 machine and everything worked fine

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

                            @tcottle thanks for this bug report. We well do some more testing as in principle it works fine on our Win7 test machines.

                            1 Reply Last reply Reply Quote 0
                            • I Offline
                              incognico
                              last edited by

                              I used this on Win7 (64) with no issues.

                              Installer put a link to the executable in my start menu.

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

                                @tcottle We have tested the firmware update tool on Windows 7 multiple times and never encountered any issues.

                                Could you please provide the type (32/64bit) of your Windows 7 installation.

                                Did the installer create the Icon for the firmware update tool in the start menu?

                                Did you get any error message when trying to launch the tool from the start menu?

                                I'm working on a new firmware update tool that will work with a single executable file but until this is ready I would like to make sure the current version doesn't have any issues.

                                Thanks a lot for your assistance.

                                Christian Ehlers

                                T 1 Reply Last reply Reply Quote 0
                                • T Offline
                                  tcottle @Xykon
                                  last edited by

                                  @xykon Running Win7 Pro SP1 64 bit. The installer seemed to run OK but I definitely didn't get an icon. Uninstalled and reinstalled multiple times (even tried "Run as Administrator") This machine rarely gets rebooted but it did get a reboot since my original e-mail. Today when I reinstalled the firmware tool now get a start menu icon(!) Go figure ...

                                  1 Reply Last reply Reply Quote 0
                                  • SmeedyS Offline
                                    Smeedy @daniel
                                    last edited by

                                    @daniel any news on Sigfox for the 1.11 on FiPy?

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

                                      @Smeedy it will be available in a new release today or tomorrow.

                                      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