带有新版固件的ESP8622和NodeMCU固件开始闪烁

带有新版固件的ESP8622和NodeMCU固件开始闪烁

本文介绍了带有新版固件的ESP8622和NodeMCU固件开始闪烁(旧版本可用)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

昨天,我尝试从nodemcu-build.com生成新的固件bin,并用esptool.py闪烁后,我的esp开始闪烁(esp芯片上的蓝色二极管)并发出(低谷USB转换器)垃圾数据。我尝试使用模块组合生成构建,尝试刷新它们(二进制和浮点),并且它总是开始闪烁并发出垃圾。比我的同事尝试使用较旧的版本更完美,比将他送给我的较旧版本更完美,刷新之后,一切也都完美。因此,刷新工具或系统(在Mac和Linux上均经过测试)没有问题,而旧版本也没有问题。

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 (trough USB converter) garbage data. I tried to generate build with combination of modules, tried to flash them (binary and float) and it always start blinking and sending out garbage. Than my co-worker tried his older build and everything worked perfectly, than he send me his older build and after flashing everything works also perfectly. So there is no problem with flashing tool or system (tested on both mac and linux) and no problem with old builds. Any new build is failing for us.

我的闪烁命令:

任何人都知道哪里可能存在问题或我们做错了什么?

Anybody idea where is possible problem or what we doing wrong?

推荐答案

我敢肯定您会遗漏:


  • esptool.py write_flash 选项

  • 刷新正确的Espressif初始数据

假设您有一个4MB的设备,例如作为ESP-12E / WeMos D1 mini / NodeMCU devkit v2()是 -fm dio -fs 32m

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.

您可能。因此,需要将 esp_init_data_default.bin 刷新到正确的内存地址。

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

因此,完整的flash命令应像这样:

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

更新2016 -10-20

感谢固件的修复,您不再需要自己提供初始化数据,固件会在需要时自动执行。已经在 dev 分支中可用了几天,还将在2016年12月上旬在 master 上使用。

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.

这篇关于带有新版固件的ESP8622和NodeMCU固件开始闪烁(旧版本可用)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-29 06:34