Current Lua downloadable firmware will be posted here

User avatar
By Hassan Ali
#49413 Hi everybody. I am using LoLin nodemcu with nodemcu firmware v.0.9.6 and I've been trying to update the firmware to v.1.5.1 but with no avail.

It was mentioned here
https://nodemcu.readthedocs.io/en/master/en/flash/
that I should flash also a file named esp_init_data_default.bin to some address depending on the module I'm using (whether it is esp-01 or esp-12 for example).

The problem now is that I followed the instruction on this page and used the nodemcu flasher, but whenever I connect it to ESPlorer, all what I get is the uart random gibberish. What should I do?

Thanks in advance.
User avatar
By Ruchir
#49478 I am also having the same issue. I have ESP12E devkit and I build a new image using http://nodemcu-build.com/index.php.

Then I use ESP Flasher on windows to flash it. Already replaced old esp_init_data_default.bin with the new one. Tried by flashing the new file with firmware as well to 3FC000 but same issue/.

When I flash the new firmware and use ESplorer then I also see gibberish characters. If I set BAUD rate to 74800 then I see legible characters like:

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 27352, room 16
tail 8
chksum 0x71
load 0x3ffe8000, len 2224, room 0
tail 0
chksum 0xec
load 0x3ffe88b0, len 8, room 8
tail 0
chksum 0xb8
csum 0xb8

Any help would be appreciated. All I am looking for ADC and HTTP package. If someone has these in .96 that will also do.

Regards,
Ruchir
User avatar
By marcelstoer
#49571 Starting from 1.5.1 NodeMCU has got auto-baud detection built in: http://nodemcu.readthedocs.io/en/dev/en/modules/uart/.

Second, if you ever get a chance to enter something at the Lua prompt it would be interesting what node.bootreason() returns (sounds like you never even see the prompt, though): http://nodemcu.readthedocs.io/en/dev/en ... bootreason. "cause:2" already confirms some kind of reset.

Lastly, have you ever tried to flash using esptool, and the correct parameters, without the esp_init_data_default.bin? http://nodemcu.readthedocs.io/en/dev/en/flash/#esptool
User avatar
By ArunmozhiRajavel
#49585 @HassanAli Have you tried changing the baud rate in Esplorer to 115200 you'll start getting values of the parameter since ESP's default baud rate is 115200.

Then change the value to 9600 from the drop down so that the baud rate is now set to this value.

Reference : https://nodemcu.readthedocs.io/en/dev/en/upload/