-->
Page 1 of 2

DevKit can be flashed with old firmware but not new firmware

PostPosted: Tue Sep 13, 2016 2:17 am
by equant
I used the custom builder to create a nodemcu binary (nodemcu-master-7-modules-2016-09-01-04-30-49-float.bin) keeping all of the default modules and adding none. Using esptool.py, flash_write completes without error. I'm using an ESP12E DevKit. I've tried a variety of --flash_mode and --flash_size, but when I restart the DevKit I get gibberish at 9600 and 115200.

74880 Baud shows the following...

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

load 0x40100000, len 25576, room 16
tail 8
chksum 0x1f
load 0x3ffe8000, len 2184, room 0
tail 8
chksum 0x0f
load 0x3ffe8888, len 8, room 0
tail 8
chksum 0xa4
csum 0xa4
rf_cal[0] !=0x05,is 0x00


However I can flash an earlier binary: nodemcu_float_0.9.6-dev_20150704.bin which I found floating around on the web somewhere, and it works just fine. Here is the successful command...

Code: Select allesptool.py --port /dev/ttyUSB0  write_flash 0x00000 nodemcu_float_0.9.6-dev_20150704.bin


I can also flash v1111ATFirmware.bin successfully using...

esptool.py --port /dev/ttyUSB2 write_flash --flash_mode dio --flash_size 32m 0x0 v1111ATFirmware.bin

Any ideas on what I do next to figure out how to flash the newer nodemcu binary correctly? The older one doesn't have tmr.create(), which I'm going to need. Thanks.

Re: DevKit can be flashed with old firmware but not new firm

PostPosted: Tue Sep 13, 2016 5:02 pm
by marcelstoer
Those binaries are ancient. Build and flash a current version first.

viewtopic.php?p=54705#p54705

Re: DevKit can be flashed with old firmware but not new firm

PostPosted: Wed Sep 14, 2016 12:28 am
by equant
marcelstoer wrote:Those binaries are ancient. Build and flash a current version first.

viewtopic.php?p=54705#p54705


Sorry, I screwed up my post a bit. The binary that doesn't work is quite recent: nodemcu_float_0.9.6-dev_20150704.bin. I edited my original post, but it's awaiting moderation.

Re: DevKit can be flashed with old firmware but not new firm

PostPosted: Thu Sep 15, 2016 12:05 am
by marcelstoer
equant wrote:The binary that doesn't work is quite recent: nodemcu_float_0.9.6-dev_20150704.bin.


No, 0.9.x is outdated. We only support recent binaries from either master or dev branch. Those would give you 1.5.4-something.
Due to the ever-growing number of modules available within NodeMCU, pre-built binaries are no longer made available. Use the automated custom firmware build service to get the specific firmware configuration you need, or consult the documentation for details on firmware building.