Flash Encryption Disable

tsili852
Posts: 2
Joined: Thu Sep 28, 2017 8:42 am

Re: Flash Encryption Disable

Postby tsili852 » Thu Sep 28, 2017 8:43 am

rahul.b.patel wrote:
ESP_Angus wrote:
rahul.b.patel wrote: -> Although, there is no other modification in boot loader, while there might be possibility of espefuse.py burn_efuse command used after getting "flash read error,1000".
Which other efuses do you think you might have burned? FLASH_CRYPT_CNT?
No,I have not burned any other efuses. I was trying to burn FLASH_CRYPT_CNT to disable flash encryption as procedure provided at :
http://esp-idf.readthedocs.io/en/latest ... encryption

then I got error as FLASH_CRYPT_CNT burn count is already 0xFF.

Is there a way to make chip working again.? Or is it useless now.?
I have the same exact problem. Is there any way to save the chip?

tsili852
Posts: 2
Joined: Thu Sep 28, 2017 8:42 am

Re: Flash Encryption Disable

Postby tsili852 » Thu Sep 28, 2017 10:00 am

I have the same exact problem.
When I try to burn the FLASH_CRYPT_CNT I get:
Value mask for efuse FLASH_CRYPT_CNT is 0xff. Value 0x1ff is too large.

Is there anything I can do to make the chip work again or it is gone?

Thank you

snahmad75
Posts: 445
Joined: Wed Jan 24, 2018 6:32 pm

Re: Flash Encryption Disable

Postby snahmad75 » Wed Sep 26, 2018 8:23 am

Did you find solution to use again your device without encryption.

snahmad75
Posts: 445
Joined: Wed Jan 24, 2018 6:32 pm

Re: Flash Encryption Disable

Postby snahmad75 » Wed Sep 26, 2018 8:51 am

How do I permanently disable flash encryption and use without encryption.

espefuse.py --port COM184 summary

I did try espefuse.py --port COM184 burn_efuse FLASH_CRYPT_CNT

and do make flash. no luck.

still getting

rst:0x1 (POWERON_RESET),boot:0x3f (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ets Jun 8 2016 00:22:57


FLASH_CRYPT_CNT Flash encryption mode counter = 255 R/W (0xff)
FLASH_CRYPT_CONFIG Flash encryption config (key tweak bits) = 15 R/W (0xf)
CONSOLE_DEBUG_DISABLE Disable ROM BASIC interpreter fallback = 1 R/- (0x1)
ABS_DONE_0 secure boot enabled for bootloader = 1 R/W (0x1)
ABS_DONE_1 secure boot abstract 1 locked = 0 R/W (0x0)
JTAG_DISABLE Disable JTAG = 0 R/W (0x0)
DISABLE_DL_ENCRYPT Disable flash encryption in UART bootloader = 0 R/- (0x0)
DISABLE_DL_DECRYPT Disable flash decryption in UART bootloader = 1 R/- (0x1)
DISABLE_DL_CACHE Disable flash cache in UART bootloader = 0 R/- (0x0)

Who is online

Users browsing this forum: Corand and 104 guests