upload by OTA does not work on Wemos board ATmega2560+ESP8266+32Mb+USB-TTL CH340

Hi Juraj,

Have you managed to do it working ?

Working again on Wifi-link, i got an error message when i tried to upload Uno sketch. I attached the message.

wifi-link.doc (41.5 KB)

the SPI connection has it's complications. I had it working some months ago. It would be good as soldered shield but with breadboard it is always something. and the Atmega sketch must have a right initialization code to handle pin 15 of the esp8266 or a hw solution is needed

you try WiFiLink again? with serial connection to Uno? you need the mcu-ota upload tool for that

"I discovered that the AVR iSP implementation in ArduinoISP and in derived esp8266 AVR ISP is STK500 v1, but avrdude uses v2 at default."

Do you plan to make something to resolve that ? if no, i suppose i have to give up wifispiesp ??

kock:
"I discovered that the AVR iSP implementation in ArduinoISP and in derived esp8266 AVR ISP is STK500 v1, but avrdude uses v2 at default."

Do you plan to make something to resolve that ? if no, i suppose i have to give up wifispiesp ??

We need to change the network upload command in platform.txt, the -c{upload.protocol}, but I don't know to what value, yet

Juraj:
We need to change the network upload command in platform.txt, the -c{upload.protocol}, but I don't know to what value, yet

for Mega stk500v1 the settings are in programmers.txt section "Arduino as ISP"

I managed to get the programming of the Mega working over wifi with a couple of changes: removing one diode and adding another diode.

Detailed explanation in my blog: Uploading code wirelessly to Arduino Mega

I use ESP-Link fo the ESP8266.

misan:
I managed to get the programming of the Mega working over wifi with a couple of changes: removing one diode and adding another diode.

Detailed explanation in my blog: Uploading code wirelessly to Arduino Mega

I use ESP-Link fo the ESP8266.