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. How to start with FOTA

How to start with FOTA

Scheduled Pinned Locked Moved General Discussion
9 Posts 2 Posters 1.6k Views 2 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
    martim
    wrote on last edited by
    #1

    Hi,

    I hope someone can help me to start with FOTA. I have read this page: https://www.mysensors.org/about/fota#the-fota-bootloader. But still I am still not sure how to start.

    1. Does a gateway needs to have special firmware?
    2. If you flash a 328p with MYSysController firmware for the first time and there is no sketch loaded, how do you get the skets loaded as the node won't advertise itselfs to the gateway??

    I know how to flash a 328p but I am not sure how to get the sketch on it the first time and MYSYSController does not work with my gateway so I am now trying MyController.

    Can someone put my into the right direction?

    Thanks for helping out..

    1 Reply Last reply
    1
    • gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by
      #2

      No special firmware needed on the gateway, you only need a controller that supports the fota. Once you loaded the bootloader you should be able to load the sketch. Personally I prefer the dual optiboot method as it is easier to manage but it requires an additional spi flash chip

      M 1 Reply Last reply
      0
      • gohanG gohan

        No special firmware needed on the gateway, you only need a controller that supports the fota. Once you loaded the bootloader you should be able to load the sketch. Personally I prefer the dual optiboot method as it is easier to manage but it requires an additional spi flash chip

        M Offline
        M Offline
        martim
        wrote on last edited by
        #3

        @gohan Well that's what I do not like. Is there any documentation arround how to start with MYSysController firmware for the first time?

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

          Adding a firmware to MySController is easy, you just copy the hex file to the firmware folder then you assign it to a node with a right click. The most difficult part it to have the MySbootloader running on the node :)

          M 1 Reply Last reply
          0
          • gohanG gohan

            Adding a firmware to MySController is easy, you just copy the hex file to the firmware folder then you assign it to a node with a right click. The most difficult part it to have the MySbootloader running on the node :)

            M Offline
            M Offline
            martim
            wrote on last edited by martim
            #5

            @gohan the problem is that MySContoller does not work. Cannot connect to Gateway. The flash seems succesfull. So I am trying to use MyController.

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

              what kind of gateway are you using? MySController only works with ethernet or USB/serial

              M 1 Reply Last reply
              0
              • gohanG gohan

                what kind of gateway are you using? MySController only works with ethernet or USB/serial

                M Offline
                M Offline
                martim
                wrote on last edited by
                #7

                @gohan Ethernet.

                9-6-2018 14:57:49 INFO Connected to 192.168.0.4:5003
                9-6-2018 14:58:07 TX 255;255;3;0;20;0
                9-6-2018 14:58:07 ERROR Error on connect: connection refused (pressing discover)

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

                  That is odd... I have never seen that message

                  M 1 Reply Last reply
                  0
                  • gohanG gohan

                    That is odd... I have never seen that message

                    M Offline
                    M Offline
                    martim
                    wrote on last edited by
                    #9

                    @gohan Disabled my Firewall and Virusscanner and now it seems to work :)

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


                    11

                    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