• OTA firmware upload

     Lukas updated 1 year, 9 months ago 6 Members · 16 Posts
  • enfo

    Member
    July 30, 2020 at 3:53 pm

    Hi everyone, somebody know how to upload Controllino firmware by Ethernet?

  • Jarda

    Member
    August 5, 2020 at 10:58 am

    Hello,

    please follow the github information:

    https://github.com/CONTROLLINO-PLC/CONTROLLINO_Library/issues/14” class=”bbcode_url”>https://github.com/CONTROLLINO-PLC/CONTROLLINO_Library/issues/14

    Best Regards

    Jarda

  • enfo

    Member
    August 10, 2020 at 9:15 am

    Hi, i tried the guide that you posted, but unfortunally Controllino stopped working.

    Can i post the video with its behaviour?

  • Lukas

    Member
    August 10, 2020 at 11:45 am

    Hi, please try to describe what you have done and what is the current status. Video may help of course. As far as I know it is not possible to upload it here, but you can share a link with us.

    Thanks,

    Lukas

  • enfo

    Member
    August 11, 2020 at 3:13 pm

    I uploaded the video on Google Drive, i hope that you can watch it.https://drive.google.com/file/d/1i6aHIC5lWSq05N-hR0BELeRP6CLtAr0h/view?usp=sharing” class=”bbcode_url”>https://drive.google.com/file/d/1i6aHIC5lWSq05N-hR0BELeRP6CLtAr0h/view?usp=sharing

    The current state of Controllino is this, i can’t upload any new sketch and the led of 12V and 24V are red.

  • Lukas

    Member
    August 12, 2020 at 4:08 pm

    Thanks for the video. We will investigate it.

    So, what have you done before? Flashed a new bootloader to Atmega2560?

    Thanks,

    Lukas

  • enfo

    Member
    August 24, 2020 at 9:11 am

    Hi Lukas,

    unfortunately during the flashing operation, occurred that i show you and i can’t proceed with the bootloader change.

  • blue_spider

    Member
    February 19, 2021 at 2:46 pm

    Hello,

    Is there a compiled Ethernet OTA bootloader for the Controllino Maxi? Or do we still need to find another and make modifications ourselves. It would be very helpful if Controllino could provide a verified .hex file as there are various suggestions and instructions floating around on different github issues and forums.
    Thanks,

    • Lukas

      Member
      February 23, 2021 at 9:22 am

      Hello,

      we are currently trying to use this library. I will share our results soon!

      Best regards,

      Lukas

      • blue_spider

        Member
        May 7, 2021 at 9:29 am

        Hi, has there been any development with this?

        • Lukas

          Member
          May 18, 2021 at 9:39 am

          Hi,

          we have invested noticeable amout of time to let this running without any positive result.

          In general there are two mainstream solutions for the Arduino OTA remote update:

          1/ Data transfer done in sketch context:

          User
          sketch includes library (e.g. by jandrassy) which broadcasts “here I am ready
          for OTA” and listens on a port for incoming binary;
          When the
          new binary is coming (e.g. from Arduino IDE in the local network) is
          stores the data into unused part of the program flash memory (“second
          partition”);
          And resets
          the board;
          Special
          bootloader based on Optiboot then copies binary from second partition to
          the first one and resets the board;
          The new
          sketch starts;<div>

          2/ Data transfer done in bootloader context:

          User
          sketch is commanded to reset the board (via Ethernet or Serial line, or
          button … );
          Special
          bootloader based on Ariadne creates TFTP server and waits for new binary;
          If it is
          coming it flashes it directly to the flash memory and restarts the board;

          But there are also other options:

          Use
          solution 1, but implement a periodical check of some http server;
          In a case
          of a new FW available it downloads it to the second partition and resets
          the device …

          Nevertheless – all solutions need a special bootloader and until now we were not able to run such a bootloader on CONTROLLINO.

          In general – each existing OTA solution for Arduino boards requires local Ethernet access – so if you need to do it remotely, there is necessary to have some kind of a gateway. Reuse existing solutions for CONTROLLINO is very complicated and up to now we have failed to let it running. Theoretically it is possible to directly access some remote server from CONTROLLINO, but without any sufficient security.

          Any hint from your side?

          </div>

  • Sintex

    Member
    August 17, 2021 at 12:40 am

    I am also needing an OTA solution for controllino. I would really prefer ArduinoOTA since you can handle the updating in sketch. Optiboot boot loader is needed, since the device isn’t resetting when it receives the flash command. I have tried to load the 2560 optiboot bootloaders, but then the controllino will no longer flash or respond. I’m happy to help in whatever way I can.

  • aott33

    Member
    January 17, 2022 at 9:57 pm

    Any update on Controllino providing a method to upload a sketch via the ethernet port?

    • Lukas

      Member
      January 19, 2022 at 8:50 am

      Not at our side.

      • Sintex

        Member
        January 19, 2022 at 12:39 pm

        Any way to incentivize this? The controllino is really close to being a silver bullet for our application, we just need this and a device with both rs485 and analog outputs.

        • Lukas

          Member
          March 10, 2023 at 11:15 am

          I am sorry, but it should be invented by the Arduino community 🙂

Viewing 1 - 10 of 10 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now