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. Development
  3. MYSBootloader 1.3 pre-release & MYSController 1.0.0beta

MYSBootloader 1.3 pre-release & MYSController 1.0.0beta

Scheduled Pinned Locked Moved Development
otamyscontrollermysbootloader
198 Posts 53 Posters 85.1k Views 58 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.
  • Thar0lT Thar0l

    @tekka OK, I'll try to do it tomorrow.

    J Offline
    J Offline
    jkandasa
    Plugin Developer
    wrote on last edited by
    #62

    @Алексей-Гусаров If you use MYSbootloader you should Reboot your node. AFAIK, MYSbootloader requires Reboot to get active.
    You should configure firmware in node edit page and reboot the node.
    Upload firmware works only for DualOptiboot

    Thar0lT 1 Reply Last reply
    0
    • J jkandasa

      @Алексей-Гусаров If you use MYSbootloader you should Reboot your node. AFAIK, MYSbootloader requires Reboot to get active.
      You should configure firmware in node edit page and reboot the node.
      Upload firmware works only for DualOptiboot

      Thar0lT Offline
      Thar0lT Offline
      Thar0l
      wrote on last edited by
      #63

      @jkandasa I've tried to reboot and have such rsponce:

      Apr 28, 2016 02:49:44 PM	serial   0:GatewayNode Received Internal [Log message] send: 0-0-1-1 s=255,c=3,t=13,pt=0,l=0,sg=0,st=fail:
      Apr 28, 2016 02:49:44 PM	serial   1:SensorNode	Sent Internal	[Reboot]
      
      J 1 Reply Last reply
      1
      • Thar0lT Thar0l

        @jkandasa I've tried to reboot and have such rsponce:

        Apr 28, 2016 02:49:44 PM	serial   0:GatewayNode Received Internal [Log message] send: 0-0-1-1 s=255,c=3,t=13,pt=0,l=0,sg=0,st=fail:
        Apr 28, 2016 02:49:44 PM	serial   1:SensorNode	Sent Internal	[Reboot]
        
        J Offline
        J Offline
        jkandasa
        Plugin Developer
        wrote on last edited by jkandasa
        #64

        @Алексей-Гусаров It looks like your node is not in the range!

        Thar0lT 1 Reply Last reply
        0
        • J jkandasa

          @Алексей-Гусаров It looks like your node is not in the range!

          Thar0lT Offline
          Thar0lT Offline
          Thar0l
          wrote on last edited by
          #65

          @jkandasa said:

          @Алексей-Гусаров It looks like your node is not in the range!

          It sends messages it really in is 0.5 meters from gw.

          J 1 Reply Last reply
          0
          • Thar0lT Thar0l

            @jkandasa said:

            @Алексей-Гусаров It looks like your node is not in the range!

            It sends messages it really in is 0.5 meters from gw.

            J Offline
            J Offline
            jkandasa
            Plugin Developer
            wrote on last edited by
            #66

            @Алексей-Гусаров can you reboot the node manually?

            Thar0lT 1 Reply Last reply
            0
            • J jkandasa

              @Алексей-Гусаров can you reboot the node manually?

              Thar0lT Offline
              Thar0lT Offline
              Thar0l
              wrote on last edited by Thar0l
              #67

              @jkandasa
              I have this:

              [Log message] read: 1-1-0 s=255,c=4,t=2,pt=6,l=6,sg=0:010002006202
              [Log message] send: 0-0-1-1 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:010002006302801481E090E00F90DF91CF910895FC01
              [Log message] read: 1-1-0 s=255,c=4,t=2,pt=6,l=6,sg=0:010002006302
              [Log message] send: 0-0-1-1 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:0100020064021382128248EE53E060E070E044835583
              [Log message] read: 1-1-0 s=255,c=4,t=2,pt=6,l=6,sg=0:010002006402
              [Log message] send: 0-0-1-1 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:0100020065026683778385ED91E09183808308951092
              [Log message] read: 1-1-0 s=255,c=4,t=2,pt=6,l=6,sg=0:010002006502
              

              And yes, it has been updated.
              Thanks, OTA works now, allthought remote reboot doesn working.

              J 1 Reply Last reply
              0
              • Thar0lT Thar0l

                @jkandasa
                I have this:

                [Log message] read: 1-1-0 s=255,c=4,t=2,pt=6,l=6,sg=0:010002006202
                [Log message] send: 0-0-1-1 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:010002006302801481E090E00F90DF91CF910895FC01
                [Log message] read: 1-1-0 s=255,c=4,t=2,pt=6,l=6,sg=0:010002006302
                [Log message] send: 0-0-1-1 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:0100020064021382128248EE53E060E070E044835583
                [Log message] read: 1-1-0 s=255,c=4,t=2,pt=6,l=6,sg=0:010002006402
                [Log message] send: 0-0-1-1 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:0100020065026683778385ED91E09183808308951092
                [Log message] read: 1-1-0 s=255,c=4,t=2,pt=6,l=6,sg=0:010002006502
                

                And yes, it has been updated.
                Thanks, OTA works now, allthought remote reboot doesn working.

                J Offline
                J Offline
                jkandasa
                Plugin Developer
                wrote on last edited by
                #68

                @Алексей-Гусаров I could not guess why remote reboot is not working! (Gateway says "Failed to send reboot command to node"). After OTA update completion, try reboot from MyController.org GUI. It may work with new software.

                Thar0lT 1 Reply Last reply
                0
                • J jkandasa

                  @Алексей-Гусаров I could not guess why remote reboot is not working! (Gateway says "Failed to send reboot command to node"). After OTA update completion, try reboot from MyController.org GUI. It may work with new software.

                  Thar0lT Offline
                  Thar0lT Offline
                  Thar0l
                  wrote on last edited by
                  #69

                  @jkandasa I've tried and it didn't help.

                  tekkaT 1 Reply Last reply
                  0
                  • Thar0lT Thar0l

                    @jkandasa I've tried and it didn't help.

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

                    @Алексей-Гусаров rebooting is only working if node is actively processing incoming msgs. Use wait() instead of sleep() within your loop()

                    Thar0lT 1 Reply Last reply
                    0
                    • tekkaT tekka

                      @Алексей-Гусаров rebooting is only working if node is actively processing incoming msgs. Use wait() instead of sleep() within your loop()

                      Thar0lT Offline
                      Thar0lT Offline
                      Thar0l
                      wrote on last edited by Thar0l
                      #71

                      @tekka @jkandasa
                      Thank you.
                      I've added

                      #define MY_REPEATER_FEATURE
                      

                      line in Node code, and it is working now.

                      1 Reply Last reply
                      0
                      • Mark SwiftM Offline
                        Mark SwiftM Offline
                        Mark Swift
                        wrote on last edited by Mark Swift
                        #72

                        Guys,

                        I'm trying to get this working on my ESP8266 gateway (using the latest development branch).

                        I've uploaded the 16mhz boot loader to an Arduino Nano clone but don't seem to see anything in MYScontroller. I realised that my gateway sketch had channel 125 specified, so took that out for testing as I believe the boot loader uses channel 76...

                        Do I need to change any fuse settings etc, what am I missing?

                        Many thanks in advance...

                        Mark

                        Edit: Got it working, fantastic!

                        1 Reply Last reply
                        0
                        • Mark SwiftM Offline
                          Mark SwiftM Offline
                          Mark Swift
                          wrote on last edited by Mark Swift
                          #73

                          Is there a way I can change the channel from the default 76?

                          Also am I correct in thinking that for my Nano's I copy the bits (high, low, extended, lock, unlock) from the Arduino section at the top and replace the pasted lines from the tutorial as it seems to be for the UNO?

                          1 Reply Last reply
                          0
                          • rollercontainerR Offline
                            rollercontainerR Offline
                            rollercontainer
                            wrote on last edited by
                            #74

                            is already answered in this therad...

                            http://forum.mysensors.org/topic/3453/mysbootloader-1-3-pre-release-myscontroller-1-0-0beta/35

                            Mark SwiftM 1 Reply Last reply
                            0
                            • rollercontainerR rollercontainer

                              is already answered in this therad...

                              http://forum.mysensors.org/topic/3453/mysbootloader-1-3-pre-release-myscontroller-1-0-0beta/35

                              Mark SwiftM Offline
                              Mark SwiftM Offline
                              Mark Swift
                              wrote on last edited by
                              #75
                              This post is deleted!
                              1 Reply Last reply
                              0
                              • N Offline
                                N Offline
                                novas
                                wrote on last edited by novas
                                #76

                                I have same problem as @n1ck1355. Shetch upload works, data are send, but serial output doesn't work.

                                1 Reply Last reply
                                0
                                • Mark SwiftM Offline
                                  Mark SwiftM Offline
                                  Mark Swift
                                  wrote on last edited by
                                  #77

                                  I also have the same issues with no node serial output within the Arduino IDE....

                                  tekkaT 1 Reply Last reply
                                  0
                                  • Mark SwiftM Mark Swift

                                    I also have the same issues with no node serial output within the Arduino IDE....

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

                                    @Mark-Swift @novas do you see any traffic over the air from that node? If yes, please post the log, specifically, I'm interested in bootloader messages.

                                    Mark SwiftM N 2 Replies Last reply
                                    0
                                    • tekkaT tekka

                                      @Mark-Swift @novas do you see any traffic over the air from that node? If yes, please post the log, specifically, I'm interested in bootloader messages.

                                      Mark SwiftM Offline
                                      Mark SwiftM Offline
                                      Mark Swift
                                      wrote on last edited by Mark Swift
                                      #79

                                      @tekka I apologise, in my case it was the bootloader delay I wasn't allowing for. Opening the serial monitor and being patient, it appears all is well. Apologies for the mistake!

                                      1 Reply Last reply
                                      0
                                      • tekkaT tekka

                                        @Mark-Swift @novas do you see any traffic over the air from that node? If yes, please post the log, specifically, I'm interested in bootloader messages.

                                        N Offline
                                        N Offline
                                        novas
                                        wrote on last edited by
                                        #80

                                        @tekka In my case there were two problems. First same as @Mark-Swift, bootloader deley. I didn't expect that it takes about 30 seconds. Second one was that my gateway didn't run. In this case bootloader is still running and serial output isn't provided.

                                        1 Reply Last reply
                                        0
                                        • AndurilA Offline
                                          AndurilA Offline
                                          Anduril
                                          wrote on last edited by
                                          #81

                                          @tekka I tried to upload a sketch after flashing the new bootloader to an nano. I got te this:

                                          avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x4b
                                          avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x4b
                                          avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x4b
                                          avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x4b
                                          avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x4b
                                          avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x4b
                                          avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x4b
                                          avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x4b
                                          avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x4b
                                          avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x4b
                                          

                                          What is going on?
                                          OTA update still testing. Updating for several minutes now (I thought the old bootloader and OTA update did not take that long).

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


                                          17

                                          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