Current Lua downloadable firmware will be posted here

User avatar
By savitapio
#16957 I recently got NodeMCU v2 from seeedstudio.

plugged it to terminal, and it keep saying:
Code: Select allPlease run file.remove("user.lua") before first use.
Please run file.remove("user.lua") before first use.
...

all the time.
typed:
Code: Select allfile.remove("user.lua")

it answers:
Code: Select all+CSYSID:CHIP:A6415E;FLASH:1640EF;KEY:00000000;
OK
Please run file.remove("user.lua") before first use.
...


This is preinformation- if the actual NodeMCU board might be faulty?
Anyway found from the net that one should flash the newest firmware which i did:
Code: Select all% python esptool.py --port /dev/tty.SLAB_USBtoUART write_flash 0x00000 nodemcu-firmware/pre_build/latest/nodemcu_latest.bin

Connecting...
Erasing flash...
Writing at 0x00062000... (100 %)

Leaving...


After that I did not got any prompt from serial.
Boot sequence (at 74880 baud) gives out:

Code: Select allload 0x40100000, len 30452, room 16
tail 4
chksum 0xef
load 0x33333333, len 858993459, room 4


Nothing seems to help. I have tried to flash older firmwares (0.9.4 even 0.9.2)
but same output happens.

Also flashed blank&settings in as following:

Code: Select all% python esptool.py --port /dev/tty.SLAB_USBtoUART write_flash 0x7E000 nodemcu-firmware/bin/blank.bin
Connecting...
Erasing flash...
Writing at 0x0007ec00... (100 %)

Leaving...
% python esptool.py --port /dev/tty.SLAB_USBtoUART write_flash 0x7C000 nodemcu-firmware/bin/esp_init_data_default.bin
Connecting...
Erasing flash...
Writing at 0x0007c000... (100 %)

Leaving...


How can this be fixed, or did I managed to brick my board before any actual use :(
User avatar
By TerryE
#17069 Don't use the "latest". It is broken. Use 9.5 or even the 9.6dev builds which work.
User avatar
By savitapio
#17093 Nope :(

Flashing in any binary, ends up with the exactly same situation. Anyting that gets out is
that boot sequence i mentioned,
this one with 0.9.5/nodemcu_20150126.bin :

Code: Select all ets Jan  8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 28076, room 16
tail 12
chksum 0xef
ho 0 tail 12 room 4
load 0x33333333, len 858993459, room 12
User avatar
By savitapio
#17104 with 0.9.6/nodemcu_20150216.bin:

Code: Select allets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 30600, room 16
tail 8
chksum 0xef
load 0x33333333, len 858993459, room 0
flash read err, ets_unpack_flash_code
ets_main.c