ESP8622 with NodeMCU firmware starts blinking after flashing new version of firmware (old builds are working)

后端 未结 4 1995
情话喂你
情话喂你 2021-01-14 10:05

Yesterday i tried to generate new firmware bin from nodemcu-build.com and after flashing with esptool.py, my esp started blinking (blue diode on esp chip) and sending out (t

4条回答
  •  再見小時候
    2021-01-14 10:45

    I'm quite certain you're missing two points explained in the NodeMCU flashing docs:

    • esptool.py write_flash options
    • flashing the correct Espressif init data

    Assuming you've got a 4MB device such as ESP-12E / WeMos D1 mini / NodeMCU devkit v2 (comparison) the write_flash options are -fm dio -fs 32m.

    You're likely upgrading from an older NodeMCU version. Therefore, you need to flash esp_init_data_default.bin to the right memory address.

    Hence, the full flash command should be something like that:

    esptool.py --port /dev/cu.wchusbserialfa130 write_flash -fm dio -fs 32m 0x00000 nodemcu-master-13-modules-2016-04-09-12-28-55-float.bin 0x3fc000 esp_init_data_default.bin

    Update 2016-10-20

    Thanks to a fix in the firmware you won't have to provide the init data yourself anymore, the firmware does it automatically if necessary. Has been available in the dev branch for a few days and will also be on master in early December 2016.

提交回复
热议问题