problem flashing new NodeMcu
Posted: Thu Aug 04, 2016 4:25 pm
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
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