Search found 54 matches

by human890209
Thu Sep 13, 2018 2:40 am
Forum: Report Bugs
Topic: [ESP32] FlashDownloadTool_v3.6.4 [Win10x64] Report Error after enable Flash Encryption
Replies: 7
Views: 15036

Re: [ESP32] FlashDownloadTool_v3.6.4 [Win10x64] Report Error after enable Flash Encryption

Hi, @costaud Even the flash encryption key is read/write protected, but if the FLASH_CRYPT_CNT is not write protected and secure boot is not enabled, flash encryption will be ineffective. The best way to figure out the eFuse setting result is run espefuse.py summary after using the FlashDownloadTool...
by human890209
Thu Sep 13, 2018 2:31 am
Forum: General Discussion
Topic: How to reset all the eFuse? What does "secure boot check fail" means?
Replies: 8
Views: 20808

Re: How to reset all the eFuse? What does "secure boot check fail" means?

Hi, @ESP_Angus I built the bootloader.bin with One-time Flash option which is suggested in the Secure Boot guide. My dev boards didn't enable Secure Boot before that, I checked them with espefuse.py ** summary before testing secure boot, cause I test flash encryption before this test. The ABS_DONE_0...
by human890209
Mon Sep 10, 2018 2:51 pm
Forum: Report Bugs
Topic: Verify Bug for [espsecure.py] don't know if Secure Boot is okay
Replies: 2
Views: 5631

Verify Bug for [espsecure.py] don't know if Secure Boot is okay

Today, I tested the secure boot with flash encryption of ESP-IDF, I use a simple example and follow the instructions step by step. Before that I tested the flash encryption only, I succeeded. But enabled both, I got: secure boot check fail I bricked 2 Dev boards with the same monitor logging results...
by human890209
Mon Sep 10, 2018 2:32 pm
Forum: General Discussion
Topic: How to reset all the eFuse? What does "secure boot check fail" means?
Replies: 8
Views: 20808

Re: How to reset all the eFuse? What does "secure boot check fail" means?

Hi, @Mr_red I checked the bootloader's size before flash it, cause the instruction mentioned about that. It's smaller than that (<16k), cause I changed the settings for bootloader logging. And I just tested the Verify function of espsecure.py which is in the bundle of esptool. I've found that espsec...
by human890209
Mon Sep 10, 2018 9:54 am
Forum: General Discussion
Topic: How to reset all the eFuse? What does "secure boot check fail" means?
Replies: 8
Views: 20808

How to reset all the eFuse? What does "secure boot check fail" means?

Hi, I did some tests about secure boot and flash encryption. The result is not 100% perfect, but I actually bricked 2 dev boards. I'm wondering if there is a way to reset the eFuse to factory setting? which I think may not harm the data in flash, cause the secure boot and flash encryption will not p...
by human890209
Mon Sep 10, 2018 8:17 am
Forum: Report Bugs
Topic: [ESP32] FlashDownloadTool_v3.6.4 [Win10x64] Report Error after enable Flash Encryption
Replies: 7
Views: 15036

Re: [ESP32] FlashDownloadTool_v3.6.4 [Win10x64] Report Error after enable Flash Encryption

Hi, @costaud, thanks. I read these instructions: https://docs.espressif.com/projects/esp-idf/en/latest/security/flash-encryption.html https://docs.espressif.com/projects/esp-idf/en/latest/security/secure-boot.html and this (the diagrams are welcomed): https://blog.csdn.net/espressif/article/details/...
by human890209
Sun Sep 09, 2018 3:15 am
Forum: Hardware
Topic: [Answered] Exposing the EN and Boot buttons off DevKitC
Replies: 7
Views: 31730

Re: [Answered] Exposing the EN and Boot buttons off DevKitC

Hi, I got a DOIT ESP32 board, I press and hold Boot key when downloading the flash when flashing start I let it go. But the DOIT ESP32 didn't get a Reset button. I tried to press EN or BOOT, or together, but the board didn't reset. But the board does reset when clicking the Reset button of Arduino I...
by human890209
Sat Sep 08, 2018 9:17 am
Forum: Report Bugs
Topic: [ESP32] FlashDownloadTool_v3.6.4 [Win10x64] Report Error after enable Flash Encryption
Replies: 7
Views: 15036

[ESP32] FlashDownloadTool_v3.6.4 [Win10x64] Report Error after enable Flash Encryption

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 [DEBUG MODE...
by human890209
Sat Sep 08, 2018 5:45 am
Forum: ESP32 Arduino
Topic: Questions about Flash Encryption
Replies: 3
Views: 5806

Questions about Flash Encryption

I'm using ESP32 Arduino with Arduino IDE, and I read the ESP-IDF Programming Guide to learn the Flash Encryption and Secure Boot. My target is to protect my firmware codes from copier and cracker. I think Flash Encryption is what I need. I guess the simplest way of doing that is by Reflashing via Pr...