Skip to content
  • 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. Announcements
  3. 💬 FOTA (Wireless Programming)
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

💬 FOTA (Wireless Programming)

Scheduled Pinned Locked Moved Announcements
wirelessupdateover the airsensebenderfotafirmware over the airwireless programming
130 Posts 46 Posters 31.5k Views 44 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.
  • hekH Offline
    hekH Offline
    hek
    Admin
    wrote on last edited by hek
    #1

    This thread contains comments for the article "FOTA (Wireless Programming)" posted on MySensors.org.

    1 Reply Last reply
    0
    • xydixX Offline
      xydixX Offline
      xydix
      wrote on last edited by
      #2

      Is it possible to flash bootloader to a pro mini with the radio attached?
      I want OTA but have some nodes with not-so-easy-to-remove radios =)

      1 Reply Last reply
      0
      • scalzS Offline
        scalzS Offline
        scalz
        Hardware Contributor
        wrote on last edited by
        #3

        yes this is possible.

        1 Reply Last reply
        2
        • xydixX Offline
          xydixX Offline
          xydix
          wrote on last edited by
          #4

          Can i even have it powered during the process?

          1 Reply Last reply
          0
          • scalzS Offline
            scalzS Offline
            scalz
            Hardware Contributor
            wrote on last edited by scalz
            #5

            that should work depending of the different voltage source. if your mini pro is 3v and also your programming tool, this is ok (but not the best advice ;) ). or keep your batt, and don't connect vcc from your programming tool. It's always better to use only one source if you're not sure and, also not sure if there are all protection .

            1 Reply Last reply
            0
            • xydixX Offline
              xydixX Offline
              xydix
              wrote on last edited by
              #6

              Sorry for asking stupid questions but, "USBtinyISP AVR ISP Programmer" from the shopping guide. Is this able to do the same as "usbasp (clone, USBASP 2.0 LC Technology)" in this guide.

              1 Reply Last reply
              0
              • scalzS Offline
                scalzS Offline
                scalz
                Hardware Contributor
                wrote on last edited by
                #7

                yes this should work

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  cdr
                  wrote on last edited by
                  #8

                  For some reason I can't set the extended fuse to 0x06, it always reverts to 0xFE;

                  avrdude.exe: verifying ...
                  avrdude.exe: WARNING: invalid value for unused bits in fuse "efuse", should be set to 1 according to datasheet
                  This behaviour is deprecated and will result in an error in future version
                  You probably want to use 0xfe instead of 0x06 (double check with your datasheet first).
                  avrdude.exe: 1 bytes of efuse verified

                  Anyone knows why?

                  1 Reply Last reply
                  0
                  • scalzS Offline
                    scalzS Offline
                    scalz
                    Hardware Contributor
                    wrote on last edited by scalz
                    #9

                    @cdr
                    The Extended fuse handle the bod level. Only the 3 least significant bits are meaningful. Others are not used.
                    Be careful: This is true for this fuse, not for all fuses, check datasheet or fuses calculator!
                    That's why :

                    • 0x06 = 00000110
                    • 0xFE = 11111110

                    are doing the same job for the extended fuse. It depends of the tool you use for burning this fuse. Simply, if you get this warning, use the "equivalent".

                    1 Reply Last reply
                    1
                    • C Offline
                      C Offline
                      cdr
                      wrote on last edited by
                      #10

                      Thanks for the explanation, first try didn't work so I suspected the fuses, but turned out to be a voltage issue. :)

                      1 Reply Last reply
                      0
                      • starfish133S Offline
                        starfish133S Offline
                        starfish133
                        wrote on last edited by
                        #11

                        Is it possible to do OTA over RS485 connections?

                        1 Reply Last reply
                        0
                        • hekH Offline
                          hekH Offline
                          hek
                          Admin
                          wrote on last edited by
                          #12

                          Yes, it should be possible. The node doesn't really care which transport that was used.

                          1 Reply Last reply
                          0
                          • skywatchS Offline
                            skywatchS Offline
                            skywatch
                            wrote on last edited by
                            #13

                            Does OTA work with the NRF24L01+ modules?

                            Thanks.

                            mfalkviddM 1 Reply Last reply
                            0
                            • skywatchS skywatch

                              Does OTA work with the NRF24L01+ modules?

                              Thanks.

                              mfalkviddM Offline
                              mfalkviddM Offline
                              mfalkvidd
                              Mod
                              wrote on last edited by
                              #14

                              @skywatch yes.

                              skywatchS 1 Reply Last reply
                              0
                              • mfalkviddM mfalkvidd

                                @skywatch yes.

                                skywatchS Offline
                                skywatchS Offline
                                skywatch
                                wrote on last edited by skywatch
                                #15

                                @mfalkvidd

                                Thanks for the (very) fast reply!

                                I have arduino in my greenhouse and in winter when it can be constantly wet and cold it is a real pain to take the laptop out to make any changes. This would be a good solution that would allow me and my laptop to stay warm and dry! - - - But how do I stop any one else programming it remotely? Is there some security to stop random programs being installed (it is controlling mains electricity and I need to be sure it is a safe option.

                                tbowmoT 1 Reply Last reply
                                0
                                • skywatchS skywatch

                                  @mfalkvidd

                                  Thanks for the (very) fast reply!

                                  I have arduino in my greenhouse and in winter when it can be constantly wet and cold it is a real pain to take the laptop out to make any changes. This would be a good solution that would allow me and my laptop to stay warm and dry! - - - But how do I stop any one else programming it remotely? Is there some security to stop random programs being installed (it is controlling mains electricity and I need to be sure it is a safe option.

                                  tbowmoT Offline
                                  tbowmoT Offline
                                  tbowmo
                                  Admin
                                  wrote on last edited by
                                  #16

                                  @skywatch

                                  You can use signing to authenticate a firmware upload. Then the attacker first need to get your pre shared keys to reprogram via ota

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

                                    @skywatch just to be complete: using signing as @tbowmo suggested only works with dualoptiboot bootloader.
                                    When using MYSBootloader it will, as far as I know, accept any firmware when booting. To attack the node the attacker would have to reboot your node (power cycle,...) and then send his own firmware. So this is possible, but needs quite a good amount of control of your systems.

                                    tbowmoT 1 Reply Last reply
                                    0
                                    • AndurilA Anduril

                                      @skywatch just to be complete: using signing as @tbowmo suggested only works with dualoptiboot bootloader.
                                      When using MYSBootloader it will, as far as I know, accept any firmware when booting. To attack the node the attacker would have to reboot your node (power cycle,...) and then send his own firmware. So this is possible, but needs quite a good amount of control of your systems.

                                      tbowmoT Offline
                                      tbowmoT Offline
                                      tbowmo
                                      Admin
                                      wrote on last edited by
                                      #18

                                      @Anduril

                                      @tekka have been looking at making a secure Ota boot loader, if I remember right. I thought that it was released already.

                                      But if an intruder is able to get yo your node to do a reset in order to have the mysbootloader kick in, he could just as well put a new firmware in by attaching a programmer directly to the node.

                                      1 Reply Last reply
                                      1
                                      • b0rmannB Offline
                                        b0rmannB Offline
                                        b0rmann
                                        wrote on last edited by
                                        #19

                                        Is it possible OTA from linux without MYSController?

                                        1 Reply Last reply
                                        1
                                        • skywatchS Offline
                                          skywatchS Offline
                                          skywatch
                                          wrote on last edited by
                                          #20

                                          Thank you all for the responses. If someone gets physical access then the game is over anyway. I just want to protect from some bored malicious person getting remote access and causing problems or even a fire.
                                          If it is secure from 'others' hacking it remotely I might give it a try.

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


                                          9

                                          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
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular