Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Bug Reports
  3. [Solved] Strange behavior of RFM69 OTA burning firmware after some research

[Solved] Strange behavior of RFM69 OTA burning firmware after some research

Scheduled Pinned Locked Moved Bug Reports
19 Posts 5 Posters 4.7k Views 3 Watching
  • 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.
  • tekkaT tekka

    @yury Please try with this, I've quickly added a check:

    ~~https://github.com/tekka007/MySensors/tree/OTAUpdate~~
    ~~PR: https://github.com/mysensors/MySensors/pull/718~~

    Edit: PR merged, try with the latest development: https://github.com/mysensors/MySensors/tree/development

    Y Offline
    Y Offline
    yury
    wrote on last edited by
    #5

    @tekka

    with your new PR updated all works good now. I could not replicate @ 40 ms in retryWaitTime the mentioned above. so I put 10 ms like a stress test. It has survived! with lots of WRONG FWB but with CRC OK!

    the logs

    serial
    https://drive.google.com/open?id=0B11zpaGZaUo5c3NMT1VuSGoxU3c

    last OTA is correspoding to serial log
    https://drive.google.com/open?id=0B11zpaGZaUo5MVh2cUg2cWMxWER0aHEwWHhoY1VidEpuOURn

    1 Reply Last reply
    2
    • KoreshK Offline
      KoreshK Offline
      Koresh
      Contest Winner
      wrote on last edited by
      #6

      Just 2 cents... We couldn't replicate 40 ms in retryWaitTime the mentioned above in another location. And tonight Yury couldnt replicate this case at home too. But yesterday it was typical situation. So I can assume it was caused by high environment radio noise (city center with many potential RF sources). I think it is an ideal situation to test boards and improve library stability :wink:

      tekkaT 1 Reply Last reply
      3
      • KoreshK Koresh

        Just 2 cents... We couldn't replicate 40 ms in retryWaitTime the mentioned above in another location. And tonight Yury couldnt replicate this case at home too. But yesterday it was typical situation. So I can assume it was caused by high environment radio noise (city center with many potential RF sources). I think it is an ideal situation to test boards and improve library stability :wink:

        tekkaT Offline
        tekkaT Offline
        tekka
        Admin
        wrote on last edited by
        #7

        @yury @Koresh Thanks for your feedback and thorough analysis, that helped to identify the issue.

        1 Reply Last reply
        3
        • N Offline
          N Offline
          napo7
          Hardware Contributor
          wrote on last edited by
          #8

          Hi,

          I might be a bit dumb , but I can't find RFM69 OTA bootloader ?

          Has anyone done it ?

          1 Reply Last reply
          0
          • scalzS Offline
            scalzS Offline
            scalz
            Hardware Contributor
            wrote on last edited by
            #9

            @napo7
            this is sensebender micro bootloader, same as dualoptiboot from lowpowerlab
            https://www.mysensors.org/about/ota

            1 Reply Last reply
            0
            • N Offline
              N Offline
              napo7
              Hardware Contributor
              wrote on last edited by
              #10

              Ah ah ! I was sure that I was dumb !!

              I'll have to give a try to port MYSBootLoader to rfm69 so ....

              tekkaT 1 Reply Last reply
              0
              • N napo7

                Ah ah ! I was sure that I was dumb !!

                I'll have to give a try to port MYSBootLoader to rfm69 so ....

                tekkaT Offline
                tekkaT Offline
                tekka
                Admin
                wrote on last edited by
                #11

                @napo7 There is something cooking in the lab...will post more in a bit :)

                1 Reply Last reply
                1
                • N Offline
                  N Offline
                  napo7
                  Hardware Contributor
                  wrote on last edited by
                  #12

                  Well, I'll wait a bit, so !

                  BTW :how much is a bit for you ? :laughing:

                  tekkaT 1 Reply Last reply
                  0
                  • N napo7

                    Well, I'll wait a bit, so !

                    BTW :how much is a bit for you ? :laughing:

                    tekkaT Offline
                    tekkaT Offline
                    tekka
                    Admin
                    wrote on last edited by
                    #13

                    @napo7 Hmm...1/8th of a byte ;) I cannot give you an ETA right now, but feel free to write your own bootloader implementation of the RFM69 driver.

                    1 Reply Last reply
                    1
                    • N Offline
                      N Offline
                      napo7
                      Hardware Contributor
                      wrote on last edited by
                      #14

                      Well done ! I must admit I wasn't ready to read such a word play ;)
                      Hum... In fact, I did a small try, cloned the RF24 bootloader, tried to search which pieces of the code I have to modify, but didn't go further....
                      If you was about to release it in the future days (I'm willing to help/debug/test), I'd have waited, but my projects are going to be on a rush....

                      I'll try to go a bit further in making my own version :)

                      tekkaT 1 Reply Last reply
                      0
                      • N napo7

                        Well done ! I must admit I wasn't ready to read such a word play ;)
                        Hum... In fact, I did a small try, cloned the RF24 bootloader, tried to search which pieces of the code I have to modify, but didn't go further....
                        If you was about to release it in the future days (I'm willing to help/debug/test), I'd have waited, but my projects are going to be on a rush....

                        I'll try to go a bit further in making my own version :)

                        tekkaT Offline
                        tekkaT Offline
                        tekka
                        Admin
                        wrote on last edited by
                        #15

                        @napo7 perfect!

                        1 Reply Last reply
                        0
                        • Y Offline
                          Y Offline
                          yury
                          wrote on last edited by
                          #16

                          The bootloader and OTA update script + RFM69 work super nice with MYScontroller. I use it few times a week. Big Big Big ups to Tekka. Especially I like the sensebender micro bootloader boots instantly ))). Enjoy everybody!

                          1 Reply Last reply
                          1
                          • N Offline
                            N Offline
                            napo7
                            Hardware Contributor
                            wrote on last edited by
                            #17

                            Hi @tekka,

                            Any news about RFM69 for MYSBootloader ?

                            I've had another look in the code, too much complicated for my skills !

                            tekkaT 1 Reply Last reply
                            1
                            • N napo7

                              Hi @tekka,

                              Any news about RFM69 for MYSBootloader ?

                              I've had another look in the code, too much complicated for my skills !

                              tekkaT Offline
                              tekkaT Offline
                              tekka
                              Admin
                              wrote on last edited by
                              #18

                              @napo7 No, nothing that is close to a release - I've done some PoC with rfm69 bootloading but this needs more time.

                              1 Reply Last reply
                              0
                              • N Offline
                                N Offline
                                napo7
                                Hardware Contributor
                                wrote on last edited by
                                #19

                                Hi @tekka
                                Would you share your poc so I could try to enhance it ?

                                Regards

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                16

                                Online

                                11.7k

                                Users

                                11.2k

                                Topics

                                113.1k

                                Posts


                                Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • MySensors
                                • OpenHardware.io
                                • Categories
                                • Recent
                                • Tags
                                • Popular