Chat about current Lua tools and IDEs

User avatar
By SpencerH
#53531 I've just got started with nodemcu and I keep having issues flashing the firmware to the board, the HiLetgo nodemcu dev board. I'm using the firmware from the nodemcu builder and I've used a few combinations of the optional modules.

I've tried nearly every baud rate using esptool.py and modemcu flasher(on windows 10) and and the led keeps flashing rapidly outputing error code on 74880 baud.

Code: Select allload 0x40100000, len 23988, room 16
tail 4
chksum 0x24
load 0x3ffe8000, len 2176, room 4
tail 12
chksum 0x22
ho 0 tail 12 room 4
load 0x3ffe8880, len 8, room 12
tail 8
chksum 0xc1
csum 0xc1
rf_cal[0] !=0x05,is 0x00


Interestingly if I flash the default AT firmware it seems to work fine. I'm not sure what else to try. Since the default firmware flashes fine that tells me that I'm doing some thing right.

Any one have any ideas?
User avatar
By requiem
#53548 I have the same error.

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

load 0x40100000, len 24056, room 16
tail 8
chksum 0xeb
load 0x3ffe8000, len 2248, room 0
tail 8
chksum 0x40
load 0x3ffe88c8, len 8, room 0
tail 8
chksum 0xcc
csum 0xcc
rf_cal[0] !=0x05,is 0x00


AI-v0.9.5.0 AT Firmware.bin works fine
nodemcu_integer_0.9.5_20150318.bin works fine


ESP8266Flasher
nodemcu-master-8-modules-2016-08-21-11-21-20-integer.bin
modules: file, gpio, http, net, node, tmr, uart, wifi.
User avatar
By requiem
#53551 Reply to my last post:

I tried again, now its working. :D

http://nodemcu.readthedocs.io/en/latest ... g-firmware

ESP8266Flasher + 2 file
nodemcu-master-8-modules-2016-08-21-11-21-20-integer.bin 0x00000
esp_init_data_default.bin 0x3FC000

Last time I used wrong adress for the init_data_default.bin
User avatar
By SpencerH
#53574 Beeblebox on reddit figured out what I was doing wrong.

I had the same problem and it was because I needed to upload a new esp_init_data_default.bin in conjunction with the new firmware.
The command I used successfully was: esptool.py --port /dev/tty.SLAB_USBtoUART --baud 460800 write_flash --flash_size=32m -fm dio 0x0 bin/nodemcu_integer_master_20160812-1854.bin 0x3fc000 cache/esp_iot_sdk_v1.5.4.1_patch_20160704/esp_init_data_default.bin
You should download the Espressif SDK (e.g. patch 1.5.4.1) and extract the esp_init_data_default.bin from the zip file.
I figured it all out after careful reading of the NodeMCU docs on upgrading the firmware.


If your using nodeMCU flasher you can use INTERNAL://DEFAULT instead of pulling the file from the sdk.