Search found 52 matches

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: 1831

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: 5248

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: 5248

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: 4549

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: 6
Views: 14446

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: 4549

[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: 1861

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...
by human890209
Thu Sep 06, 2018 2:51 am
Forum: ESP32 Arduino
Topic: Help! How to setup a multi-master I2C?
Replies: 0
Views: 1259

Help! How to setup a multi-master I2C?

Hi, I tested my I2C code on ESP32, some wired things happen. And I checked the TwoWire library and got confused with the sendStop argument. I guess the sendStop can only be set to TRUE or the message won't be received or sent. I noticed ESP32 I2C used a queue system. I used Arduino boards and ESP826...
by human890209
Tue Sep 04, 2018 9:59 am
Forum: ESP32 Arduino
Topic: How to cancel the Interrupts Stack?
Replies: 6
Views: 2441

Re: How to cancel the Interrupts Stack?

Hi, thanks.@ESP_Angus I know that. It's cool to have more hardware serials on ESP32, but I use the Hardware Serial to communicate with other Device, cause that should be Normal. I use software serials to communicate with my programmed boards, for example, ESP32 to ESP32. I don't use I2C or SPI to co...