I tried to connect to esp32c3 chip using UART
UART ---> ESP32C3
3v3. --> 3v3
GND. --> GND
RX --> TX (UOTXD)
TX. --> RX (UORXD)
3v3 --> GPIO2
Press and hold BOOT. (D9)
Press and release RESET. (EN)
Hold BOOT for another ~1s then release.
But:
C:\Espressif\frameworks\esp-idf-v4.4.7\examples\get-started\hello_world>
idf.py -p COM5 -b 115200 flash
Executing action: flash
Running ninja in directory C:\Espressif\frameworks\esp-idf-v4.4.7\examples\get-started\hello_world\build
Executing "ninja flash"...
[1/5] cmd.exe /C "cd /D C:\Espressif\frameworks\esp-idf-v4.4.7\examples\...s/esp-idf-v4.4.7/examples/get-started/hello_world/build/hello_world.bin"
hello_world.bin binary size 0x25fc0 bytes. Smallest app partition is 0x100000 bytes. 0xda040 bytes (85%) free.
[2/5] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D C:\Espressif\frameworks\esp-idf-v4.4.7\examples\get-started\hello_world\build\bootloader\esp-idf\esptool_py && D:\Espressif\python_env\idf4.4_py3.11_env\Scripts\python.exe C:/Espressif/frameworks/esp-idf-v4.4.7/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 C:/Espressif/frameworks/esp-idf-v4.4.7/examples/get-started/hello_world/build/bootloader/bootloader.bin"
Bootloader binary size 0x4e80 bytes. 0x3180 bytes (39%) free.
[2/3] cmd.exe /C "cd /D C:\Espressif\frameworks\esp-idf-v4.4.7\component...f/frameworks/esp-idf-v4.4.7/components/esptool_py/run_serial_tool.cmake"
esptool.py esp32c3 -p COM5 -b 115200 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x10000 hello_world.bin 0x8000 partition_table/partition-table.bin
esptool.py v3.3.4-dev
Serial port COM5
Connecting......................................
A fatal error occurred: Failed to connect to ESP32-C3: No serial data received.
For troubleshooting steps visit:
https://docs.espressif.com/projects/esp ... oting.html
CMake Error at run_serial_tool.cmake:56 (message):
D:/Espressif/python_env/idf4.4_py3.11_env/Scripts/python.exe
C:/Espressif/frameworks/esp-idf-v4.4.7/components/esptool_py/esptool/esptool.py
--chip esp32c3 failed
FAILED: CMakeFiles/flash C:/Espressif/frameworks/esp-idf-v4.4.7/examples/get-started/hello_world/build/CMakeFiles/flash
cmd.exe /C "cd /D C:\Espressif\frameworks\esp-idf-v4.4.7\components\esptool_py && D:\Espressif\tools\cmake\3.23.1\bin\cmake.exe -D IDF_PATH="C:/Espressif/frameworks/esp-idf-v4.4.7" -D SERIAL_TOOL="D:/Espressif/python_env/idf4.4_py3.11_env/Scripts/python.exe C:/Espressif/frameworks/esp-idf-v4.4.7/components/esptool_py/esptool/esptool.py --chip esp32c3" -D SERIAL_TOOL_ARGS="--before=default_reset --after=hard_reset write_flash @flash_args" -D WORKING_DIRECTORY="C:/Espressif/frameworks/esp-idf-v4.4.7/examples/get-started/hello_world/build" -P C:/Espressif/frameworks/esp-idf-v4.4.7/components/esptool_py/run_serial_tool.cmake"
ninja: build stopped: subcommand failed.
ninja failed with exit code 1