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

    Scheduled Pinned Locked Moved Announcements & News
    32 Posts 16 Posters 14.0k Views 17 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.
    • affoltepA Offline
      affoltep
      last edited by

      Good job guys!
      Can you give us a forcast about the release date of the sleep modes and wifi/bluetooth disabling functions?

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

        @mohpor good point about the order of parameters, we'll correct it.

        Regarding the events, we will add more callbacks and events next week, which will include characteristic subscriptions, and notifications for when a connection is open. Thanks for the feedback.

        Cheers,
        Daniel

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

          @jswanljung ah yes of course, I should have known. Thanks for your message

          1 Reply Last reply Reply Quote 0
          • C Offline
            cfaessler
            last edited by cfaessler

            Thank you very much guys! The BLE API looks pretty easy to use and nicely designed. This will open us a lot of new possibilities!
            I'm planning to setup a Web Bluetooth app which will allow us to easily configure our devices from a website :)

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

              Where do we find this elusive firmware update? Can't wait to use it.
              If it is not available yet, when?

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

                @iotoz it's here: https://www.pycom.io/support/supportdownloads/

                (Under Firmware Updates)

                Cheers,
                Daniel

                I 1 Reply Last reply Reply Quote 0
                • I Offline
                  iotoz @daniel
                  last edited by

                  @daniel Thanks for that, I had checked there. I can still only find pycom_update_1.0.0.b3.tar.gz for linux, or any other platform.
                  Any chance that you can post a direct link to the linux firmware 1.3.0.b1 ?
                  Would be ideal to see a Git rep with the firmware versions to choose.

                  D rcolisteteR 2 Replies Last reply Reply Quote 0
                  • D Offline
                    daniel @iotoz
                    last edited by

                    @iotoz that's the version of the updater only. Please use it and it will tell you that it's going to apply firmware version 1.3.0.b1 to your modules.

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      Feiko
                      last edited by

                      Hi thanks for the update. I have a project connecting to websockets over ssl. Since last release my project broke, a ssl fix was promised this release however the project still doesn't run. Can I expect a fix in the next days? Is there a way to revert my firmware to a previous version? I like to revert to version 1.1.

                      Keep up the good work.

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

                        @iotoz yes we are aware that it was promised for this release but we haven't been able to fix it yet, sorry for the delay. Long story short, the TLS/SSL library runs out of memory while wrapping the socket. This problem was introduced when we enabled Bluetooth support. We have raised this issue with Espressif and they are working on optimizations to solve this once and for all. We were really hoping to sort it out for this release but unfortunately it wan't possible.

                        Trust me, this is a major issue for us as well, and it's on the top of out list. We'll let you know once we have more news.

                        Cheers,
                        Daniel

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

                          @iotoz we have made previous releases available, but 1.1.0 is not there. We'll make that one available on Monday. I'll let you know once that's done.

                          Cheers,
                          Daniel

                          T 1 Reply Last reply Reply Quote 0
                          • F Offline
                            Feiko
                            last edited by

                            Thanks I'm looking forward to the fix. Until then 1.1.0 will probably do the job.

                            1 Reply Last reply Reply Quote 0
                            • rcolisteteR Offline
                              rcolistete @iotoz
                              last edited by rcolistete

                              @iotoz said in New firmware release 1.3.0.b1:

                              @daniel Thanks for that, I had checked there. I can still only find pycom_update_1.0.0.b3.tar.gz for linux, or any other platform.
                              Any chance that you can post a direct link to the linux firmware 1.3.0.b1 ?
                              Would be ideal to see a Git rep with the firmware versions to choose.

                              See this post :
                              "The "file" attribute shows the direct link to the firmware binary files. You can then download the file with wget "https://software.pycom.io/downloads/1.0.0.b2-LoPy_868.tar.gz" and use bin/updater.py -t 1.0.0.b2-LoPy_868.tar.gz -p /dev/ttyUSB0"

                              So for 1.3.0.b1 with 915MHz, download the file :
                              https://software.pycom.io/downloads/1.3.0.b1-LoPy_915.tar.gz

                              My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

                              1 Reply Last reply Reply Quote 0
                              • C Offline
                                crankshaft @daniel
                                last edited by

                                @daniel - Thanks for the update, but I am struggling with the 100 - 120ma power consumption of the wipy2 and need to reduce power by using the machine.sleep modes and RTC.wakeup()

                                Any idea when this will be added ?

                                rcolisteteR 1 Reply Last reply Reply Quote 0
                                • rcolisteteR Offline
                                  rcolistete @crankshaft
                                  last edited by

                                  @crankshaft said in New firmware release 1.3.0.b1:

                                  @daniel - Thanks for the update, but I am struggling with the 100 - 120ma power consumption of the wipy2 and need to reduce power by using the machine.sleep modes and RTC.wakeup()

                                  Any idea when this will be added ?

                                  Loot at this topic.

                                  My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

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

                                    Thanks for this update! I have a question about RTC. Our application requires very low power. The RTC doc says, "The RTC counter ticks at 5 MHz.", but the LoPy (OEM) spec sheet says RTC uses 32KHz, Will a future release give us the option of specifying the 32KHz clock?

                                    Thanks!

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

                                      @daniel Version 1.1.0 is still not available in the downloads section, when will it be available? Thanks.

                                      1 Reply Last reply Reply Quote 0
                                      • Z Offline
                                        zmrzli
                                        last edited by

                                        Program below switches led colors every minute or so if Bluetooth() is called.
                                        Without it runs as expected.
                                        Is that a bug?

                                        import pycom
                                        from network import Bluetooth

                                        bluetooth = Bluetooth()
                                        pycom.heartbeat(False) # disable the heartbeat LED

                                        while True:
                                        pycom.rgbled(0xff0000) # make the LED light up in RED color
                                        pycom.rgbled(0x00ff00) # make the LED light up in GREEN color
                                        pycom.rgbled(0x0000ff) # make the LED light up in BLUE color

                                        C M J 3 Replies Last reply Reply Quote 0
                                        • C Offline
                                          crankshaft @zmrzli
                                          last edited by

                                          @zmrzli - I think you need a short sleep in your loop otherwise it will consume 100% processor time and there won't be time to do anything else ?!

                                          1 Reply Last reply Reply Quote 1
                                          • M Offline
                                            mohpor @zmrzli
                                            last edited by mohpor

                                            @zmrzli you are clogging the main thread in that sample code and the CPU never gets to do anything else because of that while True, if you want to change the LED color this fast, try putting it in a thread. And please add some delay between those LED color sets.

                                            import pycom
                                            import time
                                            import _thread
                                            from network import Bluetooth
                                            
                                            bluetooth = Bluetooth()
                                            pycom.heartbeat(False) # disable the heartbeat LED
                                            
                                            def led_totary(id):
                                                while True:
                                                    pycom.rgbled(0xff0000) # make the LED light up in RED color
                                                    time.sleep_ms(50)
                                                    pycom.rgbled(0x00ff00) # make the LED light up in GREEN color
                                                    time.sleep_ms(50)
                                                    pycom.rgbled(0x0000ff) # make the LED light up in BLUE color
                                                    time.sleep_ms(50)
                                            
                                            
                                            _thread.start_new_thread(led_totary, (0)) 
                                            
                                            1 Reply Last reply Reply Quote 1

                                            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