完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
使用 Code: Select all
burn_efuse SPI_BOOT_CRYPT_CNT 后 , C3再无法正常启动,重烧录固件,也无任何打印输出 测试用 burn_efuse summary 查询结果如下:Code: Select all === Run "summary" command ===EFUSE_NAME (Block) Description = [Meaningful Value] [Readable/Writeable] (Hex Value)----------------------------------------------------------------------------------------Calibration fuses:K_RTC_LDO (BLOCK1) BLOCK1 K_RTC_LDO = 80 R/W (0b0010100)K_DIG_LDO (BLOCK1) BLOCK1 K_DIG_LDO = -28 R/W (0b1000111)V_RTC_DBIAS20 (BLOCK1) BLOCK1 voltage of rtc dbias20 = 144 R/W (0x24)V_DIG_DBIAS20 (BLOCK1) BLOCK1 voltage of digital dbias20 = 0 R/W (0x80)DIG_DBIAS_HVT (BLOCK1) BLOCK1 digital dbias when hvt = -24 R/W (0b10110)THRES_HVT (BLOCK1) BLOCK1 pvt threshold when hvt = 2000 R/W (0b0111110100)TEMP_CALIB (BLOCK2) Temperature calibration data = -9.600000000000001 R/W (0b101100000)OCODE (BLOCK2) ADC OCode = 87 R/W (0x57)ADC1_INIT_CODE_ATTEN0 (BLOCK2) ADC1 init code at atten0 = 1332 R/W (0b0101001101)ADC1_INIT_CODE_ATTEN1 (BLOCK2) ADC1 init code at atten1 = 1948 R/W (0b0111100111)ADC1_INIT_CODE_ATTEN2 (BLOCK2) ADC1 init code at atten2 = 2044 R/W (0b0111111111)ADC1_INIT_CODE_ATTEN3 (BLOCK2) ADC1 init code at atten3 = -508 R/W (0b1001111111)ADC1_CAL_VOL_ATTEN0 (BLOCK2) ADC1 calibration voltage at atten0 = -148 R/W (0b1000100101)ADC1_CAL_VOL_ATTEN1 (BLOCK2) ADC1 calibration voltage at atten1 = 36 R/W (0b0000001001)ADC1_CAL_VOL_ATTEN2 (BLOCK2) ADC1 calibration voltage at atten2 = -100 R/W (0b1000011001)ADC1_CAL_VOL_ATTEN3 (BLOCK2) ADC1 calibration voltage at atten3 = -268 R/W (0b1001000011)Config fuses:WR_DIS (BLOCK0) Disable programming of individual eFuses = 8388880 R/W (0x00800110)RD_DIS (BLOCK0) Disable reading from BlOCK4-10 = 1 R/W (0b0000001)DIS_ICACHE (BLOCK0) Set this bit to disable Icache = False R/W (0b0)DIS_TWAI (BLOCK0) Set this bit to disable CAN function = False R/W (0b0)DIS_DIRECT_BOOT (BLOCK0) Disable direct boot mode = False R/W (0b0)UART_PRINT_CONTROL (BLOCK0) Set the default UARTboot message output mode = Disable R/W (0b11)ERR_RST_ENABLE (BLOCK0) Use BLOCK0 to check error record registers = with check R/W (0b1)BLOCK_USR_DATA (BLOCK3) User data = 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/WBLOCK_SYS_DATA2 (BLOCK10) System data part 2 (reserved) = 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/WFlash fuses:FLASH_TPUW (BLOCK0) Configures flash waiting time after power-up; in u = 0 R/W (0x0) nit of ms. If the value is less than 15; the waiti ng time is the configurable value; Otherwise; the waiting time is twice the configurable valueFORCE_SEND_RESUME (BLOCK0) Set this bit to force ROM code to send a resume co = False R/W (0b0) mmand during SPI bootFLASH_CAP (BLOCK1) Flash capacity = 4M R/W (0b001)FLASH_TEMP (BLOCK1) Flash temperature = 85C R/W (0b10)FLASH_VENDOR (BLOCK1) Flash vendor = XMC R/W (0b001)Identity fuses:DISABLE_WAFER_VERSION_MAJOR (BLOCK0) Disables check of wafer version major = False R/W (0b0)DISABLE_BLK_VERSION_MAJOR (BLOCK0) Disables check of blk version major = False R/W (0b0)WAFER_VERSION_MINOR_LO (BLOCK1) WAFER_VERSION_MINOR least significant bits = 4 R/W (0b100)PKG_VERSION (BLOCK1) Package version = 0 R/W (0b000)BLK_VERSION_MINOR (BLOCK1) BLK_VERSION_MINOR = 3 R/W (0b011)WAFER_VERSION_MINOR_HI (BLOCK1) WAFER_VERSION_MINOR most significant bit = False R/W (0b0)WAFER_VERSION_MAJOR (BLOCK1) WAFER_VERSION_MAJOR = 0 R/W (0b00)OPTIONAL_UNIQUE_ID (BLOCK2) Optional unique 128-bit ID = 89 50 3a dd 06 cc 21 b8 a3 9f 8b 2d cd 9c 1c f2 R/WBLK_VERSION_MAJOR (BLOCK2) BLK_VERSION_MAJOR of BLOCK2 = With calibration R/W (0b01)WAFER_VERSION_MINOR (BLOCK0) calc WAFER VERSION MINOR = WAFER_VERSION_MINOR_HI = 4 R/W (0x4) << 3 + WAFER_VERSION_MINOR_LO (read only)Jtag fuses:SOFT_DIS_JTAG (BLOCK0) Set these bits to disable JTAG in the soft way (od = 0 R/W (0b000) d number 1 means disable ). JTAG can be enabled in HMAC moduleDIS_PAD_JTAG (BLOCK0) Set this bit to disable JTAG in the hard way. JTAG = False R/W (0b0) is disabled permanentlyMac fuses:MAC (BLOCK1) MAC address = 84:fc:e6:02:96:a8 (OK) R/WCUSTOM_MAC (BLOCK3) Custom MAC address = 00:00:00:00:00:00 (OK) R/WSecurity fuses:DIS_DOWNLOAD_ICACHE (BLOCK0) Set this bit to disable Icache in download mode (b = False R/W (0b0) oot_mode[3:0] is 0; 1; 2; 3; 6; 7)DIS_FORCE_DOWNLOAD (BLOCK0) Set this bit to disable the function that forces c = False R/W (0b0) hip into download modeDIS_DOWNLOAD_MANUAL_ENCRYPT (BLOCK0) Set this bit to disable flash encryption when in d = False R/W (0b0) ownload boot modesSPI_BOOT_CRYPT_CNT (BLOCK0) Enables flash encryption when 1 or 3 bits are set = Enable R/- (0b111) and disables otherwiseSECURE_BOOT_KEY_REVOKE0 (BLOCK0) Revoke 1st secure boot key = False R/W (0b0)SECURE_BOOT_KEY_REVOKE1 (BLOCK0) Revoke 2nd secure boot key = False R/W (0b0)SECURE_BOOT_KEY_REVOKE2 (BLOCK0) Revoke 3rd secure boot key = False R/W (0b0)KEY_PURPOSE_0 (BLOCK0) Purpose of Key0 = XTS_AES_128_KEY R/- (0x4)KEY_PURPOSE_1 (BLOCK0) Purpose of Key1 = USER R/W (0x0)KEY_PURPOSE_2 (BLOCK0) Purpose of Key2 = USER R/W (0x0)KEY_PURPOSE_3 (BLOCK0) Purpose of Key3 = USER R/W (0x0)KEY_PURPOSE_4 (BLOCK0) Purpose of Key4 = USER R/W (0x0)KEY_PURPOSE_5 (BLOCK0) Purpose of Key5 = USER R/W (0x0)SECURE_BOOT_EN (BLOCK0) Set this bit to enable secure boot = False R/W (0b0)SECURE_BOOT_AGGRESSIVE_REVOKE (BLOCK0) Set this bit to enable revoking aggressive secure = False R/W (0b0) bootDIS_DOWNLOAD_MODE (BLOCK0) Set this bit to disable download mode (boot_mode[3 = False R/W (0b0) :0] = 0; 1; 2; 3; 6; 7)ENABLE_SECURITY_DOWNLOAD (BLOCK0) Set this bit to enable secure UART download mode = False R/W (0b0)SECURE_VERSION (BLOCK0) Secure version (used by ESP-IDF anti-rollback feat = 0 R/W (0x0000) ure)BLOCK_KEY0 (BLOCK4) Purpose: XTS_AES_128_KEY Key0 or user data = ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? -/-BLOCK_KEY1 (BLOCK5) Purpose: USER Key1 or user data = 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/WBLOCK_KEY2 (BLOCK6) Purpose: USER Key2 or user data = 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/WBLOCK_KEY3 (BLOCK7) Purpose: USER Key3 or user data = 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/WBLOCK_KEY4 (BLOCK8) Purpose: USER Key4 or user data = 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/WBLOCK_KEY5 (BLOCK9) Purpose: USER Key5 or user data = 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/WSpi Pad fuses:SPI_PAD_CONFIG_CLK (BLOCK1) SPI PAD CLK = 0 R/W (0b000000)SPI_PAD_CONFIG_Q (BLOCK1) SPI PAD Q(D1) = 0 R/W (0b000000)SPI_PAD_CONFIG_D (BLOCK1) SPI PAD D(D0) = 0 R/W (0b000000)SPI_PAD_CONFIG_CS (BLOCK1) SPI PAD CS = 0 R/W (0b000000)SPI_PAD_CONFIG_HD (BLOCK1) SPI PAD HD(D3) = 0 R/W (0b000000)SPI_PAD_CONFIG_WP (BLOCK1) SPI PAD WP(D2) = 0 R/W (0b000000)SPI_PAD_CONFIG_DQS (BLOCK1) SPI PAD DQS = 0 R/W (0b000000)SPI_PAD_CONFIG_D4 (BLOCK1) SPI PAD D4 = 0 R/W (0b000000)SPI_PAD_CONFIG_D5 (BLOCK1) SPI PAD D5 = 0 R/W (0b000000)SPI_PAD_CONFIG_D6 (BLOCK1) SPI PAD D6 = 0 R/W (0b000000)SPI_PAD_CONFIG_D7 (BLOCK1) SPI PAD D7 = 0 R/W (0b000000)Usb fuses:DIS_USB_JTAG (BLOCK0) Set this bit to disable function of usb switch to = False R/W (0b0) jtag in module of usb deviceDIS_USB_SERIAL_JTAG (BLOCK0) USB-Serial-JTAG = Enable R/W (0b0)USB_EXCHG_PINS (BLOCK0) Set this bit to exchange USB D+ and D- pins = False R/W (0b0)DIS_USB_SERIAL_JTAG_ROM_PRINT (BLOCK0) USB printing = Enable R/W (0b0)DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE (BLOCK0) Disable UART download mode through USB-Serial-JTAG = False R/W (0b0)Vdd fuses:VDD_SPI_AS_GPIO (BLOCK0) Set this bit to vdd spi pin function as gpio = False R/W (0b0)Wdt fuses:WDT_DELAY_SEL (BLOCK0) RTC watchdog timeout threshold; in unit of slow cl = 40000 R/W (0b00) |
|
相关推荐
1个回答
|
|
ESP32-C3在解除Flash加密后无法启动的原因可能有以下几点:
1. **烧录过程中的问题**:在烧录过程中,可能由于操作不当或烧录工具的问题导致烧录失败。请确保使用正确的烧录工具和方法。 2. **烧录文件损坏**:烧录文件可能在传输或存储过程中损坏,导致无法正常启动。请重新下载固件文件并尝试再次烧录。 3. **烧录参数设置错误**:在烧录过程中,如果参数设置不正确,可能导致烧录失败。请检查烧录参数设置,确保与ESP32-C3的硬件规格相匹配。 4. **Efuse烧录错误**:在烧录Efuse时,如果操作不当或参数设置错误,可能导致Efuse烧录失败。请检查Efuse烧录过程和参数设置。 5. **硬件问题**:ESP32-C3硬件可能存在问题,导致无法正常启动。请检查硬件连接和电源供应是否正常。 关于您提到的`burn_efuse SPI_BOOT_CRYPT_CNT`命令,这个命令是用来设置SPI Flash加密计数器的。当计数器达到0时,设备将无法启动。您可以尝试以下步骤来解决问题: 1. **检查Efuse烧录结果**:使用`burn_efuse summary`命令查看Efuse烧录结果,确认是否正确设置了SPI_BOOT_CRYPT_CNT。 2. **重置Efuse**:如果发现Efuse烧录错误,您可以尝试使用`burn_efuse reset`命令重置Efuse,然后重新设置SPI_BOOT_CRYPT_CNT。 3. **重新烧录固件**:在重置Efuse后,重新烧录固件到ESP32-C3,确保固件文件完整且烧录参数正确。 4. **检查串口输出**:如果设备仍然无法启动,但您期望有串口输出,请检查串口连接是否正确,并确保串口助手或终端工具设置正确。 5. **寻求技术支持**:如果以上步骤都无法解决问题,建议您联系ESP32-C3的技术支持或社区寻求帮助。 请注意,烧录Efuse是一个不可逆的过程,一旦烧录错误,可能导致设备无法正常工作。在烧录Efuse时,请务必谨慎操作。 |
|
|
|
只有小组成员才能发言,加入小组>>
1019 浏览 1 评论
562浏览 6评论
469浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
454浏览 5评论
454浏览 4评论
428浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-2 21:59 , Processed in 0.738795 second(s), Total 46, Slave 40 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号