Version 3.3
New Features
- Added flash size options up to 128MB. (#680)
- Added stub flasher support for ESP32-C2.
- Added
--flash-mmu-page-size
option to change flash MMU page size on ESP32-C2. - Added address and dummy cycles configuration to SPI flash commands, allowed reading flash SFDP registers.
- Added target-specific flash frequency options.
espsecure.py
- Added support for ECDSA P192 and P256 signatures in Secure Boot V2.
- Refined Secure Boot V2 ECC support.
- Added support for XTS_AES_128 using 128 bit key FE scheme.
espefuse.py
- Added
execute_scripts
nesting support, a script can now be called from another script. - Added ESP32-C2 espefuse.py support.
- Fixed power-out time for VDDQ settings for ESP32-S3.
- Removed dysfunctional
JTAG_SEL_ENABLE
on ESP32-C3. - Removed unused eFuse fields on ESP32-C3 and ESP32-H2.
- Added
execute_scripts
error handling in script files. (espressif/esp-idf#8420) - Added support for running multiple commands at once.
- Added checks for secure download mode.
- Added a recovery option to fix eFuse blocks after encoding errors.
Internal features
These features are intended for use inside Espressif:
- Preview support for ESP32-H2-beta2 has been added. This SoC is not generally available, so it is unsupported in this release. Official support will be added in a later esptool.py release.
Bug Fixes
- Fixed autodetection on ESP32-S2 in USB-OTG mode. (#685)
- Fixed
flash.rodata
not being recognized as part of IRAM in the ELF parser. - Fixed wrong
UART_RXFIFO_CNT_M
mask values in the stub flasher. - Added overerase detection and a fix sequence for certain XMC flash chips.
- Allowed USB PID detection for USB-JTAG-Serial mode on lowercase port names.
- Fixed chip autodetection to work in secure download mode.
- Fixed wrong firmware image being returned for beta chips.
- Fixed a wrong bootloader flashing offset on ESP32-S3. (#728)
Miscellaneous Changes
- Launched a new self-hosted esptool.py documentation and heavily updated its contents.
- Renamed the ESP8684 target to ESP32-C2 (added alias for compatibility).
- Added a warning for flash sizes that are not supported by the stub flasher.
Thanks to @ESP32DE, @lucasrangit, @Jason2866, and others for contributing to this release.