Hello... I have a problem with flashing my ESP32-H2 via ESP-IDF. It was working, but stopped, and now it just gives me an error that.... can't see the USB port, while the whole system sees it without problem. It seems to me that the problem lies somewhere deep within.... So maybe one of you has some broader insight and would be willing to explain to me what is going on. Thank you very much and best regards. I wanted to make myself a dice to throw from 00 to 99 for an RPG. I look forward to hearing back from you. I will look here often.
AI: Can you provide the exact error message that appears when trying to flash the ESP32-H2? .
[100%] Built target app
esptool.py --chip esp32h2 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 12m --flash_size detect 0x0 bootloader/bootloader.bin 0x10000 blink.bin 0x8000 partition_table/partition-table.bin
esptool.py v4.8.1
Serial port /dev/ttyUSB0
Connecting......................................
A fatal error occurred: Failed to connect to ESP32-H2: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
CMake Error at run_serial_tool.cmake:66 (message):
/home/kuba/.espressif/python_env/idf5.2_py3.12_env/bin/python;;/home/kuba/esp/components/esptool_py/esptool/esptool.py;--chip;esp32h2
failed.
make[3]: *** [CMakeFiles/flash.dir/build.make:70: CMakeFiles/flash] Error 1
make[2]: *** [CMakeFiles/Makefile2:1909: CMakeFiles/flash.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:1916: CMakeFiles/flash.dir/rule] Error 2
make: *** [Makefile:273: flash] Error 2
make failed with exit code 2, output of the command is in the /home/kuba/esp/examples/get-started/blink/build/log/idf_py_stderr_output_22621 and /home/kuba/esp/examples/get-started/blink/build/log/idf_py_stdout_output_22621
AI: What version of ESP-IDF are you using to flash your ESP32-H2? .
The latest one! 5.2.5-dirty harry! And esptool.py v4.8.1. in Arduino shows the same error. That it does not see the usb port. Thank you for your help!
AI: Can you provide the exact error message that appears when trying to flash the ESP32-H2? .
[100%] Built target app
esptool.py --chip esp32h2 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 12m --flash_size detect 0x0 bootloader/bootloader.bin 0x10000 blink.bin 0x8000 partition_table/partition-table.bin
esptool.py v4.8.1
Serial port /dev/ttyUSB0
Connecting......................................
A fatal error occurred: Failed to connect to ESP32-H2: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
CMake Error at run_serial_tool.cmake:66 (message):
/home/kuba/.espressif/python_env/idf5.2_py3.12_env/bin/python;;/home/kuba/esp/components/esptool_py/esptool/esptool.py;--chip;esp32h2
failed.
make[3]: *** [CMakeFiles/flash.dir/build.make:70: CMakeFiles/flash] Error 1
make[2]: *** [CMakeFiles/Makefile2:1909: CMakeFiles/flash.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:1916: CMakeFiles/flash.dir/rule] Error 2
make: *** [Makefile:273: flash] Error 2
make failed with exit code 2, output of the command is in the /home/kuba/esp/examples/get-started/blink/build/log/idf_py_stderr_output_22621 and /home/kuba/esp/examples/get-started/blink/build/log/idf_py_stdout_output_22621
AI: What version of ESP-IDF are you using to flash your ESP32-H2? .
The latest one! 5.2.5-dirty harry! And esptool.py v4.8.1. in Arduino shows the same error. That it does not see the usb port. Thank you for your help!