ESP32 using an FTDI module, connect the FTDI's DTR to the ESP32's EN (Enable) pin, and RTS to GPIO0 (BOOT), each through a 0.1 µF capacitor. This setup allows the flashing tool to automatically reset the ESP32 and enter flash mode without any manual button presses.