要点:
1)Default baud rate (115200 baud) 既是烧录速度
2)UART0、UART1的波特率都同make monitor的74880
3)make flash时设置波特率,即实际使用的波特率
1. 波特率,默认115200,需27.8s
Writing at 0x00054000… (90 %)
Writing at 0x00058000… (95 %)
Writing at 0x0005c000… (100 %)
Wrote 503584 bytes (316086 compressed) at 0x00010000 in 27.8 seconds (effective 144.9 kbit/s)…
Hash of data verified.
Compressed 3072 bytes to 83…
//make monitor
ESP8266_RTOS_SDK\tools\idf_monitor.py:322: DeprecationWa
rning: distutils Version classes are deprecated. Use packaging.version instead.
if StrictVersion(serial.VERSION) < StrictVersion(‘3.3.0’):
— idf_monitor on COM6 74880 —
— Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H —
//退出make monitor, CTRL+]
2.波特率改为912600,需4.4s
Writing at 0x00054000… (90 %)
Writing at 0x00058000… (95 %)
Writing at 0x0005c000… (100 %)
Wrote 503584 bytes (316152 compressed) at 0x00010000 in 4.4 seconds (effective 910.6 kbit/s)…
Hash of data verified.
Compressed 3072 bytes to 83…
3.波特率改为2M,需3.8s
Writing at 0x00054000… (90 %)
Writing at 0x00058000… (95 %)
Writing at 0x0005c000… (100 %)
Wrote 503584 bytes (316158 compressed) at 0x00010000 in 3.8 seconds (effective 1056.4 kbit/s)…
Hash of data verified.
Compressed 3072 bytes to 83…
4. make flash时设置好波特率
make flash ESPBAUD=115200
make flash ESPBAUD=921600
make flash ESPBAUD=2000000
5.make flash时设置COM口
make flash ESPPORT=COM1