首页 文章

NodeMCU - ESPlorer无法使用自定义构建ESP8266

提问于
浏览
2

我有ESP-01,ESP8266,8Mb我能够闪回 nodemcu_float_0.9.5 确定,然后在波特9600上使用ESPlorer . 响应好,我能够连接并加载innit文件 .

我尝试使用自定义nodemcu固件构建器和最新的闪存工具,重复与上面步骤相同的闪存过程,闪存成功但是ESPlorer无法 Build 连接 - 波特率不正确的行为 . (随机符号填充)窗口)此时我已经尝试了所有的波特率和所有固件类型(主,开发和冻结) .

任何建议?

1 回答

  • 1

    以下是您可以尝试的一些事项 .

    Completely erase the flash 例如

    esptool.py --port /dev/ttyUSB0 erase_flash
    

    Then flash your custom firmware again 例如

    esptool.py --port /dev/ttyUSB0 \
    write_flash -fm dio 0x00000 nodemcu-master-18-modules-2017-03-27-08-03-59-float.bin
    

    Try a different flash mode. 例如dio,qio ......

    esptool.py --port /dev/ttyUSB0 \
    write_flash -fm qio 0x00000 nodemcu-master-18-modules-2017-03-27-08-03-59-float.bin
    

    Try different baud rates 例如 115200

    I can't remember ever having used a baud rate of 9600 on NodeMCU.  
    For my ESP8266 modules a baud rate of 115200 always worked.
    

    Some people have reported that if you were using the float firmware, flashing the integer version of the firmware helped getting rid of a corrupt init.lua file.

    esptool.py --port /dev/ttyUSB0 \
    write_flash -fm dio 0x00000 nodemcu-master-18-modules-2017-03-27-08-03-59-integer.bin
    

    注意:确保将 /dev/ttyUSB0 替换为您的COM端口

相关问题