出现Timed out waiting for packet header时不要慌张,只要断开板子和数据线的连接,然后一直按住板子上的FLASH按钮(不要松开)重新插上USB线,下载程序,直到出现“Connecting....”时松开FLASH按钮。搬运于此处:https://github.com/espressif/esptool/issues/213
It does seem likely that the RTC alarm is starting and is not being disabled when esptool.py resets the board, so when it fires 10 seconds into flashing the whole thing blows up. This is a bug we should fix, but I think you can un-brick your module right now as well: - Disconnect the USB cable, depowering the NodeMCU board.
- Hold down the FLASH button while keeping the board unpowered.
- Plug in USB power while continuing to hold down the FLASH button.
- Run esptool.py while continuing to hold FLASH.
- Once esptool.py starts the operation, you can release FLASH.
Holding FLASH down from initial power-on keeps the ESP8266 in bootloader mode, so it never runs the program which sets the RTC timer. 给我和新手们的帮助。
|