Hi, I am trying to upload code to a ESP32-WROOM-32U with a FTDI programmer and keep getting this message when I upload.
Arduino: 1.8.16 (Mac OS X), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 115200, Core 1, Core 1, None"
Sketch uses 205577 bytes (15%) of program storage space. Maximum is 1310720 bytes.
Global variables use 16212 bytes (4%) of dynamic memory, leaving 311468 bytes for local variables. Maximum is 327680 bytes.
esptool.py v3.1
Serial port /dev/cu.usbserial-A50285BI
Connecting........_____....._____....._____....._____....._____....._____.....____An error occurred while uploading the sketch
_
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
These are my pin connection:
3.3v = VCC
GND = GND
TXD0 = RX
RXD0 = TX
GPIO0 = GND
(Also, the jumper on the FTDI Programmer is set to 3.3v.)
Here is my code:
void setup() {
// put your setup code here, to run once:
pinMode(12, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(12, HIGH);
}
Thanks.