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. Troubleshooting
  3. OTA updates on Arduino Nano

OTA updates on Arduino Nano

Scheduled Pinned Locked Moved Troubleshooting
23 Posts 5 Posters 11.6k Views 4 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 rvweert

    Hi and thanks again;-)

    Ok I've got the bootloader and sketch on the node. I also see it in my gateway using MYSController. However when I try to reboot it just starts sending a lot of messages but doesn't reboot. Neither do I seem able to update the firmware, any clue?

    I also added the line 'boolean process();' to the start of the loop.

    Rene

    Screenshot from 2015-11-06 13-14-42.png

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

    @rvweert said:

    Hi and thanks again;-)

    Ok I've got the bootloader and sketch on the node. I also see it in my gateway using MYSController. However when I try to reboot it just starts sending a lot of messages but doesn't reboot. Neither do I seem able to update the firmware, any clue?

    I also added the line 'boolean process();' to the start of the loop.

    Rene

    Screenshot from 2015-11-06 13-14-42.png

    This is strange but not related to MYSbootloader since no fw config requests are received. The node seems to re-initiate over and over, but not reboot. Can you please upload the log file obtaind from MYScontroller to get some additional info. Are all your nodes updated with the same lib version?

    1 Reply Last reply
    0
    • M mvader

      mine does this as well.
      It seems like (to me anyways)
      that when i had everything on 1.4 it worked well.
      but once i moved all my stuff over to the 1.5 lib, this stuff didn't play nice anymore.
      hoping that once @tekka releases the new app, it will solve some of those issues.

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

      @mvader said:

      mine does this as well.
      It seems like (to me anyways)
      that when i had everything on 1.4 it worked well.
      but once i moved all my stuff over to the 1.5 lib, this stuff didn't play nice anymore.
      hoping that once @tekka releases the new app, it will solve some of those issues.

      Didn't you mention in one of your posts that some nodes were having different lib versions?

      M 1 Reply Last reply
      0
      • tekkaT tekka

        @mvader said:

        mine does this as well.
        It seems like (to me anyways)
        that when i had everything on 1.4 it worked well.
        but once i moved all my stuff over to the 1.5 lib, this stuff didn't play nice anymore.
        hoping that once @tekka releases the new app, it will solve some of those issues.

        Didn't you mention in one of your posts that some nodes were having different lib versions?

        M Offline
        M Offline
        mvader
        wrote on last edited by mvader
        #11

        @tekka said:

        @mvader said:

        mine does this as well.
        It seems like (to me anyways)
        that when i had everything on 1.4 it worked well.
        but once i moved all my stuff over to the 1.5 lib, this stuff didn't play nice anymore.
        hoping that once @tekka releases the new app, it will solve some of those issues.

        Didn't you mention in one of your posts that some nodes were having different lib versions?

        I have everything on 1.5 stable now.
        but i do notice that i have to constantly disconnect / connect in MYSController
        I know that the controller and nodes still work, because lights (in my house) turn on and off. but no data is displayed in the controller screen.. i have to D/C
        same with firmware update. they go so far and then stop.. i have to D/C
        i have a nano with MYSBootloader acting as a 433 bridge and repeater, it does that (above screen shot) all the time. I'm using the 1.1 v of the bootloader.
        it felt like things worked much better on 1.4 lib with the MYSController.

        tekkaT 1 Reply Last reply
        0
        • M mvader

          @tekka said:

          @mvader said:

          mine does this as well.
          It seems like (to me anyways)
          that when i had everything on 1.4 it worked well.
          but once i moved all my stuff over to the 1.5 lib, this stuff didn't play nice anymore.
          hoping that once @tekka releases the new app, it will solve some of those issues.

          Didn't you mention in one of your posts that some nodes were having different lib versions?

          I have everything on 1.5 stable now.
          but i do notice that i have to constantly disconnect / connect in MYSController
          I know that the controller and nodes still work, because lights (in my house) turn on and off. but no data is displayed in the controller screen.. i have to D/C
          same with firmware update. they go so far and then stop.. i have to D/C
          i have a nano with MYSBootloader acting as a 433 bridge and repeater, it does that (above screen shot) all the time. I'm using the 1.1 v of the bootloader.
          it felt like things worked much better on 1.4 lib with the MYSController.

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

          @mvader are you using serial or tcp/ip to connect the gw? can you post the myscontroller log (ideally with debug on) when those things happen?

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

            Hi Tekka,

            Please see here my log:
            MySensors_20151109-085110.log

            Also yes, all my nodes are running the same version from git.

            Cheers,

            Rene

            tekkaT 1 Reply Last reply
            0
            • OitzuO Offline
              OitzuO Offline
              Oitzu
              wrote on last edited by
              #14

              @rvweert: i see no bootloader involved. Could you try to add an wdt_reset(); at the beginning of the setup() routine?

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

                Hi Oitzu,

                Just tried that, same result...

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

                  No more news on this?;-)

                  1 Reply Last reply
                  0
                  • OitzuO Offline
                    OitzuO Offline
                    Oitzu
                    wrote on last edited by
                    #17

                    @rvweert out of ideas by simply looking at the logs.
                    Maybe @tekka knows anything.
                    Did you try to enable debug on the node and look at the nodes output?

                    tekkaT 1 Reply Last reply
                    0
                    • OitzuO Oitzu

                      @rvweert out of ideas by simply looking at the logs.
                      Maybe @tekka knows anything.
                      Did you try to enable debug on the node and look at the nodes output?

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

                      @rvweert I'll look into that in a little bit.

                      1 Reply Last reply
                      0
                      • R rvweert

                        Hi Tekka,

                        Please see here my log:
                        MySensors_20151109-085110.log

                        Also yes, all my nodes are running the same version from git.

                        Cheers,

                        Rene

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

                        @rvweert there is potentially an id conflict: was the node previously used as gateway? Anyhow, try clearing the eeprom with the ClearEepromConfig sketch and upload the log again.

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

                          Hey Tekka,

                          Tried clearing both eeproms, still same problem. Actually tried two completely new nano's and same problem again...

                          tekkaT 2 Replies Last reply
                          0
                          • R rvweert

                            Hey Tekka,

                            Tried clearing both eeproms, still same problem. Actually tried two completely new nano's and same problem again...

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

                            @rvweert Looking at the logs, there is no bootloader involved (@Oitzu already confirmed this).
                            This looks like a bad nRF chip and/or power issues (try with different a cap) since the msgs sent from the GW never reach the node.

                            1 Reply Last reply
                            0
                            • R rvweert

                              Hey Tekka,

                              Tried clearing both eeproms, still same problem. Actually tried two completely new nano's and same problem again...

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

                              @rvweert MY_OTA_FIRMWARE_FEATURE enabled in MyConfig.h? This seems to be the cause of the restarting nodes. Try disabling this option unless you are using the sensebender board...

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

                                @tekka I checked but MY_OTA_FIRMWARE_FEATURE wasn't enabled. Also I tried Mysensors 1.4.1 and 1.5.2 but same result. Can't get it to work;-(

                                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