ESP32 Strapping Pins for Automatic Upload
Posted: Mon Apr 20, 2020 10:44 am
I was wondering if someone can share a circuit they know works for auto-uploading when USB is connected (via CP2102N USB-UART bridge)?
https://www.aliexpress.com/item/3284057 ... hweb201603_
The board from the link above, appears to have have it built in, as it allows me upload sketches to the board via USB, without needing to hold down any buttons. Unfortunately, I have no schematic to it to see how it does that.
I currently have a pullup 10k resistor on CHIP_PU, and I have GPIO0 and GPIO2 being used by a TFT LCD. I heard something about being able to connect GPIO0 direct to CTS, and CHIP_PU direct to RTS on the CP2102N chip to achieve this automatic uploading. Has anyone tried that with success?
If the USB cable is disconnected, will this circuit then properly do an SPI boot when powered via power adapter?
https://www.aliexpress.com/item/3284057 ... hweb201603_
The board from the link above, appears to have have it built in, as it allows me upload sketches to the board via USB, without needing to hold down any buttons. Unfortunately, I have no schematic to it to see how it does that.
I currently have a pullup 10k resistor on CHIP_PU, and I have GPIO0 and GPIO2 being used by a TFT LCD. I heard something about being able to connect GPIO0 direct to CTS, and CHIP_PU direct to RTS on the CP2102N chip to achieve this automatic uploading. Has anyone tried that with success?
If the USB cable is disconnected, will this circuit then properly do an SPI boot when powered via power adapter?