-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
burn_key operation gives Burn BLOCK_KEY0 (['BLOCK4']) was not successful (ESPTOOL-986) #1048
Comments
Hi @Daphne-HU!
|
I have attempted the suggested solutions, including using different power supplies and PCBs, but the issue persists. I also tried programming a different BLOCK_KEY without success. Could there be other potential causes or solutions to this problem? on a new device i tried writing with no read and write protect: vscode@4d6257b198cd:/workspaces/BCE-Monitor$ espefuse.py burn_key --no-write-protect --no-read-protect BLOCK_KEY4 flash_encryption_key.bin XTS_AES_128_KEY === Run "burn_key" command ===
Keys will remain writeable (due to --no-write-protect) Check all blocks for burn... A fatal error occurred: Burn BLOCK_KEY4 (['BLOCK8']) was not successful A bit more than half of the key is written correctly in BOCK8 / BLOCK_KEY4 BLOCK0 ( ) [0 ] err__regs: 00000000 00000000 00000000 00000000 00000000 00000000 |
Hi @Daphne-HU!
What is the difference between the two cases? It looks like it is a hardware issue. |
@KonstantinKondrashov Do you have any idea what hardware issue this could be? |
Operating System
Xubuntu 20.04 (under WSL)
Esptool Version
4.7.0
Python Version
3.8.10
Chip Description
esp32-C3-mini-1
Device Description
Chip is on a custom PCB
Hardware Configuration
When relevant i can provide pin configurations
How is Esptool Run
Visual studio code
Full Esptool Command Line that Was Run
espefuse.py --debug burn_key BLOCK_KEY0 flash_encryption_key.bin XTS_AES_128_KEY
Esptool Output
More Information
I followed the documentation as noted here, under Using Host Generated Key:
https://docs.espressif.com/projects/esp-idf/en/release-v5.1/esp32c3/security/flash-encryption.html
When I run "espefuse.py summary," it displays what appears to be the basic fabric configuration settings.
Nothing is changed before trying to burn the flash key.
Other Steps to Reproduce
I Have Read the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: