Upload bin file to ESP8266

Hi all!

I need to upload an exported bin file from Arduino IDE to an ESP8266.

I tried to use the node-mcu flasher: selected the bin file to the address 0x00000

and uploaded it; got no error from uploader, but sketch won’t start.

If i upload it from Arduino IDE everything works…

What am I missing?

Thank you

FYI, there's a dedicated ESP8266 user forum; they have a section on arduino related stuff. They're probably a better resource for ESP8266 stuff than this one. http://www.esp8266.com/

Hi DrAzzy,

thank you for your reply.

Sure you're right, thanks again :slight_smile:

DCloud:
Hi DrAzzy,

thank you for your reply.

Sure you're right, thanks again :slight_smile:

You could use the "Webupdate" example sketch for that. Flash it and then upload the .bin through the webbrowser.

Hi Lennyz1988,

thank you, but I need to send the bin file so It will be better if it's possible to upload a bin with a flash

tool... :confused:

DCloud:
thank you, but I need to send the bin file so It will be better if it’s possible to upload a bin with a flash tool… :confused:

You can use cURL or something similar to upload a bin file to the ESP running the Webupdate sketch, without having to use a web browser.

Have you tried the OTA examples that come with the ESP Arduino core?

Or you can use esptool.py, which is the official tool. Not sure if it works on Windows/Mac, but it works great on Linux.

Pieter