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.
ESP32C3 Flashing issue
ESP32C3 Flashing issue
- Attachments
-
- ESP32C3_programming_circuit.pdf
- (104.83 KiB) Downloaded 78 times
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32C3 Flashing issue
If that schematic is correct, you haven't hooked up any of the GND pins.
Re: ESP32C3 Flashing issue
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"
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"
-
- Posts: 2
- Joined: Sun Jul 21, 2024 10:41 pm
Re: ESP32C3 Flashing issue
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
Thanks,
Dennis
Re: ESP32C3 Flashing issue
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 385 guests