OTA update of Arduino with ESP-LiNK

Has anyone found usable examples of updating an Arduino program over the air using the ESP8266 loaded with the esp-link firmware? Target board is an Uno with Optiboot.

A command line tool is fine if that's all there is but if there is a method that can be integrated into the IDE, even better, I would just like to find a method that is reliable.

I found this from some time ago but did not find it very helpful as it jumps all over the place with methods and tools with no example use cases.

Arduino OTA updating

The ESP Labs GitHub repo is packed with information but little in the way of Arduino use case examples. I'm sure it's just a matter of me not looking in the right places. I've spent days researching this and keep ending up at the same dead ends.

Hello if you add this to your programmers.txt file:

esplink.name=esp-link 2032
esplink.program.tool=avrdude
esplink.protocol=arduino
esplink.program.extra_params=  -P net:esp-link:2323  -b{upload.speed} 
#esplink.program.extra_params= -P net:192.168.1.249:2323  -b{upload.speed}

esplink23.name=esp-link
esplink23.program.tool=avrdude
esplink23.protocol=arduino
esplink23.program.extra_params=  -P net:esp-link:23  -b{upload.speed} 
#esplink23.program.extra_params= -P net:192.168.1.249:23  -b{upload.speed}

use ip or name of esp-link

And just use upload with programmer, this worked for me on a promini,

A few tips:

  1. esp-01 only works a few times in 10 for me go for a esp12 or similar
  2. i never got this working when i used Optiboot, worked fine with standard bootloader thou
  3. use level shifter on on rx tx and rst or at a minimum voltage divider on uno tx/ esp rx.
  4. add a short delay before the code starts
  5. don't use the 3.3v from the uno for the esp or if you really really have to, add a 1000uf cap...
  6. set the right upload speed in esp-link

Best of luck

did you upload the esp-link firmware into the esp8266?

yes i use:
Release 3.2.47 alpha

swe-dude:
yes i use:
Release 3.2.47 alpha

it is not your thread so the question was not addressed to you

You can try actually reading what the thread creator wrote then....
" ESP8266 loaded with the esp-link firmware"
Just a suggestion....

swe-dude:
You can try actually reading what the thread creator wrote then....
" ESP8266 loaded with the esp-link firmware"
Just a suggestion....

He doesn't say, he has it uploaded. That is why I ask.

Juraj:
He doesn't say, he has it uploaded. That is why I ask.

First sentence. ESP8266 with esp-link. 3.0.14.

WattsThat:
First sentence. ESP8266 with esp-link. 3.0.14.

the first sentence is a question.
you have wired the esp8266 (module? board? plain?) to Uno's RX/TX?
you did wire the reset and setup in the firmware's webpanel the reset pin?