Unfortunately the port either doesn't show up or I get one of the following errors:
Code: Select all
c:/Espressif/frameworks/esp-idf-v4.4.2/components/esptool_py/esptool/espefuse.py --port COM8 burn_efuse STRAP_JTAG_SEL 1
Connecting......................................
A fatal error occurred: Failed to connect to Espressif device: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
or
Code: Select all
c:/Espressif/frameworks/esp-idf-v4.4.2/components/esptool_py/esptool/espefuse.py --port COM10 burn_efuse STRAP_JTAG_SEL 1
Traceback (most recent call last):
File "c:\Espressif\frameworks\esp-idf-v4.4.2\components\esptool_py\esptool\espefuse.py", line 198, in <module>
_main()
File "c:\Espressif\frameworks\esp-idf-v4.4.2\components\esptool_py\esptool\espefuse.py", line 191, in _main
main()
File "c:\Espressif\frameworks\esp-idf-v4.4.2\components\esptool_py\esptool\espefuse.py", line 144, in main
esp = get_esp(common_args.port,
File "c:\Espressif\frameworks\esp-idf-v4.4.2\components\esptool_py\esptool\espefuse.py", line 61, in get_esp
esp = esptool.ESPLoader.detect_chip(port, baud, connect_mode)
File "c:\Espressif\frameworks\esp-idf-v4.4.2\components\esptool_py\esptool\esptool.py", line 363, in detect_chip
detect_port = ESPLoader(port, baud, trace_enabled=trace_enabled)
File "c:\Espressif\frameworks\esp-idf-v4.4.2\components\esptool_py\esptool\esptool.py", line 320, in __init__
self._port = serial.serial_for_url(port)
File "C:\Users\johne\AppData\Local\Programs\Python\Python39\lib\site-packages\serial\__init__.py", line 90, in serial_for_url
instance.open()
File "C:\Users\johne\AppData\Local\Programs\Python\Python39\lib\site-packages\serial\serialwin32.py", line 80, in open
self._reconfigure_port()
File "C:\Users\johne\AppData\Local\Programs\Python\Python39\lib\site-packages\serial\serialwin32.py", line 222, in _reconfigure_port
raise SerialException(
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31)
Both of these cases I can connect to the port with a serial port terminal app and see the output of whatever program I have running on the esp32-s3
Is there a specific program I need to load over jtag in order to set the UART functionality over USB to work correctly with espefuse.py?