ESP32C3 Flashing issue

Harsha
Posts: 5
Joined: Thu Jul 18, 2024 12:49 pm

ESP32C3 Flashing issue

Postby Harsha » Sat Jul 20, 2024 9:58 am

Hi everyone,

I've been researching the ESP32-C3 flashing circuit and have designed a basic circuit for flashing the ESP32-C3 SMD board. However, when I try to flash the basic blink example code, I encounter the following error: "COM5 failed to connect: Failed to connect to Espressif device: No serial data received."

I've also attached the PCB design for reference.

Any advice on how to resolve this issue would be greatly appreciated.
Attachments
ESP32C3_programming_circuit.pdf
(104.83 KiB) Downloaded 78 times

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32C3 Flashing issue

Postby ESP_Sprite » Sun Jul 21, 2024 3:15 am

If that schematic is correct, you haven't hooked up any of the GND pins.

Harsha
Posts: 5
Joined: Thu Jul 18, 2024 12:49 pm

Re: ESP32C3 Flashing issue

Postby Harsha » Sun Jul 21, 2024 12:56 pm

Anyway thank you for the replay, I resolved my issue.
But found another issue while building the rainmaker switch example, if I try to build I'm getting an error:
" CMake Error at C:/Espressif/frameworks/esp-idf-v5.2.2/tools/cmake/build.cmake:544 (message):
ERROR: Because no versions of espressif/esp_rainmaker match >=1.0.0,<1.3.0
|| >1.3.0,<2.0.0

and espressif/esp_rainmaker (1.3.0) depends on espressif/mdns (^1.2.0), espressif/esp_rainmaker (>=1.0.0,<2.0.0) requires espressif/mdns (^1.2.0).

So, because no versions of espressif/mdns match ^1.2.0

and project depends on espressif/esp_rainmaker (~=1.0), version solving failed.

Call Stack (most recent call first):
C:/Espressif/frameworks/esp-idf-v5.2.2/tools/cmake/project.cmake:605 (idf_build_process)
CMakeLists.txt:16 (project)


..-- Configuring incomplete, errors occurred!
See also "C:/Users/harsh/Documents/esp-rainmaker/esp-rainmaker/examples/switch/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1, output of the command is in the C:\Users\harsh\Documents\esp-rainmaker\esp-rainmaker\examples\switch\build\log\idf_py_stderr_output_4988 and C:\Users\harsh\Documents\esp-rainmaker\esp-rainmaker\examples\switch\build\log\idf_py_stdout_output_4988"

quinntapia
Posts: 2
Joined: Sun Jul 21, 2024 10:41 pm

Re: ESP32C3 Flashing issue

Postby quinntapia » Mon Jul 22, 2024 12:18 am

I have a problem like you had ; “A fatal error occurred: Failed to connect to ESP32: No serial data received. Failed uploading: uploading error: exit status 2”. I would very grateful if you would post how you fixed the problem.
Thanks,
Dennis

Harsha
Posts: 5
Joined: Thu Jul 18, 2024 12:49 pm

Re: ESP32C3 Flashing issue

Postby Harsha » Sat Jul 27, 2024 6:19 am

After seeing the error, I think it's not similar to mine. Mine was a completely different issue, it was a circuit issue, The Boot pin was not set to zero, so I was getting that error, I checked and sorted in the circuit, and then it worked.

Who is online

Users browsing this forum: No registered users and 342 guests