0
\$\begingroup\$

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.

Circuit schematic

asked May 29, 2023 at 16:30
\$\endgroup\$
4
  • 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\$ Commented 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\$ Commented 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\$ Commented 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\$ Commented May 30, 2023 at 12:40

1 Answer 1

1
\$\begingroup\$

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.

answered May 31, 2023 at 0:37
\$\endgroup\$
5
  • \$\begingroup\$ Yes, I’ve done all of that. The code is uploading on others circuits, just in that one that isn’t uploading... \$\endgroup\$ Commented May 31, 2023 at 10:47
  • \$\begingroup\$ @Vinicius1907 you mean same boards as this one or different esp32 models \$\endgroup\$ Commented 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\$ Commented 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\$ Commented May 31, 2023 at 16:56
  • \$\begingroup\$ D1 is an LED to indicate that the board is being powered. \$\endgroup\$ Commented May 31, 2023 at 16:57

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.