-->
Page 1 of 2

problem flashing new NodeMcu

PostPosted: Thu Aug 04, 2016 4:25 pm
by MarinosK
Hello,

I just bought two Lolin NodeMcu V3s 12E- they were both preloaded with firmware so I just logged in to one of the two using explorer (after having installed the necessary drivers). I tried - with no success - to flash a new firmware to the other. After a lot of online search and all sorts of different tricks I still fail to boot to the devkit. More or less I did the following:

- prepared the nodemcu for flashing (first pressed reset then flash, then released reset and then flash)
- downloaded a couple of different firmwares from [1] (both master and dev, float and integer)
- used esptool.py to flash it - I tried different settings, but I think the correct ones (judging by the configuration of the working one) should be the following: esptool.py --port PORT write_flash -fm dio -fs 8m 0x00000 FIRMWARE
- then tried to login with esplorer using all available baud rates

in all cases it failed to synchronise.. it would post a lot of garbage and from time to time the well-known "Can't autodetect firmware, because proper answer not received (may be unknown firmware)" error message.

I noticed that in the working nodemcu the firmware installed is the 1.3.0.2 with the 1.3 SDK, mode is 'dio' and size is '8m (512 + 512)'. I am really new to nodemcu, I have a hunch that if I could install this exact version the problem could be solved but I can't find it anywhere and currently I can't compile from source - I'm having difficulties compiling one of the dependencies.

any ideas/advices/solutions would be very appreciated..

thanks

[1] -> http://nodemcu.readthedocs.io/en/dev/en ... ld-service

Re: problem flashing new NodeMcu

PostPosted: Fri Aug 05, 2016 12:16 pm
by devsaurus
Did you try the instructions given in http://nodemcu.readthedocs.io/en/dev/en ... g-firmware?

Re: problem flashing new NodeMcu

PostPosted: Fri Aug 05, 2016 4:25 pm
by vcch
I had the same issue. Appears that when i reduce the number of modules, it works. Probably a question of size ?

Re: problem flashing new NodeMcu

PostPosted: Fri Aug 05, 2016 4:46 pm
by MarinosK
I did erased the flash before each attempt to re-install, yet I didn't try to install the init data only. In the link is says that erasing the flash alone will suffice, but I'll try the other method just in case and report.

re the modules - what modules do you have in the working version? I only tried with the ones selected by default.