乐鑫技术交流
直播中

lotusp

10年用户 1090经验值
擅长:电源/新能源
私信 关注
[问答]

esp32-s3的gpio无法设置JTAG接口是为什么?

根据文档(https://docs.espressif.com/projects/esp ... -jtag.html)描述:“烧录 JTAG_SEL_ENABLE eFuse 后,JTAG 接口的选择将由 strapping 管脚 GPIO3 来决定。ESP32-S3 复位时,如果该 strapping 管脚为低电平,JTAG 接口将使用 GPIO39-GPIO42,如果为高电平,USB_SERIAL_JTAG 将被用作 JTAG 接口。”

我需要执行:espefuse.py -p /dev/ttyUSB0  burn_efuse JTAG_SEL_ENAB

使能esp32-s3的管脚为JTAG接口失败
Code: Select all
#espefuse.py -p /dev/ttyUSB0  burn_efuse JTAG_SEL_ENABLE
/home/lc/esp/esp-idf/components/esptool_py/esptool/espsecure.py:18: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
  from cryptography import exceptions
Connecting....
Detecting chip type... ESP32-S3
espefuse.py v3.3.2-dev

A fatal error occurred: Invalid the efuse name 'JTAG_SEL_ENABLE'. Available the efuse names: ['WR_DIS', 'RD_DIS', 'DIS_ICACHE', 'DIS_DCACHE', 'DIS_DOWNLOAD_ICACHE', 'DIS_DOWNLOAD_DCACHE', 'DIS_FORCE_DOWNLOAD', 'DIS_USB', 'DIS_CAN', 'DIS_APP_CPU', 'SOFT_DIS_JTAG', 'HARD_DIS_JTAG', 'DIS_DOWNLOAD_MANUAL_ENCRYPT', 'USB_EXCHG_PINS', 'EXT_PHY_ENABLE', 'BTLC_GPIO_ENABLE', 'VDD_SPI_XPD', 'VDD_SPI_TIEH', 'VDD_SPI_FORCE', 'WDT_DELAY_SEL', 'SPI_BOOT_CRYPT_CNT', 'SECURE_BOOT_KEY_REVOKE0', 'SECURE_BOOT_KEY_REVOKE1', 'SECURE_BOOT_KEY_REVOKE2', 'KEY_PURPOSE_0', 'KEY_PURPOSE_1', 'KEY_PURPOSE_2', 'KEY_PURPOSE_3', 'KEY_PURPOSE_4', 'KEY_PURPOSE_5', 'SECURE_BOOT_EN', 'SECURE_BOOT_AGGRESSIVE_REVOKE', 'DIS_USB_JTAG', 'DIS_USB_SERIAL_JTAG', 'STRAP_JTAG_SEL', 'USB_PHY_SEL', 'FLASH_TPUW', 'DIS_DOWNLOAD_MODE', 'DIS_DIRECT_BOOT', 'DIS_USB_SERIAL_JTAG_ROM_PRINT', 'FLASH_ECC_MODE', 'DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE', 'ENABLE_SECURITY_DOWNLOAD', 'UART_PRINT_CONTROL', 'PIN_POWER_SELECTION', 'FLASH_TYPE', 'FLASH_PAGE_SIZE', 'FLASH_ECC_EN', 'FORCE_SEND_RESUME', 'SECURE_VERSION', 'DIS_USB_OTG_DOWNLOAD_MODE', 'MAC', 'SPI_PAD_CONFIG_CLK', 'SPI_PAD_CONFIG_Q', 'SPI_PAD_CONFIG_D', 'SPI_PAD_CONFIG_CS', 'SPI_PAD_CONFIG_HD', 'SPI_PAD_CONFIG_WP', 'SPI_PAD_CONFIG_DQS', 'SPI_PAD_CONFIG_D4', 'SPI_PAD_CONFIG_D5', 'SPI_PAD_CONFIG_D6', 'SPI_PAD_CONFIG_D7', 'WAFER_VERSION', 'PKG_VERSION', 'BLOCK1_VERSION', 'OPTIONAL_UNIQUE_ID', 'BLOCK2_VERSION', 'CUSTOM_MAC', 'BLOCK_USR_DATA', 'BLOCK_KEY0', 'BLOCK_KEY1', 'BLOCK_KEY2', 'BLOCK_KEY3', 'BLOCK_KEY4', 'BLOCK_KEY5', 'BLOCK_SYS_DATA2']





请问原因是什么如何解决?

更多回帖

发帖
×
20
完善资料,
赚取积分