2017-10-06

使用 NodeMCU

Tools to flash nodemcu-lua or micropython firmware

1. ESP8266 Flasher (參考 ESP8266: Reflash Dance!)
2. Nodemcu Flasher
3. Flash download tools
4. esptool : command mode
5. NodeMCU pyflasher : Self-contained NodeMCU flasher with GUI based on esptool.py and wxPython

注意 SPI MODE 的選取 : flash memory >= 4MB 時點選 DIO, others : QIO
Reference 1. NodeMCU docs

To enable ESP8266 firmware flashing GPIO0 pin must be pulled low before the device is reset. Conversely, for a normal boot, GPIO0 must be pulled high or floating.
If you have a NodeMCU dev kit then you don't need to do anything, as the USB connection can pull GPIO0 low by asserting DTR and reset your board by asserting RTS.
If you have an ESP-01 or other device without built-in USB, you will need to enable flashing yourself by pulling GPIO0 low or pressing a "flash" switch, while powering up or resetting the module.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.