Can I still flash wemos/lolin ESP32 via pin headers if USB is destroyed?
Posted: Fri Mar 24, 2023 10:24 pm
I have now 5 of those that got their USB damaged in a way that it will power from USB, but the usb-serial chip is dead, so I can't flash them the normal way anymore. This seems to be done by some board I have, once I plug a new working one into it, the USB serial chip seems to get destroyed. I have to figure out why.
They otherwise work fine, I can get output on the serial pins via an ftdi serial adapter, and I can also send input, my code receives it and it works.
So I should still be able to flash them via those serial pins, no?
I do see the normal messages from the ESP32 bootloader on serial but when running the arduino flasher, I get
Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
I tried to push the reset button during this time, and it didn't help.
I also tried to short GPIO0 to GND or connect it via a 10k resistor before or after pushing the reset button and during this time arduino is trying to connect, but again, no luck.
Is there still a way I can flash them?
They otherwise work fine, I can get output on the serial pins via an ftdi serial adapter, and I can also send input, my code receives it and it works.
So I should still be able to flash them via those serial pins, no?
I do see the normal messages from the ESP32 bootloader on serial but when running the arduino flasher, I get
Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
I tried to push the reset button during this time, and it didn't help.
I also tried to short GPIO0 to GND or connect it via a 10k resistor before or after pushing the reset button and during this time arduino is trying to connect, but again, no luck.
Is there still a way I can flash them?