- Sun Apr 30, 2017 2:17 am
#65409
I have been wondering the same. recently I got my esp on some sort of boot loop while playing around with OTA updates. Arduino IDE could flash new software in but boot loop was still happening (not sure if I use correct terms). I too found some random old nodemcu flasher that I got working. First it didnt fix the problems but then I found that I need to increase flash size. With that and old nodemcu flasher -> flashed the firmware. Then uploaded my code from arduino IDE. Then the ESP worked again as expected. I'm using ESP-12-F. I wasnt able to run esptool on windows.. not skilled enough :o
But after this episode I started wondering what is the correct firmware to have when using Arduino IDE.
Comment from this webpage:
http://www.whatimade.today/esp8266-easi ... am-so-far/The Arduino IDE Compiles the code into a NEW binary firmware using the official ESP8266 SDK and then flash it to the ESP8266.
It has nothing to do with the nodeMCU. The NodeMCU is one single firmware which supports script language and file-system. With the nodeMCU you never really compile anything after flashing the firmware once.
If you had the nodeMCU firmware on the ESP8266 and then you used the Arduino IDE, the new code you wrote will REPLACE the nodemcu firmware
So to my understanding if the newest Arduino IDE is used and boards are up to date you are on the safe side. Arduino IDE will create and flash new firmware. Can someone confirm this?
Now just need to figure out what all those arduino settings mean and what should be used when uploading code. Or should I say when flashing firmware?