Esp32S3 : Fail to program the Esp32S3 using the USB/JTAG interface

ThomasESP32
Posts: 229
Joined: Thu Jul 14, 2022 5:15 am

Esp32S3 : Fail to program the Esp32S3 using the USB/JTAG interface

Postby ThomasESP32 » Thu Sep 14, 2023 3:04 pm

Good afternoon,

I am using an Esp32S3WROOM 1 chip on an Esp32S3-DevKit-C-1 board.
I would like to use the USB connector and the USB/JTAG interface to program the chip instead of the USB/UART connector.

I can see the COM port under ESP-IDF but when run the chip programming,
the programming process does not reach the end. I get the message the chip is not responding :

Could you please help me ???

Writing at 0x00251c37... (70 %)

Traceback (most recent call last):

File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\__init__.py", line 1031, in _main

main()

File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\__init__.py", line 831, in main

operation_func(esp, args)

File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\cmds.py", line 580, in write_flash

esp.flash_defl_block(block, seq, timeout=timeout)

File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\loader.py", line 131, in inner

return func(*args, **kwargs)

File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\loader.py", line 1030, in flash_defl_block

self.check_command(

File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\loader.py", line 435, in check_command

val, data = self.command(op, data, chk, timeout=timeout)

File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\loader.py", line 404, in command

p = self.read()

File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\loader.py", line 337, in read

return next(self._slip_reader)

StopIteration



A fatal error occurred: The chip stopped responding.

CMake Error at run_serial_tool.cmake:55 (message):

python;;C:/Espressif/frameworks/esp-idf-v5.0/components/esptool_py/esptool/esptool.py;--chip;esp32s3
failed

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

Re: Esp32S3 : Fail to program the Esp32S3 using the USB/JTAG interface

Postby ESP_Sprite » Fri Sep 15, 2023 2:11 am

Does the chip flash correctly if you force it into boot mode (i.e. pull GPIO0 low then reset/power up the chip)? If so, you may need to update esptool.py.

Who is online

Users browsing this forum: No registered users and 102 guests