Hi, ive just recently gotten into esp32 for a school project. The project i planned on making is a bluetooth controller. During my first code upload it worked, since it was kind of late i decided to sleep and continue the next day. The next day I decided to reupload the code as it was a habit of mine when i do projects like these. As i uploaded like normal for some reason it had an error which was "Failed uploading: uploading error: exit status 2". I was confused and did many diff solution form the web (change cable, hold the boot button, hold both the boot and en button, make sure the port, switch computers, reinstall arduino IDE) and still the same.
Here is the full error code
Sketch uses 260561 bytes (19%) of program storage space. Maximum is 1310720 bytes.
Global variables use 21344 bytes (6%) of dynamic memory, leaving 306336 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port COM9
Connecting......
Chip is ESP32-D0WD-V3 (revision v3.1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: e8:6b:ea:d4:e4:90
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
WARNING: Failed to communicate with the flash chip, read/write operations will fail. Try checking the chip connections or removing any other hardware connected to IOs.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x0004ffff...
Compressed 17568 bytes to 12204...
A fatal error occurred: Packet content transfer stopped (received 8 bytes)
Failed uploading: uploading error: exit status 2
pretty much this is what it says all the time
so im interessted if this is the board being broken or there might be something else, because the light on the board is still on when i plug it in and the computer and arduino recognizes theres something connected to the computer
ESP32 Devkit v1, Failed uploading: uploading error: exit status 2
-
- Posts: 9708
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 Devkit v1, Failed uploading: uploading error: exit status 2
Is GPIO12 connected to anything?
Who is online
Users browsing this forum: No registered users and 59 guests