这是为ESP32S3设备编译的robOS固件包。
robOS.bin- 主应用程序二进制文件bootloader.bin- ESP32S3引导加载程序partition-table.bin- 分区表flash_args- esptool刷写参数flash_standalone.sh- 独立刷写脚本build_info.txt- 构建信息和详细说明
# 赋予执行权限
chmod +x flash_standalone.sh
# 自动检测端口并刷写
./flash_standalone.sh
# 或指定端口
./flash_standalone.sh -p /dev/ttyUSB0
# 擦除后刷写并启动监视器
./flash_standalone.sh --erase --monitor-
安装esptool(如果尚未安装):
pip install esptool
-
连接ESP32S3设备并刷写:
esptool.py --chip esp32s3 --port /dev/ttyUSB0 --baud 460800 write_flash @flash_args
- Linux:
/dev/ttyUSB0,/dev/ttyACM0 - macOS:
/dev/cu.usbserial-*,/dev/cu.usbmodem-* - Windows:
COM3,COM4, 等
刷写完成后,你可以监视串口输出:
esptool.py --chip esp32s3 --port /dev/ttyUSB0 --baud 115200 monitor或使用脚本的监视器选项:
./flash_standalone.sh --monitor如果刷写失败,请尝试:
- 检查连接: 确保ESP32S3正确连接到计算机
- 更换USB线: 使用数据传输线,而非仅充电线
- 降低波特率: 使用
-b 115200参数 - 擦除flash: 使用
--erase选项 - 进入下载模式: 按住BOOT按钮,然后按RESET按钮
- Python 3.6+
- esptool 包
- USB转串口驱动(如需要)
更多详细信息请参考项目主页: https://github.com/thomas-hiddenpeak/robOS