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. My Project
  3. MYSBootloader 1.4 testing

MYSBootloader 1.4 testing

Scheduled Pinned Locked Moved My Project
myscontrollermysbootloader
24 Posts 11 Posters 11.8k Views 11 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 Offline
    tekkaT Offline
    tekka
    Admin
    wrote on last edited by tekka
    #1

    Hi all,

    I'm about to finalize the development of MYSBootloader 1.4 with loads of changes and improvements under the hood. If you have some spare time and willingness to test, please reply here with your node config (frequency, channel, csn pin, ce pin).

    This testing is only intended for Atmega328/nRF24L01+ nodes and should not be used in a productive environment.

    Thanks!

    LorenzoL 1 Reply Last reply
    3
    • J Offline
      J Offline
      jkandasa
      Plugin Developer
      wrote on last edited by
      #2

      @tekka I would like to test with MyController.org controller.
      I'm using all default settings,
      Board: Arduino Pro Mini
      RF: nRF24L01+, Channel: 76, CSN:10, CE:9

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mvader
        wrote on last edited by
        #3

        happy to test as well.
        using all default settings v1.5 mysensors libs.

        1 Reply Last reply
        0
        • D Offline
          D Offline
          diamantmatch
          wrote on last edited by
          #4

          count me in!
          i'll be happy putting in some effort to help MYSController!

          arduino pro mini + nRF24L01+ @ 3.5v

          1 Reply Last reply
          0
          • P Offline
            P Offline
            pdey
            wrote on last edited by
            #5

            Happy to test here. ATmega328 @ 1Mhz.

            Channel: 76 / 250kbps
            CSN: 7
            CE: 8

            On-board LED on D9 (not 13)

            1 Reply Last reply
            0
            • E Offline
              E Offline
              emc2
              Hardware Contributor
              wrote on last edited by
              #6

              Just starting to tinker with custom bootloaders, so available for testing.
              All default settings from v1.5 mysensors libs too with pro mini 3.3V 8MHz.

              tekkaT 1 Reply Last reply
              0
              • E emc2

                Just starting to tinker with custom bootloaders, so available for testing.
                All default settings from v1.5 mysensors libs too with pro mini 3.3V 8MHz.

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

                @jkandasa, @mvader, @diamantmatch , @pdey, @emc2 You received a PM with instructions. Thanks for testing & feedback.

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mvader
                  wrote on last edited by
                  #8

                  @tekka I was able to get a nano setup with radio and sketch.
                  make sure it works (saw it on the controller)
                  i then burned the new bootloader and re-uploaded the sketch.
                  that worked.
                  i was able to then also see it back in the controller.
                  however i was not able to upload an OTA
                  every time i reboot the device it goes into an infinite loop.
                  only way to stop it is to pull the power.
                  but if you don't reboot, just let it power up, it works fine.
                  only upon a reboot, or a re-id does it go into this loop.
                  however, it did this before. so i don't think it's related to the new bootloader
                  but until i can resolve that, i don't know that i can send OTA's (but i'm close)
                  it did work in the past. it seems it worked in 1.4 libs, but when i moved everything over, it started.
                  but still strange, i know i've done OTA with 1.5 lib.
                  hard to say.
                  have a look at the logs see what you think.
                  thx
                  MySensors_20151125-171023.log

                  tekkaT 1 Reply Last reply
                  0
                  • M mvader

                    @tekka I was able to get a nano setup with radio and sketch.
                    make sure it works (saw it on the controller)
                    i then burned the new bootloader and re-uploaded the sketch.
                    that worked.
                    i was able to then also see it back in the controller.
                    however i was not able to upload an OTA
                    every time i reboot the device it goes into an infinite loop.
                    only way to stop it is to pull the power.
                    but if you don't reboot, just let it power up, it works fine.
                    only upon a reboot, or a re-id does it go into this loop.
                    however, it did this before. so i don't think it's related to the new bootloader
                    but until i can resolve that, i don't know that i can send OTA's (but i'm close)
                    it did work in the past. it seems it worked in 1.4 libs, but when i moved everything over, it started.
                    but still strange, i know i've done OTA with 1.5 lib.
                    hard to say.
                    have a look at the logs see what you think.
                    thx
                    MySensors_20151125-171023.log

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

                    @mvader I do not see MYSBootloader msgs in the log, but DualOptiboot msgs - can you please double-check that you really burnt MYSBootloader?

                     [2015-11-25 17:10:57.728 Info] RX	4;255;4;0;0;FFFFFFFFFFFFFFFF0300
                    

                    This is a Dualoptiboot message...

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      mvader
                      wrote on last edited by
                      #10

                      interesting. i will double check everything.

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        mvader
                        wrote on last edited by
                        #11

                        so i checked and it appears it's correct.. have a look at my SSsettings.jpg

                        does a nano come default with dual opti? the IDE says it is burning, i see the lights blinking.
                        and then says done, lights stop blinking.
                        seems like it's working

                        tekkaT 1 Reply Last reply
                        0
                        • M mvader

                          so i checked and it appears it's correct.. have a look at my SSsettings.jpg

                          does a nano come default with dual opti? the IDE says it is burning, i see the lights blinking.
                          and then says done, lights stop blinking.
                          seems like it's working

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

                          @mvader ok, the settings are fine BUT you cannot upload a sketch directly with the Arduino IDE and MYSBootloader, hence, you have the wrong bootloader...In addition, you have MY_OTA_FIRMWARE defined in your MyConfig.h? Please comment it out since this feature may only be used with Dualoptiboot but not MYSBootloader. Can you also make sure that the MYSBootlader.hex file is the one from the PM link?

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            mvader
                            wrote on last edited by mvader
                            #13

                            ahh i did still have OTA enabled in myconfig.
                            I'll get that changed and tested.

                            1 Reply Last reply
                            0
                            • M Offline
                              M Offline
                              mvader
                              wrote on last edited by
                              #14

                              @tekka so it took a few tries, but it did work.
                              so looking good.
                              and at least now i know what is wrong with my other node that goes crazy when i reboot it.
                              ha ha.
                              thanks
                              here are my logs for the OTA session
                              MySensors_20151125-192137.log

                              1 Reply Last reply
                              0
                              • R Offline
                                R Offline
                                rvweert
                                wrote on last edited by
                                #15

                                Can I get in on the test too?
                                Thanks!

                                1 Reply Last reply
                                0
                                • J Offline
                                  J Offline
                                  jkandasa
                                  Plugin Developer
                                  wrote on last edited by
                                  #16

                                  @tekka Thank you for the pre release hex file. I tested with MyController.org controller. It's working good. But I see error messages on the mycontroller.log,

                                  2015-11-30 23:17:59,371 DEBUG [Thread-5] [org.mycontroller.standalone.gateway.ethernet.EthernetGatewayListener:55] Message Received: 1;255;3;0;15;0
                                  2015-11-30 23:17:59,378 WARN [Thread-3] [org.mycontroller.standalone.mysensors.ProcessRawMessage:294] Internal Message[type:I_REQUEST_SIGNING,payload:0], This type may not be supported (or) not implemented yet
                                  2015-11-30 23:18:02,176 DEBUG [Thread-5] [org.mycontroller.standalone.gateway.ethernet.EthernetGatewayListener:55] Message Received: 1;255;3;0;22;0102A00048F7FFFEDAD51FDD001E950F01
                                  2015-11-30 23:18:02,177 ERROR [Thread-3] [org.mycontroller.standalone.mysensors.MessageMonitorThread:68] RawMessage[NodeId:1,ChildSensorId:255,MessageType:3,Ack:0,SubType:22,Payload:0102A00048F7FFFEDAD51FDD001E950F01] throws exception while processing!, 
                                  java.lang.IllegalArgumentException: 22
                                  	at org.mycontroller.standalone.mysensors.MyMessages$MESSAGE_TYPE_INTERNAL.get(MyMessages.java:123) ~[mycontroller-standalone-0.0.2-alpha6-SNAPSHOT-single.jar:na]
                                  	at org.mycontroller.standalone.mysensors.ProcessRawMessage.internalSubMessageTypeSelector(ProcessRawMessage.java:160) ~[mycontroller-standalone-0.0.2-alpha6-SNAPSHOT-single.jar:na]
                                  	at org.mycontroller.standalone.mysensors.ProcessRawMessage.messageTypeSelector(ProcessRawMessage.java:103) ~[mycontroller-standalone-0.0.2-alpha6-SNAPSHOT-single.jar:na]
                                  	at org.mycontroller.standalone.mysensors.MessageMonitorThread.processRawMessage(MessageMonitorThread.java:60) [mycontroller-standalone-0.0.2-alpha6-SNAPSHOT-single.jar:na]
                                  	at org.mycontroller.standalone.mysensors.MessageMonitorThread.run(MessageMonitorThread.java:82) [mycontroller-standalone-0.0.2-alpha6-SNAPSHOT-single.jar:na]
                                  	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65]
                                  

                                  I have few queries,

                                  • Have you change message format in MYSBootloader 1.4?
                                  • Is the source code available somewhere for the community?
                                  • I see a message 1;255;3;0;22;0108A00048F7FFFEDAC71FDD001E950F01 as per the source code in Internal messages we have only 0 to 21 types, Here I received the type 22. What is this?
                                  • I see 1;255;3;0;15;0 I_REQUEST_SIGNING also, My setup is not configured for signing. Why I'm receiving this message?
                                  tekkaT 1 Reply Last reply
                                  0
                                  • J jkandasa

                                    @tekka Thank you for the pre release hex file. I tested with MyController.org controller. It's working good. But I see error messages on the mycontroller.log,

                                    2015-11-30 23:17:59,371 DEBUG [Thread-5] [org.mycontroller.standalone.gateway.ethernet.EthernetGatewayListener:55] Message Received: 1;255;3;0;15;0
                                    2015-11-30 23:17:59,378 WARN [Thread-3] [org.mycontroller.standalone.mysensors.ProcessRawMessage:294] Internal Message[type:I_REQUEST_SIGNING,payload:0], This type may not be supported (or) not implemented yet
                                    2015-11-30 23:18:02,176 DEBUG [Thread-5] [org.mycontroller.standalone.gateway.ethernet.EthernetGatewayListener:55] Message Received: 1;255;3;0;22;0102A00048F7FFFEDAD51FDD001E950F01
                                    2015-11-30 23:18:02,177 ERROR [Thread-3] [org.mycontroller.standalone.mysensors.MessageMonitorThread:68] RawMessage[NodeId:1,ChildSensorId:255,MessageType:3,Ack:0,SubType:22,Payload:0102A00048F7FFFEDAD51FDD001E950F01] throws exception while processing!, 
                                    java.lang.IllegalArgumentException: 22
                                    	at org.mycontroller.standalone.mysensors.MyMessages$MESSAGE_TYPE_INTERNAL.get(MyMessages.java:123) ~[mycontroller-standalone-0.0.2-alpha6-SNAPSHOT-single.jar:na]
                                    	at org.mycontroller.standalone.mysensors.ProcessRawMessage.internalSubMessageTypeSelector(ProcessRawMessage.java:160) ~[mycontroller-standalone-0.0.2-alpha6-SNAPSHOT-single.jar:na]
                                    	at org.mycontroller.standalone.mysensors.ProcessRawMessage.messageTypeSelector(ProcessRawMessage.java:103) ~[mycontroller-standalone-0.0.2-alpha6-SNAPSHOT-single.jar:na]
                                    	at org.mycontroller.standalone.mysensors.MessageMonitorThread.processRawMessage(MessageMonitorThread.java:60) [mycontroller-standalone-0.0.2-alpha6-SNAPSHOT-single.jar:na]
                                    	at org.mycontroller.standalone.mysensors.MessageMonitorThread.run(MessageMonitorThread.java:82) [mycontroller-standalone-0.0.2-alpha6-SNAPSHOT-single.jar:na]
                                    	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65]
                                    

                                    I have few queries,

                                    • Have you change message format in MYSBootloader 1.4?
                                    • Is the source code available somewhere for the community?
                                    • I see a message 1;255;3;0;22;0108A00048F7FFFEDAC71FDD001E950F01 as per the source code in Internal messages we have only 0 to 21 types, Here I received the type 22. What is this?
                                    • I see 1;255;3;0;15;0 I_REQUEST_SIGNING also, My setup is not configured for signing. Why I'm receiving this message?
                                    tekkaT Offline
                                    tekkaT Offline
                                    tekka
                                    Admin
                                    wrote on last edited by tekka
                                    #17

                                    @jkandasa I_INTERNAL/22 is an internal diagnostic message, will be removed in the final 1.4 release.
                                    I_REQUEST_SIGNING is currently forwarded to the controller if GW has signing disabled.

                                    1 Reply Last reply
                                    0
                                    • FejiF Offline
                                      FejiF Offline
                                      Feji
                                      wrote on last edited by
                                      #18

                                      Hi,

                                      If u still seeking beta tester, I'm here :).

                                      Arduino Pro Mini 328p 3,3@8 + 5@16, Channel: 108, CSN:10, CE:9

                                      1 Reply Last reply
                                      0
                                      • RedferneR Offline
                                        RedferneR Offline
                                        Redferne
                                        wrote on last edited by
                                        #19

                                        Hi,
                                        Will you update the SampleController for the new bootloader or the protocol unchanged?
                                        I need a solution to push firmware updates from a Linux machine through a serialgateway to all nodes.

                                        I'm happy to test and share my experiences.

                                        Arduino Pro Mini 8/16MHz
                                        RF: nRF24L01+, Channel: 76, CSN:10, CE:9

                                        1 Reply Last reply
                                        0
                                        • tekkaT tekka

                                          Hi all,

                                          I'm about to finalize the development of MYSBootloader 1.4 with loads of changes and improvements under the hood. If you have some spare time and willingness to test, please reply here with your node config (frequency, channel, csn pin, ce pin).

                                          This testing is only intended for Atmega328/nRF24L01+ nodes and should not be used in a productive environment.

                                          Thanks!

                                          LorenzoL Offline
                                          LorenzoL Offline
                                          Lorenzo
                                          wrote on last edited by
                                          #20

                                          @tekka
                                          Hi Tekka, just to understand, the new release of MYSBOOTLOADER you are working on is 1.3 or 1.4?
                                          Are source of one release available, even in beta?

                                          I have a setup with ~20 nodes ready to start, but I need an OTA Bootloader, no signing required.
                                          If you already worked on that, it's a pitty to develop my own Bootloader.

                                          Thank for all your time spend on that project and hope we can enjoy using your MYSBOOTLOADER

                                          Lorenzo

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


                                          14

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 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