I use "ESP32-wroom-32D" in the Arduino IDE 2.1.0
I select tool>board>"esp32 dev module"
tool>port>"com5" this only one
I tried tool>upload speed>921600 change 115200
clicked boot and EN button
I got this error message on upload:
Sketch uses 262073 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 COM5
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: 40:22:d8:3e:66:10
Uploading stub...
Running stub...
Stub running...
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 0x00050fff...
Compressed 18992 bytes to 13112...
A fatal error occurred: Packet content transfer stopped (received 8 bytes)
Failed uploading: uploading error: exit status 2
code------------ ir sensor connected #include <Arduino.h>
int irpin1 = 33;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(irpin1, INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
int value = digitalRead(irpin1);
Serial.println(value);
delay(100);
}
Hi, we met on the Discord channel of Wokwi.
Which board do you have ? Please give a link to where you bought it.
I suppose there is a CP2102 usb-serial chip on it.
The board could be faulty, I think there is a 50% chance that we can make it work.
Have you used other Arduino boards ? Do you have another ESP32 board ?
Which Operating System do you use ?
Ah,,Hi
I have ESP32-WROOM-32D
I don't have another ESP32 borad but have UNO and use win10
I selected board : "ESP32 Dev module" and tried "ESP32-WROOM-DA module"
change "upload speed : " 921600 > 115200 only
other cable not yet
I just experienced upload errors with ESP8266 boards with unmarked serial chips.
Tried installing a CH34x...v3_4 driver from the net, and it worked.
Changed the IDE to an Uno board, to do some work.
Switched to an ESP8266 board a few days later, and it refused to connect.
Refused to install the same driver.
Uninstalling the driver, and re-installing did work.
Device manager shows a CD210x driver when working.
Win11 Pro.
Leo..