Current Lua downloadable firmware will be posted here

User avatar
By ChrisSparks
#52962
ivdok wrote:So, what's the deal? How do I fix it? And if I can't, what's the latest working build for this board?


esptool.py --port /dev/ttyUSB1 write_flash -fs 32m -fm dio 0x3fc000 esp_init_data_default.bin

That is also what I did.
User avatar
By tnl
#52965 Hi, I too have trouble. I have a V3 NodeMcu devboard.

Trial A {
I started with esptool command to erase_flash.
Then I issued a write_flash with only a cloud-built image (per Running esptool.py instructions).
}
Doing this would yield the nonstopflickering LED upon reset.

Trial B {
When I erased_flash but then write_flash with the cloud-built image and then also offset the esp_init_data_default.bin in the same command it resets fine but serial connection was unable to.
}

ChrisSparks wrote:
ivdok wrote:So, what's the deal? How do I fix it? And if I can't, what's the latest working build for this board?


esptool.py --port /dev/ttyUSB1 write_flash -fs 32m -fm dio 0x3fc000 esp_init_data_default.bin

That is also what I did.


Interesting fix! I repeat Trial A, and then issuing this offset esp_init_data_default.bin as a separate command seems to have made it work for me, but that is not without some initial weirdness from ESPlorer:

Code: Select allPORT OPEN 9600

Communication with MCU...
Got answer! AutoDetect firmware...
Communication with MCU established.
Can't autodetect firmware, because proper answer not received (may be unknown firmware).
Please, reset module or continue.
スoowuッou}ッュ溿$nルエ`,l�リl`<l,�lb<l臧�C�jG�ョホホll└汕ニnン褐)・@�� �
PORT CLOSED

PORT OPEN 9600

Communication with MCU...
Got answer! AutoDetect firmware...
Communication with MCU established.
Can't autodetect firmware, because proper answer not received (may be unknown firmware).
Please, reset module or continue.
�oowuッou}ッュ溿=node.heap()
> =node.heap()
45960
> =node.heap()
45960
> =node.info()
1   5   4   1059827   1458400   4096   2   40000000
> =node.flashid()
1458400
>
PORT CLOSED

PORT OPEN 9600

Communication with MCU...
Got answer! AutoDetect firmware...
Communication with MCU established.
NodeMCU firmware detected.
=node.heap()
45960
>
PORT CLOSED


EDIT: I set baud in ESPlorer to 115200 and no longer see garbled text!
User avatar
By Robert1968
#57838 Hi,

I have also continuously blinking blue led and garbage on serial terminal when I try to upgrade to latest NODEMCU cloud build. (1.5.4.1-master_20161001)

I have ESP-01 and no problem with earlier version i.e. Lua 5.1.4 on SDK 1.4.0

I upgraded ESP-01 in this way:
Code: Select allpython esptool.py --port /dev/ttyUSB0 erase_flash
python esptool.py --port /dev/ttyUSB0 write_flash -fm qio  -fs 4m 0x00000 ./nodemcu-master-9-modules-2016-11-08-09-33-18-float.bin
python esptool.py --port /dev/ttyUSB0 write_flash -fm qio -fs 4m 0x7c000 esp_init_data_default.bin


But after upgrading to new SDK 1.5.4.1 then I have blinking led and garbage on serial terminal.

After this I downgraded back to eralier version and no problem with serial terminal.

Code: Select all 
PORT OPEN 9600
Communication with MCU..Got answer! Communication with MCU established.
AutoDetect firmware...

Can't autodetect firmware, because proper answer not received (may be unknown firmware).
Please, reset module or continue.
#Y6��Y��-h����p����2�p4�I�#!P

NodeMCU custom build by frightanic.com
   branch: master
   commit: c8037568571edb5c568c2f8231e4f8ce0683b883
   SSL: false
   modules: dht,file,gpio,net,node,tmr,uart,wifi
 build    built on: 2016-03-15 21:37
 powered by Lua 5.1.4 on SDK 1.4.0



ESP-01 upgrade not works in the upgrade way suggested by ChrisSparks ??

Any suggestion?

Best Regards,
Robert
User avatar
By Robert1968
#57848 Hi,

I have ESP-01 and having blue led blinking and garbage from serial term, after Flashing new Nodemcu.
But the solution is:
sudo python esptool.py --port /dev/ttyUSB0 write_flash  -fm qio  -fs 8m 0x00000 ./nodemcu-master-9-modules-2016-11-08-09-33-18-integer.bin 0xfc000 esp_init_data_default.bin

Dont forget to change baud rate to 115200!!!

Thanks to dark_skeleton http://www.esp8266.com/viewtopic.php?f=23&t=11233&start=4