[ESP32] FlashDownloadTool_v3.6.4 [Win10x64] Report Error after enable Flash Encryption
Posted: Sat Sep 08, 2018 9:17 am
Hi,
I'm using ESPFlashDownloadTool_v3.6.4
My OS is win10x64
My device is MH-ET ESP32MiniKit which uses an ESP-WROOM-32 module.
I tested download bins files with default security.conf, it worked.
But I tried to download with Flash Encryption enabled, it failed.
Here is my security.conf
I closed the downloader and restarted again, I got the Window as expected
Here are my settings:
The settings are not changed, they worked with the default security.conf with no Secure Boot or Flash Encryption
Click the START button, and it reports errors: A text copy of the error log:
I'm using ESPFlashDownloadTool_v3.6.4
My OS is win10x64
My device is MH-ET ESP32MiniKit which uses an ESP-WROOM-32 module.
I tested download bins files with default security.conf, it worked.
But I tried to download with Flash Encryption enabled, it failed.
Here is my security.conf
Code: Select all
[DEBUG MODE]
debug_enable = False
debug_pem_path =
[SECURE BOOT]
secure_boot_en = False
burn_secure_boot_key = False
secure_boot_force_write = False
secure_boot_rw_protect = False
[FLASH ENCRYPTION]
flash_encryption_en = True
burn_flash_encryption_key = True
flash_encrypt_force_write = True
flash_encrypt_rw_protect = True
[AES KEY]
aes_key_en = False
burn_aes_key = False
[DISABLE FUNC]
jtag_disable = True
dl_encrypt_disable = True
dl_decrypt_disable = True
dl_cache_disable = True
Click the START button, and it reports errors: A text copy of the error log:
Hope someone could help.test offset : 4096 0x1000
case ok
test offset : 32768 0x8000
case ok
test offset : 57344 0xe000
case ok
test offset : 65536 0x10000
case ok
======
CONNECT BAUD: 115200
============
...Efuse CONSOLE_DEBUG_DISABLE is already burned.
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.pyo", line 801, in __bootstrap_inner
File "download_panel_info.pyo", line 790, in run
File "espDownloader.pyo", line 432, in flash_download_test
File "espDownloader.pyo", line 599, in flash_download_func
File "espDownloader.pyo", line 1562, in esp_write_flash
File "espDownloader.pyo", line 1535, in esp_gen_secure_key
NameError: global name 'path_str' is not defined