Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Remotely update firmware via ethernet

  1. #1
    Member dimitre's Avatar
    Join Date
    Aug 2016
    Location
    São Paulo
    Posts
    64

    Remotely update firmware via ethernet

    Hello, I've been using OTA on ESP8266 to update about 50 devices at the same time.
    Is there some similar library out there to update Teensy firmware via Ethernet?
    Thank you

  2. #2
    Senior Member
    Join Date
    Feb 2013
    Posts
    181
    I don't know the answer to this, but I do want to know your method for updating 50 devices at one. Just starting to work on a project where I will use an esp8266 and updating all devices at once would be nice.

  3. #3
    Member dimitre's Avatar
    Join Date
    Aug 2016
    Location
    São Paulo
    Posts
    64
    I use my computer as a server to distribute the firmware (fixed ip, something like 192.168.0.10/firmware.bin )
    esps are ready to receive an udp command and that starts the update process (check ESP8266httpUpdate.h)

    I have to export using the right flash size configuration (1mb in my case) and the firmware should be less than half the available size
    so with some scripts I export the binary, update the server and send the udp packet.

    the old ESPs update in 25 seconds, and the newer took about 1 minute to update and reboot.

  4. #4
    Senior Member brtaylor's Avatar
    Join Date
    Mar 2016
    Location
    Portland, OR
    Posts
    495
    Quote Originally Posted by dimitre View Post
    Hello, I've been using OTA on ESP8266 to update about 50 devices at the same time.
    Is there some similar library out there to update Teensy firmware via Ethernet?
    Thank you
    No, this is a pretty oft asked subject. I suggest searching the forums for similar questions regarding updating firmware over different protocols. The only supported method is via USB and any other approach will require you to write your own software to do it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •