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

    Scheduled Pinned Locked Moved Announcements & News
    37 Posts 11 Posters 12.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.
    • C Offline
      constantinos @abilio
      last edited by

      @abilio I appreciate your effort and your response. I started one week ago having no experience in python but having a lot in Enterprise Infrastructure & Software (Banking & Finance) and offcourse made plenty projects with atmega and ESP8266. Check my pyCom coda library in github

      1 Reply Last reply Reply Quote 0
      • G Offline
        gertjanvanhethof Pybytes Beta @daniel
        last edited by

        @daniel Can you also give us access to older firmware updates? Sometimes I need that because of breaking updates.

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

          @gertjanvanhethof yes of course. I'll publish links to access the old updates tomorrow. Sorry for the delay.

          1 Reply Last reply Reply Quote 1
          • L Offline
            livius
            last edited by livius

            @daniel
            can you confirm this on WiPy2?

            when i do:
            ir = Pin('P13', mode=Pin.IN, pull=None)
            or
            ir = Pin('P14', mode=Pin.IN, pull=None)

            then this is connected to same pin?
            P15 is ok
            but P13 is same as P14

            it looks to me as firmware error

            pin P13 not work at all (first on the right bottom) only second one and P13 and P14 are connected to it

            think about people first, then computers

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

              When do you plan to update the GitHub repository. Due to limited RAM, beaing able to use pre-compiled code is important, and that's what I do with the sources:

              I add the line:
              #define MICROPY_PERSISTENT_CODE_LOAD (1)
              to mpconfigport.h and recompile it. The compiler I use is mpy-cross of that repository. Using mingw32, it can even be built under Windows.

              D 1 Reply Last reply Reply Quote 1
              • S Offline
                scratchrobot @daniel
                last edited by scratchrobot

                @daniel I run the latest osx updater tool but can not select the country.

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

                  @scratchrobot we saw this before and it was happening because you are not connected to the internet while you run the tool, or because your firewall if blocking the connection. The tools needs to connect to download the correct binary for your board.

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

                    @robert-hh we will upload them in a couple of hours.

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

                      Hello everyone,

                      The old firmware versions are now published in the Firmware Updates sections of this link:

                      https://www.pycom.io/support/supportdownloads/

                      Just scroll down and you'll see the list.

                      Cheers,
                      Daniel

                      1 Reply Last reply Reply Quote 2
                      • D Offline
                        daniel @livius
                        last edited by

                        @livius it's just a firmware error. The Pins were swapped. Thanks for the report.

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

                          @Daniel: Got the repository; compiles & runs, with pre-compiled code too. Thanks a lot.

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            arneme @daniel
                            last edited by

                            @daniel What does "Update the LoRaWAN stack to Semtech's version 4.3.0" mean. To my knowledge the latest LoRa Alliance LoraWAN specification is on version 1.0.2? Is the version number 4.3.0 related to some internal Semtech ESP stack implementation? The reason I am asking is that we are having troubles with LoPy´s running last firmware update (still investigating) on our LoRaWAN network.

                            bmarkusB 1 Reply Last reply Reply Quote 0
                            • bmarkusB Offline
                              bmarkus @arneme
                              last edited by

                              @arneme said in New firmware release 1.2.0.b1:

                              @daniel What does "Update the LoRaWAN stack to Semtech's version 4.3.0" mean.

                              Probably this

                              https://stackforce.github.io/LoRaMac-doc/

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

                                Probably this
                                https://stackforce.github.io/LoRaMac-doc/

                                Yes, that's correct.

                                @arneme what problems are you experiencing?

                                A 1 Reply Last reply Reply Quote 0
                                • A Offline
                                  arneme @daniel
                                  last edited by

                                  @daniel The problems were related to "CRC failures", "FailedAuthentication" and problems with "Packets out of order". We are however not sure if it is a firmware problem or if we have a failing gateway in our network. Moving the devices to a location with a different gateway in reach seems to have solved the problem. We also did a restart of our network server and that could also have solved the problem. I will let you know if we see more errors like this.

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

                                    @arneme OK thanks for the update. Please let us know when you know more.

                                    A 1 Reply Last reply Reply Quote 0
                                    • L Offline
                                      livius
                                      last edited by

                                      i try to use pin callback
                                      but how to check what cause callback?
                                      e.g.:

                                      p_in.callback(Pin.IRQ_FALLING | Pin.IRQ_RISING, pin_handler)
                                      def pin_handler(arg):
                                          if need to know if raising:
                                              something when rising
                                          else:
                                             something when falling
                                      

                                      chow to check in callback that it is executed because
                                      a) IRQ_FALLING
                                      b) IRQ_RISING
                                      ?

                                      think about people first, then computers

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

                                        @livius good question, we are implementing that feature as we speak ;-)

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

                                          @livius in the meantime, you can check the pin value inside the callback. If the pin is low, then most likely it was due to a falling edge, otherwise it was a rising edge.

                                          1 Reply Last reply Reply Quote 0
                                          • A Offline
                                            arneme @daniel
                                            last edited by

                                            @daniel We have now several LoPys up and running on our LoRaWAN network with version 1.2.0.b1 and they all behave as they should. The problem must have been with our infrastructure at the location we tested during the weekend.

                                            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