Proper way to upgrade firmware from 0.9.x to 1.5.1
Posted: Sun Jun 26, 2016 3:43 am
Hello everyone, i have a nodemcu 0.9 dev board that came to me with AT firmware, i was sucess to change the firmware from AT to nodemcu 0.9.5. At this point everything works almost perfect (with all the well known issues that the platform have) but a couple of days ago i was wondering how to upgrade my firmware to the recent version and see if many of the bugs present in the 0.9.5 version could disapear. I follow the guide from marcelstoer through docker framework (thank you very much for all the effort) https://hub.docker.com/r/marcelstoer/nodemcu-build/ again at this point a can build a sucessful bin archive to flash via esptool on a Macbook, but the problems just begin here. When i flash the firmware no matter if i define flash size (-fs), baud rate (-b) in esptool, and define -ff, always i get the same error when the module restart:
Just when i edit the baud rate from 115200 to 9600 in the user_config.h file in the app/include folder from the firmware
from this:
to this
the error message gone every restart , but now
even flashing the esp_init_data_default.bin to the adress 0x7c000 or 0x3fc000 from the esp_iot_sdk_v1.4.0_15_09_18 SDK, and no error message when the module restart, all my lua scripts have a bad behaviour that ran perfect on the past 0.9.5. firmware.
I´m stuck at this point.
I really think that someone with the good knowledge must write a ultimate guide to sucessful flash of a new (master or dev) firmware into the esp (1, 2, 3.......12 or 12E) that way more people arround the globes can give something, even small, the the maker, hack and developer comunity.
Thanks in advance
Code: Select all
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x40100000, len 27528, room 16
tail 8
chksum 0x6d
load 0x3ffe8000, len 2184, room 0
tail 8
chksum 0xca
load 0x3ffe8888, len 8, room 0
tail 8
chksum 0x91
csum 0x91
don't use rtc mem data
;l???
Just when i edit the baud rate from 115200 to 9600 in the user_config.h file in the app/include folder from the firmware
from this:
Code: Select all
#define BIT_RATE_DEFAULT BIT_RATE_115200
to this
Code: Select all
#define BIT_RATE_DEFAULT BIT_RATE_9600
the error message gone every restart , but now
even flashing the esp_init_data_default.bin to the adress 0x7c000 or 0x3fc000 from the esp_iot_sdk_v1.4.0_15_09_18 SDK, and no error message when the module restart, all my lua scripts have a bad behaviour that ran perfect on the past 0.9.5. firmware.
I´m stuck at this point.
I really think that someone with the good knowledge must write a ultimate guide to sucessful flash of a new (master or dev) firmware into the esp (1, 2, 3.......12 or 12E) that way more people arround the globes can give something, even small, the the maker, hack and developer comunity.
Thanks in advance