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. Hardware
  3. OTA flash types for MySensors

OTA flash types for MySensors

Scheduled Pinned Locked Moved Hardware
64 Posts 23 Posters 24.6k Views 20 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.
  • AnticimexA Anticimex

    @gohan I do believe mysbooloader has signing support.

    gohanG Offline
    gohanG Offline
    gohan
    Mod
    wrote on last edited by
    #55

    @Anticimex does it? How about encryption?

    AnticimexA 1 Reply Last reply
    0
    • gohanG gohan

      @Anticimex does it? How about encryption?

      AnticimexA Offline
      AnticimexA Offline
      Anticimex
      Contest Winner
      wrote on last edited by
      #56

      @gohan not sure. Better ask the author of the bootloader for that. Ping @tekka

      Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

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

        also note:
        so far MysBootloader is available for nrf24 only.
        And for rfm69 FOTA, it's dualoptiboot bootloader based (from Lowpowerlab) which needs a flash ic.
        It has been answered by tekka in another thread, but I don't think there is an eta for rfm69 MysBootloader yet..as the todolist isn't short !

        1 Reply Last reply
        0
        • M manutremo

          @Nca78 Thanks for the hint. I actually purchased from this seller who is chaper:

          http://www.ebay.es/itm/Module-De-Memoire-Dinterface-1Pcs-Spi-W25q32b-Haute-Capacite-Ic-Nouveau-K-/162656857086?hash=item25df1aabfe:g:1Z8AAOSwSblZqs0q

          While the ebay seller shipped for free, Aliexpress would charge me 1.24€ for shipping to my country so the total price would be 2.63, significantly more expensive.

          Many thanks anyways!

          J Offline
          J Offline
          jkandasa
          Plugin Developer
          wrote on last edited by jkandasa
          #58

          @manutremo said in OTA flash types for MySensors:

          @Nca78 Thanks for the hint. I actually purchased from this seller who is chaper:

          @manutremo I am getting trouble with W25Q32B. Can you help me to get success? I am struggling to get jedec id for this chip.

          UPDATE: I included the following lines on the sketch it works,

          //Enable OTA feature
          #define MY_OTA_FIRMWARE_FEATURE
          #define MY_OTA_FLASH_JDECID 0x00
          
          M 1 Reply Last reply
          0
          • J jkandasa

            @manutremo said in OTA flash types for MySensors:

            @Nca78 Thanks for the hint. I actually purchased from this seller who is chaper:

            @manutremo I am getting trouble with W25Q32B. Can you help me to get success? I am struggling to get jedec id for this chip.

            UPDATE: I included the following lines on the sketch it works,

            //Enable OTA feature
            #define MY_OTA_FIRMWARE_FEATURE
            #define MY_OTA_FLASH_JDECID 0x00
            
            M Offline
            M Offline
            manutremo
            wrote on last edited by
            #59

            @jkandasa happy to see that you solved it. In case it matters, I didn't need to add the second line.

            1 Reply Last reply
            0
            • scalzS scalz

              @tbowmo I thought same things...
              @ahmedadelhosni : translation roughly done ;) Here http://forum.mysensors.org/topic/3503/sensebender-dualoptiboot-ota-howto-in-mysensors

              P Offline
              P Offline
              p359
              wrote on last edited by
              #60

              Hi, old thread but I hope a question not too far off the mark. I'm using Easy PCB nodes and looking to use OTA on the reverse side. I'm having some issues finding a source in Australia for the SPI chip mentioned, I am seeing this one very easily available. From the data sheet on the page, it appears to be pretty much the same, just the lower end of the acceptable voltage is up to 2.6V. Any thoughts welcome if you can see if it would/wouldn't work, my tech knowledge is limited on this sort of thing.

              https://au.rs-online.com/web/p/flash-memory/8228477

              Cheers!

              sundberg84S 1 Reply Last reply
              1
              • P p359

                Hi, old thread but I hope a question not too far off the mark. I'm using Easy PCB nodes and looking to use OTA on the reverse side. I'm having some issues finding a source in Australia for the SPI chip mentioned, I am seeing this one very easily available. From the data sheet on the page, it appears to be pretty much the same, just the lower end of the acceptable voltage is up to 2.6V. Any thoughts welcome if you can see if it would/wouldn't work, my tech knowledge is limited on this sort of thing.

                https://au.rs-online.com/web/p/flash-memory/8228477

                Cheers!

                sundberg84S Offline
                sundberg84S Offline
                sundberg84
                Hardware Contributor
                wrote on last edited by sundberg84
                #61

                @p359 - not really good at these external flash either... but as you said its a 2.8-3.6v chip meaning you limit the EasyPCB to a regulated 3.3v 8mhz Pro mini. Battery operations will be hard to achieve (not impossible though). But since you are aiming for OTA i guess you wont be using sleep/battery.

                for how to write to the chip, im not the person to ask/answer since this is quite new to me but it seems like a fair price so maybe worth a shot.

                Controller: Proxmox VM - Home Assistant
                MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                P 1 Reply Last reply
                0
                • gohanG Offline
                  gohanG Offline
                  gohan
                  Mod
                  wrote on last edited by
                  #62

                  It is possible to use battery, just use smartsleep instead of sleep to allow a little extra time for the controller to send the OTA update command and you can also use LiFePO4 batteries that work exactly in that voltage range.

                  1 Reply Last reply
                  1
                  • sundberg84S sundberg84

                    @p359 - not really good at these external flash either... but as you said its a 2.8-3.6v chip meaning you limit the EasyPCB to a regulated 3.3v 8mhz Pro mini. Battery operations will be hard to achieve (not impossible though). But since you are aiming for OTA i guess you wont be using sleep/battery.

                    for how to write to the chip, im not the person to ask/answer since this is quite new to me but it seems like a fair price so maybe worth a shot.

                    P Offline
                    P Offline
                    p359
                    wrote on last edited by
                    #63

                    @sundberg84 you raise an obvious point about upper voltage that I'd overlooked to to be honest. I'll make a 3.3v node up to test when the chips arrive to test. If it works, perhaps try to use on 5v node with a shifter. Will report back if they work or not. I see also in the code now, reference to using i2c eeproms. Plenty of options to try. Thanks

                    P 1 Reply Last reply
                    1
                    • P p359

                      @sundberg84 you raise an obvious point about upper voltage that I'd overlooked to to be honest. I'll make a 3.3v node up to test when the chips arrive to test. If it works, perhaps try to use on 5v node with a shifter. Will report back if they work or not. I see also in the code now, reference to using i2c eeproms. Plenty of options to try. Thanks

                      P Offline
                      P Offline
                      p359
                      wrote on last edited by
                      #64

                      Not making too much headway with this. Chips arrived, soldered on the the reverse side of the easypcb. Not able to get any sign of the flash being seen. One odd thing, the physical solder pad for the flash chip, pin 6 on my boards isn't connected to sck of the arduino pin 13 at all, just a bare solder pad. I've bridged this with wire, still no luck. Hmmmm...! More experiments ahead, good fun!

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


                      13

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