I developed a PCB with an ESP32, but I'm not able to upload the code to the ESP even when pressing the boot button. The error message I'm getting is:
"A fatal error occurred: Failed to connect to ESP32: No serial data received."
I have already validated the circuit's functionality, and everything is working correctly.
-
1\$\begingroup\$ Could you please detail what exactly you have checked when you 'validated the circuit' and found everything to be working correctly? It would be helpful if you could share your deign file(s) (schematic at least) \$\endgroup\$pfabri– pfabri2023年05月29日 16:46:13 +00:00Commented May 29, 2023 at 16:46
-
\$\begingroup\$ To validate the circuit, I checked all the soldering joints and measured the voltage to ensure that it is reaching where it should, and I also verified the operation of the buttons I'm new to the platform and I'm looking for how I can send the design files. \$\endgroup\$Vinicius1907– Vinicius19072023年05月29日 17:01:19 +00:00Commented May 29, 2023 at 17:01
-
\$\begingroup\$ Why is there a 100uH inductor in series with the regulator output? Do you want to make an oscillator? Try removing C7. \$\endgroup\$Kartman– Kartman2023年05月29日 22:10:14 +00:00Commented May 29, 2023 at 22:10
-
\$\begingroup\$ The idea is to be a second-order low-pass filter to eliminate frequencies greater than 40Hz. I will remove C7 for testing, but this part was simulated to keep the voltage references consistent. \$\endgroup\$Vinicius1907– Vinicius19072023年05月30日 12:40:36 +00:00Commented May 30, 2023 at 12:40
1 Answer 1
Same baud rate? TX connected to RX and RX connected to TX? Try holding down BOOT and keeping BOOT held down press RESET, then let go of both and try flashing.
If buttons don't work, try bridging the GPIO pin of BOOT to GND then try.
-
\$\begingroup\$ Yes, I’ve done all of that. The code is uploading on others circuits, just in that one that isn’t uploading... \$\endgroup\$Vinicius1907– Vinicius19072023年05月31日 10:47:24 +00:00Commented May 31, 2023 at 10:47
-
\$\begingroup\$ @Vinicius1907 you mean same boards as this one or different esp32 models \$\endgroup\$UnknownDagger– UnknownDagger2023年05月31日 10:54:40 +00:00Commented May 31, 2023 at 10:54
-
\$\begingroup\$ What's ID1 doing? Don't you need to connect to either 3.3V or GND, or is it internally pulled up? \$\endgroup\$UnknownDagger– UnknownDagger2023年05月31日 10:55:55 +00:00Commented May 31, 2023 at 10:55
-
\$\begingroup\$ I tried uploading the code to a new board with the same circuit and a new ESP32 (same model), but the same error persisted. However, on other boards with different circuits the code is uploading, so it shouldn't be a problem with the code. \$\endgroup\$Vinicius1907– Vinicius19072023年05月31日 16:56:48 +00:00Commented May 31, 2023 at 16:56
-
\$\begingroup\$ D1 is an LED to indicate that the board is being powered. \$\endgroup\$Vinicius1907– Vinicius19072023年05月31日 16:57:12 +00:00Commented May 31, 2023 at 16:57