Skip to content
jollen chen edited this page May 29, 2018 · 10 revisions

NodeMCU 開發環境

Firmware Update: esptool

Flash Firmware

NodeMCU firmware:

esptool.py --port /dev/cu.SLAB_USBtoUART write_flash -fm dio -fs 32m 0x00000 nodemcu-master-8-modules-2018-05-29-06-53-15-float.bin

General firmware:

esptool.py -p /dev/cu.SLAB_USBtoUART --baud 115200 write_flash -fs 32m -fm dio -ff 40m 0x20000 ./0x20000.bin 0x00000 ./0x00000.bin

Flash Bootloader & Factory Reset

# Wio Link Firmware (74880 BPS)
#esptool.py --port /dev/cu.SLAB_USBtoUART --baud 115200 write_flash -ff 40m -fm qio -fs=32m-c1 0x3fc000 esp_init_data_default.bin 0x3fe000 blank.bin 0x0000 boot_v1.4\(b1\).bin 0x1000 user1.bin 0x101000 user2.bin

# NodeMCU on ESP8266 (115200 BPS)
esptool.py --port /dev/cu.SLAB_USBtoUART --baud 115200 write_flash -ff 40m -fm dio -fs 32m 0x00000 bin/0x00000.bin 0x10000 bin/0x10000.bin
esptool.py --port /dev/cu.SLAB_USBtoUART --baud 115200 write_flash -ff 40m -fm dio -fs 32m 0x3fc000 esp_init_data_default.bin 0x3fe000 blank.bin

# NodeMCU on Wio Link (115200 BPS)
#esptool.py --port /dev/cu.SLAB_USBtoUART --baud 576000 write_flash -ff 40m -fm qio -fs 32m 0x00000 0x00000.bin 0x10000 0x10000.bin
#esptool.py --port /dev/cu.SLAB_USBtoUART --baud 576000 write_flash -ff 40m -fm qio -fs 32m-c1 0x3fc000 esp_init_data_default.bin 0x3fe000 blank.bin
Clone this wiki locally