I'm attempting to program a Wemos D1 R32 using a PL2303 adapter. After installing the driver, I've tried uploading a simple LED blinking program, but I encountered an error: "Invalid head of packet (0x43): Possible serial noise or corruption." Additionally, I attempted to press the reset button while uploading, but it resulted in another error: "A fatal error occurred: Failed to connect to ESP32: No serial data received."
I'm using the PL2303 adapter because the USB port is broken. The Arduino code I'm trying to upload is as follows:
int pin = D5;
void setup() {
pinMode(pin, OUTPUT);
}
void loop() {
digitalWrite (pin,HIGH);
delay (1000);
digitalWrite (pin,LOW);
delay (1000);
}
Any guidance on resolving these errors would be greatly appreciated.