Unfortunately I am not able to flash new sketch now.
I get:
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x30): Possible serial noise or corruption.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
Failed uploading: uploading error: exit status 2
I think it must be forced to upload mode. But I can't find the correct reset & boot buttons. Which button combination does what I'm looking for ?
Push both rst and boot button. Then release first the rst button, then the boot button.
Then you need to select the changed USB port in the IDE.
Download should work thereafter.
After successful download and program start, the USB port will be different again.
Good Luck!
esptool.py v4.5.1
Serial port COM16
Connecting......................................
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x3A): Possible serial noise or corruption.
For troubleshooting steps visit: Troubleshooting - ESP32 - — esptool.py latest documentation
Failed uploading: uploading error: exit status 2
What processor/board did you select to compile for?
Power supply might also be an issue. The LDO seems to be too weak.
I had glued a USB to serial adapter, and a LD1117V33 LDO, to supply strong 3.3V to the board
Yes. I had misunderstood you first post. I thought you had an issue with an ESP32S3.
That's why I tried to answer. With a standard ESP32 with USB to serial chip and the connected reset/boot circuit, download should always be possible.
You could try to at a LiPo battery for stable supply.
I can't help any more.
I connected a 18650 battery and power is stable.
In your previous answer you wrote "LDO seems to be too weak"
where do you see that ?
And you wrote:
"Push both rst and boot button. Then release first the rst button, then the boot button.
Then you need to select the changed USB port in the IDE."
but I do not see any com port change when I do that button combination. I can only verify that it goes into download mode from serial monitor (it says "waiting for download" instead of the boot loop)