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
1 回答
以下是您可以尝试的一些事项 .
Completely erase the flash 例如
Then flash your custom firmware again 例如
Try a different flash mode. 例如dio,qio ......
Try different baud rates 例如
115200
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.
注意:确保将
/dev/ttyUSB0
替换为您的COM端口