NodeMCU-ESP8266+flash_download_tool_3.9.7 烧录

发布于:2024-09-18 ⋅ 阅读:(42) ⋅ 点赞:(0)

USB-TTL 接 NodeMCU的RXD0, TXD0, GND
在这里插入图片描述

例程hello_world:

在这里插入图片描述

Eclipse编译信息:

python /d/ESP/ESP8266_RTOS_SDK/ESP8266_RTOS_SDK/components/esptool_py/esptool/esptool.py --chip esp8266 --port COM6 --baud 115200 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size 2MB 0x0 /e/eclipse-cpp/eclipse-workspace/ESP8266_RTOS_SDK/examples/get-started/hello_world/build/bootloader/bootloader.bin 0x10000 /e/eclipse-cpp/eclipse-workspace/ESP8266_RTOS_SDK/examples/get-started/hello_world/build/hello-world.bin 0x8000 /e/eclipse-cpp/eclipse-workspace/ESP8266_RTOS_SDK/examples/get-started/hello_world/build/partitions_singleapp.bin

Eclipse中烧录过程:

Writing at 0x00000000... (100 %)
Wrote 11088 bytes (7436 compressed) at 0x00000000 in 0.7 seconds (effective 135.2 kbit/s)...
Hash of data verified.
Compressed 132144 bytes to 83122...

Writing at 0x00010000... (16 %)
Writing at 0x00014000... (33 %)
Writing at 0x00018000... (50 %)
Writing at 0x0001c000... (66 %)
Writing at 0x00020000... (83 %)
Writing at 0x00024000... (100 %)
Wrote 132144 bytes (83122 compressed) at 0x00010000 in 7.3 seconds (effective 144.6 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 83...

Writing at 0x00008000... (100 %)
Wrote 3072 bytes (83 compressed) at 0x00008000 in 0.0 seconds (effective 1891.8 kbit/s)...
Hash of data verified.
使用flash_download_tool_3.9.7烧录

板子用USB供电后,拉低GPIO0,拉低RST,松开RST,松开GPIO,这样ESP8266进入UART烧录模式,点击“START”烧录即可。
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

烧录完成后,记得RST下或者重新上电后,设备才会正常运行。