Chat freely about anything...

User avatar
By Antori91
#66746 Hello,

I bought Electrodragon wifi relay boards preloaded with NodeMCU. I try to update the NodeMCU firmware because the one preinstalled by ElectroDragon is without ADC and SJSON modules and doesn't support float. I built my custom NodeMCU firmware with https://nodemcu-build.com/.
Then I try to upload this firmware. It fails both with https://github.com/nodemcu/nodemcu-flasher and ESPtool.
With NodeMCU flasher, it starts OK to flash but after around 20 seconds, I get a flash write timeout message.
With ESPtool, it starts also OK to flash but stop also after around 20 seconds with read 0, requested 1 (see the screenshot enclosed).
BUT it works OK if I try to flash the board from IDE Arduino (so using ESPtool) with one of my previous sketch.
I 've seen many posts saying the faulty element is the USB-UART board used when NodeMCU flash fails. But in my tests, I use the same USB-UART board. With a sketch and ESPtool, flash is OK. But with ESPtool (or nodemcu-flasher) NodeMCU firmware, flash is KO (with a weird timeout message with nodemcu-flasher)
What is wrong with NodeMCU?
Thanks in advance for your answer
Attachments
NodeMCUFlash.JPG
User avatar
By QuickFix
#66838 90% of actual flash problems is either:
  • Unstable power supply: make sure you power your board with solid 3.3V power, not just the 5V from USB
  • Wrong flasher settings: most commonly the flash-size is incorrecly set
Personally I like to flash my ESP's using the GUI (and later) version of the ESP Flasher Tool