FAQ
Q: After downloading a program to the module, sometimes it fails to connect to the serial port or fails to flash during subsequent downloads?
- Method 1: Press the reset button for more than 1 second, wait for the PC to re-detect the device, and then upload again.
- Method 2: Press and hold the BOOT button, press RESET, release RESET, then release BOOT. The module will enter download mode, which solves most download issues.
Q: When setting up the environment or creating a project, there is no ESP option shown below?
A: Press the F1 shortcut key in VS Code, search for Espressif IDF. You will find it marked as an untrusted extension; set it to trusted.
Q: After switching to another ESP of the same model, the flashed program malfunctions?
A: After switching the ESP, re-select the COM port and driver target, then compile and flash again.
Q: After powering on, the detected serial device keeps resetting and restarting?
A: Check if the supply voltage of the USB port is less than 5V. Generally, if the USB port's supply voltage is above 4.9V, both USB ports on the module should function normally. If it is below 4.9V, insufficient power supply may occur, leading to the USB port disconnecting. In this case, you need to switch to a USB port that provides adequate voltage.
Q: When performing JTAG debugging, the debug page never appears?
A: Close the OpenOCD instance below and restart OpenOCD.