-->
Page 1 of 1

Problem with nodemcu firwmare

PostPosted: Sun Apr 16, 2017 5:51 am
by marus
Hello i'm trying to flash the nodemcu firmware on my esp07.
I've connected the board in this way:
Reset pin with a resistor of 10k to vcc
ch_pd -> vcc
vcc -> vcc (3.3v)
gnd -> gnd
gpio15 -> gnd
gpio2 -> vcc
gpio0 -> gnd
and i was able to update the nodemcu_float_0.9.6-dev_20150704.bin firmware successfully with nodemcu firmware programmer sw

After I've removed the gpio2 and gpio0 connection, resetting the board and opening Esplorer (9600bps) i see this:
NodeMCU 0.9.6 build 20150704 powered by Lua 5.1.4
lua: cannot open init.lua
>
until now all OK

i've done this exact process with another firmware created with nodemcu-build
Selected dev and adding only adc module to the defaults modules
the operation of firmware updating with nodemcu firmware programmin finish as first case,
so all seems ok but on esplorer software i read(at 74880baud and the blue led remain on):

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

load 0x40100000, len 26652, room 16
tail 12
chksum 0xfa
ho 0 tail 12 room 4
load 0x3ffe8000, len 2212, room 12
tail 8
chksum 0x2e
load 0x3ffe88a4, len 136, room 0
tail 8
chksum 0x1b
csum 0x1b
sec 3ff error
sec 3ff error
sec 3ff error
sec 3ff error
sec 3ff error

Do you have any suggestion how to resolve this?
Thanks and sorry for my poor english

Re: Problem with nodemcu firwmare

PostPosted: Mon Apr 17, 2017 8:04 am
by marcelstoer
I don't know about GPIO 2 & 15 but this is definitely correct for flashing:

ch_pd -> vcc
vcc -> vcc
gnd -> gnd
gpio0 -> gnd

Furthermore, you should set the baud rate to 115'200 for current NodeMCU versions.

I don't know what kind of application "nodemcu firmware programmer sw" is but I assume it's the outdated NodeMCU Flasher? Did you try with NodeMCU PyFlasher or esptool.py as per https://nodemcu.readthedocs.io/en/latest/en/flash/?