-->
Page 1 of 2

Problem with latest nodemcu-build.com firmwares?

PostPosted: Wed Oct 26, 2016 2:29 am
by jeroenh
I have a project that I'm currently trying to upgrade (with a wemos.cc D1 mini board). Initially I used a firmware from January, and am now trying to upgrade it, I wanted to add additional modules, but even the same set of modules now fails.

Code: Select all% python esptool.py -p /dev/tty.wchusbserial1420 erase_flash
esptool.py v1.2-dev
Connecting...
Running Cesanta flasher stub...
Erasing flash (this may take a while)...
Erase took 8.8 seconds
% python esptool.py -p /dev/tty.wchusbserial1420 --baud 115200 write_flash 0x00000 nodemcu-master-11-modules-2016-01-20-20-42-38-float.bin
esptool.py v1.2-dev
Connecting...
Auto-detected Flash size: 32m
Running Cesanta flasher stub...
Flash params set to 0x0040
Writing 421888 @ 0x0... 421888 (100 %)
Wrote 421888 bytes at 0x0 in 36.5 seconds (92.6 kbit/s)...
Leaving...


this works:
Code: Select allNodeMCU custom build by frightanic.com
        branch: master
        commit: c8037568571edb5c568c2f8231e4f8ce0683b883
        SSL: false
        modules: node,file,gpio,wifi,net,tmr,uart,ws2812,cjson,rtctime,sntp
 build  built on: 2016-01-20 20:42
 powered by Lua 5.1.4 on SDK 1.4.0
lua: cannot open init.lua


but if I then do:
Code: Select all% python esptool.py -p /dev/tty.wchusbserial1420 erase_flash
esptool.py v1.2-dev
Connecting...
Running Cesanta flasher stub...
Erasing flash (this may take a while)...
Erase took 8.8 seconds
% python esptool.py -p /dev/tty.wchusbserial1420 --baud 115200 write_flash 0x00000 nodemcu-master-11-modules-2016-10-24-18-20-12-float.bin
esptool.py v1.2-dev
Connecting...
Auto-detected Flash size: 32m
Running Cesanta flasher stub...
Flash params set to 0x0040
Writing 413696 @ 0x0... 413696 (100 %)
Wrote 413696 bytes at 0x0 in 35.7 seconds (92.6 kbit/s)...
Leaving...


I get gibberish and a flashing blue light on the chip. Is it something I'm doing wrong or did something change?

Re: Problem with latest nodemcu-build.com firmwares?

PostPosted: Thu Oct 27, 2016 2:09 pm
by marcelstoer
You also need to flash the esp init data to the correct memory address as per http://nodemcu.readthedocs.io/en/master ... g-firmware.

See here as well: http://stackoverflow.com/a/38793023/131929

Re: Problem with latest nodemcu-build.com firmwares?

PostPosted: Sat Oct 29, 2016 12:11 am
by KevinA
Is the nodemcu-build.com down? I've made two builds and never gotten an email.

Re: Problem with latest nodemcu-build.com firmwares?

PostPosted: Sat Oct 29, 2016 12:23 am
by marcelstoer
KevinA wrote:Is the nodemcu-build.com down? I've made two builds and never gotten an email.


No, it isn't. I haven't seen failed builds in quite a while, broken yes because people activate too many options (firmware too large) but not failed. Even if builds fail the system sends you an email.

However, I get a couple of "mail undeliverable" emails from the mail host every day because people enter phony email addresses or addresses with typos. Can't tell if yours is one of them. Make sure you also check your spam folder(s).