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. Controllers
  3. Windows GUI/Controller for MySensors

Windows GUI/Controller for MySensors

Scheduled Pinned Locked Moved Controllers
myscontrollermysbootloader
486 Posts 101 Posters 456.0k Views 73 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.
  • R rvendrame

    @f1dev, I'm just trying to thinking 'out of the box'. I really don't know why the MYSBootloader doesn't work (while the original arduino bootloader does).

    @scalz, @tekka, looking at MYSBootloader makefile at github, I noticed you are using

    ISP_PORT = com5
    ISP_SPEED = 115200
    ISP_PROTOCOL = stk500v2
    ISP_MCU = m328p 
    
    

    Well, my 'Arduino as ISP' only work as 'stk500v1' and 19200 bps --- Any other combination causes the "Yikes! invalid signature found" in avrdude, or no response at all (time-out). Could be that a different avr itself would introduce "strange bytes" during bootloader burning?

    T Offline
    T Offline
    tekka
    Admin
    wrote on last edited by
    #172

    @rvendrame the speed is not really an issue here - the bytes are verified after flashing...

    1 Reply Last reply
    0
    • R Offline
      R Offline
      rvendrame
      Hero Member
      wrote on last edited by
      #173

      @tekka, thank you so much. I have downloaded the .hex again from github, just for the sake. Anyway it is here MYSBootloader.hex I'm using.

      Home Assistant / Vera Plus UI7
      ESP8266 GW + mySensors 2.3.2
      Alexa / Google Home

      1 Reply Last reply
      0
      • R rvendrame

        Hello guys, I'm trying to burn the MYSBootloader.hex into some Pro minis (clones) here, however after burning it, they get somehow 'bricked' :

        • I'm using my Uno "as ISP" on IDE 1.6.4
        • I've followed the step-by-step tutorial posted above by @tekka
        • My pro-minis are 5V, 16Mhz, external clock , 328p, supposedly a perfect match with 'boards.txt' info...
        • "Burn bootloader" ends successful, with "Done burning boot loader" message.
        • After that, the pro-mini pin 13 led flashes in a kind of random pattern, and it is not possible to upload any sketch, nor any kind of serial monitor on any speed.
        • I can revert it, by selecting the standard 'Arduino Pro or Pro Mini' board , and burn boot loader again. It makes the pro-mini gets back to live, I can upload my sketches and serial monitor it.

        So my questions:

        • I don't have extra eprom connected --- Is it mandatory? I've read somewhere that it can be disabled, but can't find the instructions anymore...
        • Fuse adjustments?
        • What else can I do in order to troubleshooting it?

        Thanks!

        T Offline
        T Offline
        tekka
        Admin
        wrote on last edited by tekka
        #174

        @rvendrame said:

        Hello guys, I'm trying to burn the MYSBootloader.hex into some Pro minis (clones) here, however after burning it, they get somehow 'bricked' :

        • I'm using my Uno "as ISP" on IDE 1.6.4
        • I've followed the step-by-step tutorial posted above by @tekka
        • My pro-minis are 5V, 16Mhz, external clock , 328p, supposedly a perfect match with 'boards.txt' info...
        • "Burn bootloader" ends successful, with "Done burning boot loader" message.
        • After that, the pro-mini pin 13 led flashes in a kind of random pattern, and it is not possible to upload any sketch, nor any kind of serial monitor on any speed.
        • I can revert it, by selecting the standard 'Arduino Pro or Pro Mini' board , and burn boot loader again. It makes the pro-mini gets back to live, I can upload my sketches and serial monitor it.

        So my questions:

        • I don't have extra eprom connected --- Is it mandatory? I've read somewhere that it can be disabled, but can't find the instructions anymore...
        • Fuse adjustments?
        • What else can I do in order to troubleshooting it?

        Thanks!

        How do you know that the bootloader is not functioning properly? you connected the RF module as mentioned earlier? The led is blinking irregularly due to SPI...Do you get a startup message (from MYSBootloader) in MYSController?

        The 327xx bytes mentioned in verbose mode are correct - the entire flash is overwritten...

        1 Reply Last reply
        0
        • R Offline
          R Offline
          rvendrame
          Hero Member
          wrote on last edited by
          #175

          Yes, I connect the radio and start the node, but nothing happens --- No serial monitor, nothing in MYSController. Just the pin 13 led flashing randomly.

          Home Assistant / Vera Plus UI7
          ESP8266 GW + mySensors 2.3.2
          Alexa / Google Home

          T 1 Reply Last reply
          0
          • R rvendrame

            Yes, I connect the radio and start the node, but nothing happens --- No serial monitor, nothing in MYSController. Just the pin 13 led flashing randomly.

            T Offline
            T Offline
            tekka
            Admin
            wrote on last edited by tekka
            #176

            @rvendrame said:

            Yes, I connect the radio and start the node, but nothing happens --- No serial monitor, nothing in MYSController. Just the pin 13 led flashing randomly.

            Just flashed MYSController.hex on my Arduino pro mini 3V3 and the fuses as mentioned in the boards.txt (L: 0xF7 E: 0x06 H: 0xDA), using USBasp and everything works smoothly...

            Please keep in mind: There is no serial monitor for MYSBootloader and the 13 led flashing is normal

            Can you try this (in the indicated order):
            0) Update Arduino IDE to 1.6.5

            1. burn the original bootloader and upload the clear eeprom sketch
            2. burn MYSController, disconnect flasher and connect nRF24L01+ module
            3. download the most recent MySensors 1.5 library and upload the GW sketch
            4. launch MYSController 0.1.2.282, activate AutoID, Logging and connect to the serial GW
            5. let it run for a few mins and upload the log-file here
            R 1 Reply Last reply
            0
            • R Offline
              R Offline
              rvendrame
              Hero Member
              wrote on last edited by
              #177

              @tekka, just to clarify, in step 4 above - the 'upload GW sketch' should be OTA? Or via regular FT232 adapter?

              Home Assistant / Vera Plus UI7
              ESP8266 GW + mySensors 2.3.2
              Alexa / Google Home

              T 1 Reply Last reply
              0
              • S Offline
                S Offline
                scalz
                Hardware Contributor
                wrote on last edited by
                #178

                @rvendrame: I think it is ota. With MYSBootloader you can't use ftdi for uploading sketch.

                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  rvendrame
                  Hero Member
                  wrote on last edited by
                  #179

                  @scalz, thx. I will give it a try tonight.

                  Home Assistant / Vera Plus UI7
                  ESP8266 GW + mySensors 2.3.2
                  Alexa / Google Home

                  1 Reply Last reply
                  0
                  • R rvendrame

                    @tekka, just to clarify, in step 4 above - the 'upload GW sketch' should be OTA? Or via regular FT232 adapter?

                    T Offline
                    T Offline
                    tekka
                    Admin
                    wrote on last edited by
                    #180

                    @rvendrame said:

                    @tekka, just to clarify, in step 4 above - the 'upload GW sketch' should be OTA? Or via regular FT232 adapter?

                    I meant to update the Gateway node with the most recent Serialgateway sketch...

                    1 Reply Last reply
                    0
                    • R Offline
                      R Offline
                      rvendrame
                      Hero Member
                      wrote on last edited by
                      #181

                      @tekka said:

                      I meant to update the Gateway node with the most recent Serialgateway sketch...

                      Yep, I'm already on latest version on GW. My GW runs on a pro-mini, with standard bootloader --- I guess this is not a issue?

                      Home Assistant / Vera Plus UI7
                      ESP8266 GW + mySensors 2.3.2
                      Alexa / Google Home

                      T 1 Reply Last reply
                      0
                      • R rvendrame

                        @tekka said:

                        I meant to update the Gateway node with the most recent Serialgateway sketch...

                        Yep, I'm already on latest version on GW. My GW runs on a pro-mini, with standard bootloader --- I guess this is not a issue?

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

                        @rvendrame said:

                        @tekka said:

                        I meant to update the Gateway node with the most recent Serialgateway sketch...

                        Yep, I'm already on latest version on GW. My GW runs on a pro-mini, with standard bootloader --- I guess this is not a issue?

                        and MYSController is connected via USB/FTDI to the GW...?

                        1 Reply Last reply
                        0
                        • R Offline
                          R Offline
                          rvendrame
                          Hero Member
                          wrote on last edited by
                          #183

                          @tekka said:

                          and MYSController is connected via USB/FTDI to the GW...?

                          It is connected via USB/FTDI into a mac-mini running a TCP-to-serial SW. (so both Vera and MYSController can reach it using IP address). Works like a charm, I can see all nodes and messages, no connection issues so far.

                          Is it required the GW running on MYSBootloader? I hope not...

                          Home Assistant / Vera Plus UI7
                          ESP8266 GW + mySensors 2.3.2
                          Alexa / Google Home

                          T 1 Reply Last reply
                          0
                          • R rvendrame

                            @tekka said:

                            and MYSController is connected via USB/FTDI to the GW...?

                            It is connected via USB/FTDI into a mac-mini running a TCP-to-serial SW. (so both Vera and MYSController can reach it using IP address). Works like a charm, I can see all nodes and messages, no connection issues so far.

                            Is it required the GW running on MYSBootloader? I hope not...

                            T Offline
                            T Offline
                            tekka
                            Admin
                            wrote on last edited by
                            #184

                            @rvendrame Sensor nodes with MYSBootloader (unless they are Sensebender boards) and GW with original bootloader. Curious to see your logs.

                            1 Reply Last reply
                            0
                            • T tekka

                              @rvendrame said:

                              Yes, I connect the radio and start the node, but nothing happens --- No serial monitor, nothing in MYSController. Just the pin 13 led flashing randomly.

                              Just flashed MYSController.hex on my Arduino pro mini 3V3 and the fuses as mentioned in the boards.txt (L: 0xF7 E: 0x06 H: 0xDA), using USBasp and everything works smoothly...

                              Please keep in mind: There is no serial monitor for MYSBootloader and the 13 led flashing is normal

                              Can you try this (in the indicated order):
                              0) Update Arduino IDE to 1.6.5

                              1. burn the original bootloader and upload the clear eeprom sketch
                              2. burn MYSController, disconnect flasher and connect nRF24L01+ module
                              3. download the most recent MySensors 1.5 library and upload the GW sketch
                              4. launch MYSController 0.1.2.282, activate AutoID, Logging and connect to the serial GW
                              5. let it run for a few mins and upload the log-file here
                              R Offline
                              R Offline
                              rvendrame
                              Hero Member
                              wrote on last edited by rvendrame
                              #185

                              EDIT: @tekka, @scalz , after so many tries, I don't know why I decided to replace the nRF radio , and guess what?

                              Captura de tela 2015-08-13 09.56.54.png

                              Funny thing is that the previous radio is working with regular bootloader. Dam fake chips! But I will sort it out later, now I want to play with my OTA ;-)

                              Thanks a lot!

                              Home Assistant / Vera Plus UI7
                              ESP8266 GW + mySensors 2.3.2
                              Alexa / Google Home

                              T 1 Reply Last reply
                              0
                              • S Offline
                                S Offline
                                scalz
                                Hardware Contributor
                                wrote on last edited by
                                #186

                                @rvendrame: so cool. I am happy for you!
                                See you soon

                                1 Reply Last reply
                                1
                                • FrancoisF Offline
                                  FrancoisF Offline
                                  Francois
                                  wrote on last edited by
                                  #187

                                  @tekka do MYSBootloader also work with the RFM69 radios?

                                  T 1 Reply Last reply
                                  0
                                  • R rvendrame

                                    EDIT: @tekka, @scalz , after so many tries, I don't know why I decided to replace the nRF radio , and guess what?

                                    Captura de tela 2015-08-13 09.56.54.png

                                    Funny thing is that the previous radio is working with regular bootloader. Dam fake chips! But I will sort it out later, now I want to play with my OTA ;-)

                                    Thanks a lot!

                                    T Offline
                                    T Offline
                                    tekka
                                    Admin
                                    wrote on last edited by
                                    #188

                                    @rvendrame excellent :)

                                    1 Reply Last reply
                                    0
                                    • FrancoisF Francois

                                      @tekka do MYSBootloader also work with the RFM69 radios?

                                      T Offline
                                      T Offline
                                      tekka
                                      Admin
                                      wrote on last edited by
                                      #189

                                      @Francois No, in it's current stage only nRF24L01+, but porting to RFM69 should not be too difficult...

                                      1 Reply Last reply
                                      0
                                      • 5546dug5 Offline
                                        5546dug5 Offline
                                        5546dug
                                        wrote on last edited by
                                        #190

                                        @tekka silly ?

                                        But still last night changed from serial to Ethernet gw using iboard wiz5100 and the h/w changes.

                                        No issues but for later problems do I ---use myscontroller by way of FTDI connector>usb or

                                        -- continue to plug the original serial gw into laptop leaving Ethernet still in use ( plugged in).

                                        T 1 Reply Last reply
                                        0
                                        • 5546dug5 5546dug

                                          @tekka silly ?

                                          But still last night changed from serial to Ethernet gw using iboard wiz5100 and the h/w changes.

                                          No issues but for later problems do I ---use myscontroller by way of FTDI connector>usb or

                                          -- continue to plug the original serial gw into laptop leaving Ethernet still in use ( plugged in).

                                          T Offline
                                          T Offline
                                          tekka
                                          Admin
                                          wrote on last edited by
                                          #191

                                          @5546dug said:

                                          @tekka silly ?

                                          But still last night changed from serial to Ethernet gw using iboard wiz5100 and the h/w changes.

                                          No issues but for later problems do I ---use myscontroller by way of FTDI connector>usb or

                                          -- continue to plug the original serial gw into laptop leaving Ethernet still in use ( plugged in).

                                          I'm not quite sure I understand your question. Are you having issues with the EthernetGW?

                                          1 Reply Last reply
                                          0

                                          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
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          10

                                          Online

                                          12.0k

                                          Users

                                          11.2k

                                          Topics

                                          113.4k

                                          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