Hello guys! First time poster here, so i've started using esp32 chips for my projects and they worked fine until mabye 2 days ago, where i would get this constant message error.
A fatal error occurred: Timed out waiting for packet content
Failed uploading: uploading error: exit status 2
which is kinda strange because ive held down the BOOT button the entire time it was trying to upload. The error above is taken by the output messages, here is the full thing:
Sketch uses 207830 bytes (15%) of program storage space. Maximum is 1310720 bytes.
Global variables use 13448 bytes (4%) of dynamic memory, leaving 314232 bytes for local variables. Maximum is 327680 bytes.
esptool.py v3.0-dev
Serial port COM6
Connecting........_____...
Chip is ESP32-D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: ec:62:60:9d:73:f4
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Warning: Could not auto-detect Flash size (FlashID=0xffffff, SizeID=0xff), defaulting to 4MB
Compressed 8192 bytes to 47...
A fatal error occurred: Timed out waiting for packet content
Failed uploading: uploading error: exit status 2
I also don't think its my code because everything seems to be working fine. I shoud also mention that i'm using an IC2 lcd screen (Had trouble getting it to work so i just copied someone's code) and that all my libreries and arduino IDE are up to date. Would anyone be willing to help me?
Thanks in advance!
-Junior