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. General Discussion
  3. Over the air (OTA) bootloading update tutorial?

Over the air (OTA) bootloading update tutorial?

Scheduled Pinned Locked Moved General Discussion
97 Posts 19 Posters 59.8k Views 22 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.
  • scalzS Offline
    scalzS Offline
    scalz
    Hardware Contributor
    wrote on last edited by
    #83

    Dualoptiboot use spi protocol for eeprom. So you can't. you would have to rewrite the code to use i2c protocol.
    I don't know if there are cheap spi alternative and I have not looked at ali, I buy mine at mouser.

    Suresh MaliS 1 Reply Last reply
    0
    • scalzS scalz

      Dualoptiboot use spi protocol for eeprom. So you can't. you would have to rewrite the code to use i2c protocol.
      I don't know if there are cheap spi alternative and I have not looked at ali, I buy mine at mouser.

      Suresh MaliS Offline
      Suresh MaliS Offline
      Suresh Mali
      wrote on last edited by
      #84

      @scalz Thanks buddy :thumbsup: . Probably I would have to keep hunting for SPI EEPROMs iguess.:sweat:

      ahmedadelhosniA 1 Reply Last reply
      0
      • Suresh MaliS Suresh Mali

        @scalz Thanks buddy :thumbsup: . Probably I would have to keep hunting for SPI EEPROMs iguess.:sweat:

        ahmedadelhosniA Offline
        ahmedadelhosniA Offline
        ahmedadelhosni
        wrote on last edited by
        #85

        @Suresh-Mali I have the same problem. Only I2C IC is available in my country :(
        Looks like we have to hack the code. I will inform you when I reach this phase in my project.

        scalzS Suresh MaliS 3 Replies Last reply
        0
        • ahmedadelhosniA ahmedadelhosni

          @Suresh-Mali I have the same problem. Only I2C IC is available in my country :(
          Looks like we have to hack the code. I will inform you when I reach this phase in my project.

          scalzS Offline
          scalzS Offline
          scalz
          Hardware Contributor
          wrote on last edited by scalz
          #86

          @ahmedadelhosni, @Suresh-Mali : I don't know if you have a soldering iron ?? But you could use this ref : w25x40clsnig . This is the one used on moteino from lowpowerlab (they created Dualoptiboot).
          You can find this flash ic on aliexpress. It is cheap but ic only, no eval board..
          Then you can use this :
          https://www.openhardware.io/view/18/OTA-and-Authentication-Evaluation-Board

          I hope it helps. I have not tried these aliexpress flash but it should work. I hope ;) I will order some to see too.

          Few months ago, I made this french tut about OTA and dualoptiboot for jeedom users. I never had time to translate it. I will see when I will be able, but in case it can help, with some google translate, there are some pics too so maybe...
          https://www.jeedom.com/forum/viewtopic.php?f=35&t=9539

          1 Reply Last reply
          1
          • ahmedadelhosniA ahmedadelhosni

            @Suresh-Mali I have the same problem. Only I2C IC is available in my country :(
            Looks like we have to hack the code. I will inform you when I reach this phase in my project.

            Suresh MaliS Offline
            Suresh MaliS Offline
            Suresh Mali
            wrote on last edited by
            #87

            @ahmedadelhosni Great, do let us know once you have something.

            1 Reply Last reply
            0
            • ahmedadelhosniA ahmedadelhosni

              @Suresh-Mali I have the same problem. Only I2C IC is available in my country :(
              Looks like we have to hack the code. I will inform you when I reach this phase in my project.

              Suresh MaliS Offline
              Suresh MaliS Offline
              Suresh Mali
              wrote on last edited by
              #88

              @ahmedadelhosni Hey, I found this article. Seems like the guy has used i2c for remote flash. I was not able to extactly understand whats going on, maybe you can help.
              http://www.rotwang.co.uk/projects/bootloader.html

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

                nice catch ;) yes it should work with some tests and code changes in mysensors lib to write into the i2c flash instead of spi flash...

                Suresh MaliS 1 Reply Last reply
                0
                • scalzS scalz

                  nice catch ;) yes it should work with some tests and code changes in mysensors lib to write into the i2c flash instead of spi flash...

                  Suresh MaliS Offline
                  Suresh MaliS Offline
                  Suresh Mali
                  wrote on last edited by
                  #90

                  @scalz , Thanks:smiley:
                  I am not a Device Programmer, I am counting on some one to hack and make it possible. Hope somebody puts in efforts that will help everybody like me.

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

                    @Suresh-Mali : yep, I understand :confused: unfortunately, I have no time, even if it is maybe not the biggest thing, tests take time..there are so much things I would like to do! Do you have a soldering iron??? What I have showed to you in previous post don't need big soldering skills...

                    Suresh MaliS 1 Reply Last reply
                    0
                    • scalzS scalz

                      @Suresh-Mali : yep, I understand :confused: unfortunately, I have no time, even if it is maybe not the biggest thing, tests take time..there are so much things I would like to do! Do you have a soldering iron??? What I have showed to you in previous post don't need big soldering skills...

                      Suresh MaliS Offline
                      Suresh MaliS Offline
                      Suresh Mali
                      wrote on last edited by
                      #92

                      @scalz Oh yes, soldering is not an issue. I have rework station and I am proficient with soldering Through Hole and SMD components.
                      Its about getting the EEPROMs.

                      Buying from Ali would be my last resort. I am hunting for this chip in other parts of India. I should have an answer by day end, If I dont get them then I'll order from Ali. Waiting is the worst part of ordering from Ali. I had Order ATSHA204 on 12th Dec and still waiting.:disappointed:

                      1 Reply Last reply
                      0
                      • Suresh MaliS Offline
                        Suresh MaliS Offline
                        Suresh Mali
                        wrote on last edited by Suresh Mali
                        #93

                        Hey Guys, I managed to find a EEPROM chip from Bangalore, India. Its 25LC512, priced at Rs.65(~$1). I hope it works. I should get it next 2days. It has the same footprint as one used in SenseBenderMicro. Will try once I have them and update.

                        1 Reply Last reply
                        0
                        • ahmedadelhosniA Offline
                          ahmedadelhosniA Offline
                          ahmedadelhosni
                          wrote on last edited by
                          #94

                          nice catch for the I2C bootloader.
                          Keep us updated please of your progress. I can't actually start this phase now as I am working on other things at the moment.
                          Good luck.

                          1 Reply Last reply
                          0
                          • Suresh MaliS Offline
                            Suresh MaliS Offline
                            Suresh Mali
                            wrote on last edited by Suresh Mali
                            #95
                            This post is deleted!
                            mfalkviddM 1 Reply Last reply
                            0
                            • Suresh MaliS Suresh Mali

                              This post is deleted!

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

                              @Suresh-Mali please do not post the same question in more than one thread. Answer is available in http://forum.mysensors.org/topic/3060/home-made-ota-and-authentication-breakout-board/2

                              1 Reply Last reply
                              0
                              • G Offline
                                G Offline
                                gepd
                                wrote on last edited by
                                #97

                                There is several alternatives in aliexpress to the memory @Anticimex posted above, SPI interface, same pin distribution, only change the memory capacity and voltage input. (and good prices)

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


                                21

                                Online

                                11.7k

                                Users

                                11.2k

                                Topics

                                113.0k

                                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