Activity › Forums › Questions & Troubleshooting › Software & Firmware › OTA firmware upload
-
Hi everyone, somebody know how to upload Controllino firmware by Ethernet?
-
Hi, i tried the guide that you posted, but unfortunally Controllino stopped working. Can i post the video with its behaviour?
-
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
-
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.
-
Thanks for the video. We will investigate it. So, what have you done before? Flashed a new bootloader to Atmega2560?
Thanks,
Lukas
-
Hi Lukas, unfortunately during the flashing operation, occurred that i show you and i can’t proceed with the bootloader change.
-
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,-
Hello,
we are currently trying to use this library. I will share our results soon!
Best regards,
Lukas
-
-
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>
-
-
-
-
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.
-
Any update on Controllino providing a method to upload a sketch via the ethernet port?
-
-
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.
-
I am sorry, but it should be invented by the Arduino community 🙂
-
-
-
Log in to reply.