该文将作为ESP32-S3下载报错记录,将持续更新
ARDUINO-IDE:
Sketch uses 289393 bytes (22%) of program storage space. Maximum is 1310720 bytes.
Global variables use 18408 bytes (5%) of dynamic memory, leaving 309272 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.6
Serial port COM11
Could not open COM11, the port doesn’t exist
原因:串口被占用
解决:关闭其他打开相同串口的软件
串口被占用,关闭其他软件相同端口号的软件
A fatal error occurred: Could not open COM11, the port doesn’t exist
Failed uploading: uploading error: exit status 2
No serial data received
A fatal error occurred: Failed to connect to ESP32-S3: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
Failed uploading: uploading error: exit status 2
Cannot configure port, something went wrong. Original message: PermissionError(13, ’ 豸 ʶ ’, None, 22)
和下述platformio问题相同,不同编译器报错不同。
原因:IO与EN接反
解决:调整连接顺序后下载正常
这个有疑惑性,测试几次,都是在90%左右停止下载,网上没搜索到相关信息,在此做个记录。
A serial exception error occurred: Cannot configure port, something went wrong. Original message: PermissionError(13, ’ 豸 ʶ ’, None, 22)
Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
Failed uploading: uploading error: exit status 1
Possible serial noise or corruption.
A fatal error occurred: Failed to connect to ESP32-S3: Invalid head of packet (0x45): Possible serial noise or corruption.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
*** [upload] Error 2
platformio ESP32 S3下载报错
指定不存在的设备
原因:IO与EN接反
解决:调整连接顺序后下载正常
这个有疑惑性,测试几次,都是在90%左右停止下载,网上没搜索到相关信息,在此做个记录。
相关信息:
Writing at 0x000e7f2b… (87 %)
Writing at 0x000efdef… (90 %)
A serial exception error occurred: Cannot configure port, something went wrong. Original message: OSError(22, ‘指定不存在的设备。’, None, 433)
Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
*** [upload] Error 1
== [FAILED] Took 20.03 seconds
- 终端进程“C:\Users\Administrator.platformio\penv\Scripts\platformio.exe ‘run’, ‘–target’, ‘upload’”已终止,退出代码: 1。
- 终端将被任务重用,按任意键关闭。