环境
- Win10
- ESP32-S3-WROOM-1
烧录环境准备
准备固件
ESP32-S3
下载Bin格式文件
准备esptool.py
烧录固件
连接ESP32
连接USB口
执行烧录脚本
python esptool.py --chip esp32s3 --port COM10 erase_flash
python esptool.py --chip esp32s3 --port COM10 write_flash -z 0x0000 GENERIC_S3-20220618-v1.19.1.bin
按照具体环境修改对应参数:
端口号:COM10
固件名:GENERIC_S3-20220618-v1.19.1.bin
脚本执行过程
(D:\_ENV\conda_env\Pro) E:\_Project\github_clone\esptool>python esptool.py --chip esp32s3 --port COM10 erase_flash
esptool.py v4.6-dev
Serial port COM10
Connecting...
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: f4:12:fa:e0:b5:80
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 2.8s
Hard resetting via RTS pin...
(D:\_ENV\conda_env\Pro) E:\_Project\github_clone\esptool>python esptool.py --chip esp32s3 --port COM10 write_flash -z 0x0000 GENERIC_S3-20220618-v1.19.1.bin
esptool.py v4.6-dev
Serial port COM10
Connecting...
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: f4:12:fa:e0:b5:80
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00157fff...
Compressed 1406576 bytes to 928185...
Wrote 1406576 bytes (928185 compressed) at 0x00000000 in 5.7 seconds (effective 1965.1 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
测试
在Thonny配置解释器为对应端口号