What means "Flags" of esptool.py get_security_info?
Posted: Wed Nov 09, 2022 1:44 pm
esptool.py get_security_info for ESP32-S3 which enabled flash encryption returns as the following.
Bit2 of "Flags" means the SECURE_DOWNLOAD_ENABLE or not.
This is described in `esptool.py` source code on ESP-IDF.
Other bits are not described in any documents or source code.
Does anyone know these meaning ?
I want to detect flash encryption status by using this flags on mass production line.
I expect this flags has these information.
Thank you.
Code: Select all
> esptool.py --chip esp32s3 -p COM24 --before=default_reset --after=no_reset --no-stub get_security_info
esptool.py v4.3
Serial port COM24
Connecting....
Chip is ESP32-S3 in Secure Download Mode
Enabling default SPI flash mode...
Flags: 0x00000684 (0b11010000100)
Flash_Crypt_Cnt: 0x7
Key_Purposes: (4, 0, 0, 0, 0, 0, 12)
Chip_ID: 9
Api_Version: 0
Staying in bootloader.
This is described in `esptool.py` source code on ESP-IDF.
Other bits are not described in any documents or source code.
Does anyone know these meaning ?
I want to detect flash encryption status by using this flags on mass production line.
I expect this flags has these information.
Thank you.