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.
  • M Offline
    M Offline
    mmanzanelli
    wrote on last edited by
    #121

    hi, can i use mysbootloder with arduino mega2560? The mega is used as a node that manage 24 sensors / actuators, i use this by the number of pins needed. thnks

    M 1 Reply Last reply
    0
    • M mmanzanelli

      hi, can i use mysbootloder with arduino mega2560? The mega is used as a node that manage 24 sensors / actuators, i use this by the number of pins needed. thnks

      M Offline
      M Offline
      manutremo
      wrote on last edited by
      #122

      @mmanzanelli I don't think you can, the Mega has a different memory structure not supported by the present bootloaders.

      1 Reply Last reply
      1
      • badmannenB Offline
        badmannenB Offline
        badmannen
        wrote on last edited by
        #123

        I have a quick question. so I don´t screw things up more than necessary, What bootloader should I use on a barebone 328p? ... I was just going to burn the "mini pro" that ´@Guillermo Schimmel so kindly uploaded on GitHub. but then I realised ..that might be wrong ..
        Can anyone guide me about what to burn in, I am making a bunch of" 2AA Slim-nodes"

        Also I ahve 3 old ones, I actually don´t remember but If I understood things correct, the Channel have to be the same on all nodes on the network I assume , and by default it is set to Channel 76, unless manually changed in the "old" code before this FOTA-generation?

        I think I read too much info so my mind is slightly confused now =) so I hope it was clear enough

        rPi 3 - UNO R3 - Mini - Nano - custom

        G 1 Reply Last reply
        0
        • badmannenB badmannen

          I have a quick question. so I don´t screw things up more than necessary, What bootloader should I use on a barebone 328p? ... I was just going to burn the "mini pro" that ´@Guillermo Schimmel so kindly uploaded on GitHub. but then I realised ..that might be wrong ..
          Can anyone guide me about what to burn in, I am making a bunch of" 2AA Slim-nodes"

          Also I ahve 3 old ones, I actually don´t remember but If I understood things correct, the Channel have to be the same on all nodes on the network I assume , and by default it is set to Channel 76, unless manually changed in the "old" code before this FOTA-generation?

          I think I read too much info so my mind is slightly confused now =) so I hope it was clear enough

          G Offline
          G Offline
          Guillermo Schimmel
          wrote on last edited by
          #124

          @badmannen 76 is the default. I uploaded different versions for all the channel numbers.

          Have in mind that they all have to match (gateway and all the nodes).

          If they don't match they aren't going to see each other.

          badmannenB 2 Replies Last reply
          0
          • G Guillermo Schimmel

            @badmannen 76 is the default. I uploaded different versions for all the channel numbers.

            Have in mind that they all have to match (gateway and all the nodes).

            If they don't match they aren't going to see each other.

            badmannenB Offline
            badmannenB Offline
            badmannen
            wrote on last edited by
            #125

            @guillermo-schimmel
            Ok so If I push this one "MYSBootloader.ch76.8000000L.RF24_PA_LOW.hex" into the FLASH on my barebone 328P via AVRDudess
            It should , in theory at least , do the trick ?
            0_1573768411797_ab8606c9-3933-40d4-8b29-024d4aa8da3d-image.png

            And then After I can upload any sketch on top of it, in the Arduino IDE, with just choosing "Programmer-----> USBasp"
            which is what I use to connect to the 328P

            rPi 3 - UNO R3 - Mini - Nano - custom

            G 1 Reply Last reply
            0
            • badmannenB badmannen

              @guillermo-schimmel
              Ok so If I push this one "MYSBootloader.ch76.8000000L.RF24_PA_LOW.hex" into the FLASH on my barebone 328P via AVRDudess
              It should , in theory at least , do the trick ?
              0_1573768411797_ab8606c9-3933-40d4-8b29-024d4aa8da3d-image.png

              And then After I can upload any sketch on top of it, in the Arduino IDE, with just choosing "Programmer-----> USBasp"
              which is what I use to connect to the 328P

              G Offline
              G Offline
              Guillermo Schimmel
              wrote on last edited by
              #126

              @badmannen

              1st: In order to upload soft using a cable, you don't need to modify the bootloader. Any bootloader will work.

              if and only if you want to experiment with FOTA (uploading firmware via wireless), then:

              2nd: if you want to use FOTA and you choose MYSBOOTLOADER, then please check the fuses and lock bits, I dont remember them all. But it seems ok, have a try and let us know!

              1 Reply Last reply
              1
              • G Guillermo Schimmel

                @badmannen 76 is the default. I uploaded different versions for all the channel numbers.

                Have in mind that they all have to match (gateway and all the nodes).

                If they don't match they aren't going to see each other.

                badmannenB Offline
                badmannenB Offline
                badmannen
                wrote on last edited by
                #127

                @guillermo-schimmel OR Am I making things more complicated than I need? ... maybe it is easier just to copy your hexfile into -->
                "ARDUINO_PATH" > hardware > arduino > avr > bootloaders

                and then burn it in the Arduino IDE ?

                rPi 3 - UNO R3 - Mini - Nano - custom

                G 1 Reply Last reply
                0
                • badmannenB badmannen

                  @guillermo-schimmel OR Am I making things more complicated than I need? ... maybe it is easier just to copy your hexfile into -->
                  "ARDUINO_PATH" > hardware > arduino > avr > bootloaders

                  and then burn it in the Arduino IDE ?

                  G Offline
                  G Offline
                  Guillermo Schimmel
                  wrote on last edited by
                  #128

                  @badmannen are you sure that your arduino doesn't have a bootloader? why are you trying to modify it?

                  If it doesn't have a bootloader, or if you want to play with FOTA, then what you are doing it's ok, that is the way I did it.

                  badmannenB 1 Reply Last reply
                  0
                  • badmannenB Offline
                    badmannenB Offline
                    badmannen
                    wrote on last edited by
                    #129

                    @guillermo-schimmel
                    Ok Perfect! , I will give it a go and see what happens . thanks a lot .. I just needed a little confidence boost to get going =)

                    Yes I wanted to Try to Use FOTA, just to check it out , at least it´s enabled if I push this bootloader in from the start

                    rPi 3 - UNO R3 - Mini - Nano - custom

                    1 Reply Last reply
                    0
                    • G Guillermo Schimmel

                      @badmannen are you sure that your arduino doesn't have a bootloader? why are you trying to modify it?

                      If it doesn't have a bootloader, or if you want to play with FOTA, then what you are doing it's ok, that is the way I did it.

                      badmannenB Offline
                      badmannenB Offline
                      badmannen
                      wrote on last edited by badmannen
                      #130

                      @guillermo-schimmel Thanks a lot ! I got it all up and running node a couple of nodes. But now I confused myself . I got an Arduino Nano as a node that also acts as a repeater, what bootloader can I push into that one? I assume anycahnnel and 16MHz should do the trick since it got that crystal attached.

                      And also one thing that is not really clear in my head, I set the "Fuses&Lock bits" with the AVRDudess for my 328P barebone. But do I really need that? . If I load the bootloader in ARduini IDE for example I specify all those settings in the "board.txt" file. Or is that just to tell the IDE what settings is on the chip ?

                      If I clear these two things up I think I got everything sorted now =)

                      rPi 3 - UNO R3 - Mini - Nano - custom

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


                      12

                      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