Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By SolveEtCoagula07
#70146 Does anyone know how to upload a precompiled Arduino Sketch to an ESP8266 by using a command and not going through the Arduino IDE?

I would like to create a program that I can basically select the .bin file and hit upload. My board design (breadboard at the moment) is set up to use the NodeMCU reset method.
User avatar
By SolveEtCoagula07
#70149 I saw other posts that mentioned that and I gave it a try with command prompt, but it did nothing. I'm not sure what is going on with the .elf file among other things that are happening with that command. It looks like several different commands are being performed. I even tried to execute them individually but had no luck.
User avatar
By martinayotte
#70150 "esptool" is called twice, one time for the linkage phase using the elf to produce the bin, and a second time for the upload phase which take the bin and push it into the ESP. So, it is this second phase you should look at ...