前言:
下述均为USB TYPEC 数据线正常的情况下的报错,如果数据线或串口有问题
原因1:无法连接到ESP32:串行数据流停止:可能存在串行噪音或损坏
解决方法:ESP32电路板是否供电?电压是否正常?给电路板重新上电。
Sketch uses 297485 bytes (22%) of program storage space. Maximum is 1310720 bytes.
Global variables use 20352 bytes (6%) of dynamic memory, leaving 307328 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.6
Serial port COM9
Connecting…
A fatal error occurred: Failed to connect to ESP32: Serial data stream stopped: Possible serial noise or corruption.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
Failed uploading: uploading error: exit status 2
Sketch 使用 297485 字