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.2k 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.
  • C Chris83

    @raptorjr So if I got it right, MYSController is sending a ping to my GW every 10 seconds?

    raptorjrR Offline
    raptorjrR Offline
    raptorjr
    wrote on last edited by
    #177

    @chris83 Yes, as I understand it. But I could be wrong. But it feels logical.

    1 Reply Last reply
    0
    • I Offline
      I Offline
      itbeyond
      wrote on last edited by
      #178

      How is the upcoming bootloader release (1.3S) going?

      I may be wrong but think I need this to push signed firmware to a node. I have a node with soft signing required. The node works but I cannot update it OTA is this 1.3S to support this?

      1 Reply Last reply
      0
      • D Offline
        D Offline
        diogoc
        wrote on last edited by
        #179

        There are already support for rfm69?

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mbedarff
          wrote on last edited by
          #180

          tekka, first of all, thank you very much for your efforts and shared results on MYSController and MYSBootloader! :)

          I am trying to upload new firmware to battery operated nodes via MYSController 1.0.0beta. But it seems that MYSController does not send an ST_FIRMWARE_CONFIG_RESPONSE message after the node has sent an I_PRE_SLEEP_NOTFICATION before its next smart sleeping. Thus no firmware packages are requested from the node using ST_FIRMWARE_REQUEST messages.

          Uploading firmware to nodes that are not sleeping and powered by a power supply basically works. One limitation seems to be that the node has to be restarted while MYSController is connected to the gateway. My guess is that the ST_FIRMWARE_CONFIG_REQUEST message from the node must be received first by MYSController before the assign firmware selection inits a ST_FIRMWARE_CONFIG_RESPONSE message. If the nodes are not sleeping, this can easily be done using the request reboot function of MYSController. In the case of the battery-operated node, this reboot request is not transmitted on the next wake-up respectively pre sleep notification.

          I also noticed another bug: After receiving the reboot messages from a node, it is always set as a Sensebender board.

          My setup:
          MySensors version: 2.3.2
          Gateway: ESP8266 with RFM69HW
          Nodes: Canique MK2 boards (Moteino clone) with Atmega328P, RFM69HW, 4mbit Winbond W25X40CLSNIG flash chip and DualOptiboot bootloader.

          @tekka: I would like to have a look at the code of MYSController to understand the firmware OTA start problem and the wrong detection of the board and to fix it if necessary. Would you be interested in making your code available on GitHub, for example, so that MYSController is developed further together? Please don't bother with code cleaning in advance.

          1 Reply Last reply
          0
          • luizrrochaL Offline
            luizrrochaL Offline
            luizrrocha
            wrote on last edited by
            #181

            I also have problems with my battery-powered sleeping-most-of-the-time nodes. I actually have to disassemble them and force reset several times until the OTA FW update function starts to work, which pretty much negates its usage.

            @Tekka, I echo mbedarff´s words, your job is fantastic but can we all try to add on our efforts and try to make it even better than it already is ?

            Cheers from Portugal.

            Luiz

            tekkaT 1 Reply Last reply
            0
            • luizrrochaL luizrrocha

              I also have problems with my battery-powered sleeping-most-of-the-time nodes. I actually have to disassemble them and force reset several times until the OTA FW update function starts to work, which pretty much negates its usage.

              @Tekka, I echo mbedarff´s words, your job is fantastic but can we all try to add on our efforts and try to make it even better than it already is ?

              Cheers from Portugal.

              Luiz

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

              @luizrrocha Can you post your sketch and (if available) debug log here?

              1 Reply Last reply
              0
              • V Offline
                V Offline
                vidin
                wrote on last edited by vidin
                #183

                Hello bootloader support ATMEGA328PB now this uC is cheaper than 328p? Best regards

                A 1 Reply Last reply
                0
                • V vidin

                  Hello bootloader support ATMEGA328PB now this uC is cheaper than 328p? Best regards

                  A Offline
                  A Offline
                  A3V
                  wrote on last edited by
                  #184

                  @vidin You can simply program the 328pb with the standard bootloader using AVRDUDESS.
                  The pb version is software compatible with the p version.

                  1 Reply Last reply
                  0
                  • Alan SalesA Offline
                    Alan SalesA Offline
                    Alan Sales
                    wrote on last edited by
                    #185

                    Hi! Where can I download MYSBootloader 1.3 pre-release & MYSController 1.0.0beta? The given link is not working.

                    F 1 Reply Last reply
                    0
                    • Alan SalesA Alan Sales

                      Hi! Where can I download MYSBootloader 1.3 pre-release & MYSController 1.0.0beta? The given link is not working.

                      F Offline
                      F Offline
                      feanor-anglin
                      wrote on last edited by
                      #186

                      @Alan-Sales it seems the project is abandoned. But I have it, so please use this link:

                      https://www.dropbox.com/s/b0qls8a251ol4tc/MYSController.zip?dl=0

                      @tekka maybe you could share the code somewhere? Maybe someone else could make a use of it or develop it further?

                      1 Reply Last reply
                      2
                      • I Offline
                        I Offline
                        iguaan
                        wrote on last edited by
                        #187

                        Anyone else experiencing crashing of the application after about 10seconds?

                        T 1 Reply Last reply
                        0
                        • I iguaan

                          Anyone else experiencing crashing of the application after about 10seconds?

                          T Offline
                          T Offline
                          tplet
                          wrote on last edited by
                          #188

                          @iguaan The same applies to me. The application crashes after a few seconds after launching (Windows 10). No problem before on the same system, so I suspect a Windows update but I don't know which one.

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            Mac65
                            wrote on last edited by
                            #189

                            Hi all,
                            I think I have found the problem, the program at startup makes a connection (probably to look for an update) to the following address 162.55.0.134 (port 80) but it fails, this blocks the program for several minutes, unfortunately without the sources it is not possible solve the problem.
                            BR
                            Angelo

                            N 1 Reply Last reply
                            0
                            • I Offline
                              I Offline
                              iguaan
                              wrote on last edited by iguaan
                              #190

                              There's another somewhat way around:

                              you just need to open prog and then close when it gets stuck and then clik try to restore or wait button few times:
                              https://pasteboard.co/GQTHDnaQsawY.png
                              then you should get this screen at some point and then press ok/ignore and it works
                              (https://pasteboard.co/9iuz1LC7kgWC.png

                              needs several tries.

                              1 Reply Last reply
                              0
                              • N Offline
                                N Offline
                                nfj25
                                wrote on last edited by
                                #191

                                MYSController is crashing me too... Are there any alternatives to update the firmware of mysensors nodes?

                                1 Reply Last reply
                                0
                                • M Mac65

                                  Hi all,
                                  I think I have found the problem, the program at startup makes a connection (probably to look for an update) to the following address 162.55.0.134 (port 80) but it fails, this blocks the program for several minutes, unfortunately without the sources it is not possible solve the problem.
                                  BR
                                  Angelo

                                  N Offline
                                  N Offline
                                  nfj25
                                  wrote on last edited by
                                  #192

                                  @Mac65 Good catch! I blocked MYSController from acessing the network in the Windows Firewall and... it works! Only block TCP port 80 if you are connecting to a MySensors TCP gateway.

                                  I 1 Reply Last reply
                                  0
                                  • N nfj25

                                    @Mac65 Good catch! I blocked MYSController from acessing the network in the Windows Firewall and... it works! Only block TCP port 80 if you are connecting to a MySensors TCP gateway.

                                    I Offline
                                    I Offline
                                    iguaan
                                    wrote on last edited by
                                    #193

                                    @nfj25 said in MYSBootloader 1.3 pre-release & MYSController 1.0.0beta:

                                    om acessing the network in the Windows Firewall and... it works! Only block TCP port 80 if you are connecting to a MySensors TCP gateway.

                                    Can't get it working that way, even if i block all the traffic on Myscontroller.

                                    I 1 Reply Last reply
                                    0
                                    • I iguaan

                                      @nfj25 said in MYSBootloader 1.3 pre-release & MYSController 1.0.0beta:

                                      om acessing the network in the Windows Firewall and... it works! Only block TCP port 80 if you are connecting to a MySensors TCP gateway.

                                      Can't get it working that way, even if i block all the traffic on Myscontroller.

                                      I Offline
                                      I Offline
                                      iguaan
                                      wrote on last edited by
                                      #194

                                      @iguaan said in MYSBootloader 1.3 pre-release & MYSController 1.0.0beta:

                                      @nfj25 said in MYSBootloader 1.3 pre-release & MYSController 1.0.0beta:

                                      om acessing the network in the Windows Firewall and... it works! Only block TCP port 80 if you are connecting to a MySensors TCP gateway.

                                      Can't get it working that way, even if i block all the traffic on Myscontroller.

                                      Got it working, I have program on onedrive and seemed that automatically generated path in rules didn't work:
                                      "%USERPROFILE%\OneDrive\MYSController\MYSController.exe"
                                      Had to change it to "C:\Users\user\OneDrive\MYSController" and it works now, great success.

                                      1 Reply Last reply
                                      1
                                      • I Offline
                                        I Offline
                                        iguaan
                                        wrote on last edited by
                                        #195

                                        Today I couldn't get it to work again unless I blocked all ports, ran program and then unblock again (to access GW).
                                        Solution was to block myscontroller from accessing only that remote IP on all ports, letting me still connect to gateway without any fiddling in firewall settings on every program start.

                                        Hope this solution stays for good :)

                                        1 Reply Last reply
                                        0
                                        • I Offline
                                          I Offline
                                          iguaan
                                          wrote on last edited by
                                          #196

                                          If anyone is getting "Property 'bootloader.tool.' is undefined" error with arduino 2.x when trying to burn bootloader, then you just have to add another row in bold below to boards.txt file

                                          MYSBL.upload.tool=avrdude
                                          MYSBL.upload.protocol=arduino
                                          MYSBL.upload.maximum_size=30720
                                          MYSBL.upload.maximum_data_size=2048
                                          MYSBL.bootloader.tool=avrdude
                                          MYSBL.bootloader.tool.default=avrdude

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


                                          10

                                          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