Even failed to flash just **hello_world**
```
[2/3] cd /opt/Espressif/esp-idf/components/esptool_py && /usr/bin/cmake -D IDF_PATH=/opt/Espressif/esp...es/get-started/hello_world/build -P /opt/Espressif/esp-idf/components/esptool_py/run_serial_tool.cmake
esptool.py --chip esp32s3 -p /dev/ttyACM0 -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 vv4.8.dev1
Serial port /dev/ttyACM0
Connecting...
A serial exception error occurred: Write timeout
Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.
For troubleshooting steps visit: https://docs.espressif.com/projects/esp ... oting.html
CMake Error at run_serial_tool.cmake:66 (message):
~/.espressif/python_env/idf5.3_py3.10_env/bin/python;;/opt/Espressif/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32s3
failed.
FAILED: CMakeFiles/flash ....../esp-idf/examples/get-started/hello_world/build/CMakeFiles/flash
cd /opt/Espressif/esp-idf/components/esptool_py && /usr/bin/cmake -D IDF_PATH=/opt/Espressif/esp-idf -D "SERIAL_TOOL=~/.espressif/python_env/idf5.3_py3.10_env/bin/python;;/opt/Espressif/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32s3" -D "SERIAL_TOOL_ARGS=--before=default_reset;--after=hard_reset;write_flash;@flash_args" -D WORKING_DIRECTORY=....../esp-idf/examples/get-started/hello_world/build -P /opt/Espressif/esp-idf/components/esptool_py/run_serial_tool.cmake
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the ....../esp-idf/examples/get-started/hello_world/build/log/idf_py_stderr_output_432108 and ....../esp-idf/examples/get-started/hello_world/build/log/idf_py_stdout_output_432108
```
Cheers
Pei
This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or driver
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
Re: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or dr
Can you try forcing the chip into download mode (by pulling GPIO0 low) and resetting?
Re: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or dr
Pulling IO0 to GND worked with me, the system must enter boot mode for reflashing.
Who is online
Users browsing this forum: No registered users and 85 guests