Search found 2183 matches

by ESP_Angus
Mon Sep 28, 2020 7:27 am
Forum: General Discussion
Topic: Issue after enabling secure boot and flash encryption togeather [IDFGH-3857]
Replies: 14
Views: 1222

Re: Issue after enabling secure boot and flash encryption togeather [IDFGH-3857]

Hi Nikunj, Sorry for the delay in getting back to you. Did you flash Secure Boot in "One-time flash" mode? If so then I'm afraid Secure Boot is behaving as designed and is preventing the device from booting a modified bootloader. It's not possible to disable flash encryption once Secure Boot is enab...
by ESP_Angus
Wed Sep 23, 2020 6:38 am
Forum: ESP-IDF
Topic: Esp32-s2 Forum
Replies: 1
Views: 86

Re: Esp32-s2 Forum

Hi Darren,

Yes, please post in this forum. esp32.com is intended for "all ESP32 families". I see that the forum names and descriptions need to be updated in the post-S2 era, though - thanks for bringing it to our attention.

Angus
by ESP_Angus
Wed Aug 26, 2020 11:47 pm
Forum: General Discussion
Topic: Issue after enabling secure boot and flash encryption togeather [IDFGH-3857]
Replies: 14
Views: 1222

Re: Issue after enabling secure boot and flash encryption togeather [IDFGH-3857]

Hi Angus, Is it possible the flash chip has enabled hardware write protection somehow? Or that the FLASH_CRYPT_CNT efuse had been burned already before flashing of the plaintext firmware was done? How we can enable Hardware write protection? From the menuconfig ? We have used the same binaries in a...
by ESP_Angus
Tue Aug 25, 2020 4:52 am
Forum: General Discussion
Topic: Issue after enabling secure boot and flash encryption togeather [IDFGH-3857]
Replies: 14
Views: 1222

Re: Issue after enabling secure boot and flash encryption togeather [IDFGH-3857]

Hi Nikunj, Without seeing the boot logs it's hard to tell exactly what happened. Normally on first boot the bootloader would not burn FLASH_CRYPT_CNT to 0x1 until after it encrypts the bootloader all partitions, so I can't provide an explanation for how this efuse was burned but the partitions were ...
by ESP_Angus
Wed Aug 12, 2020 2:29 am
Forum: Hardware
Topic: New Custom Board Not communicating with CP2102N
Replies: 5
Views: 460

Re: New Custom Board Not communicating with CP2102N

I finally tried using idf.py monitor, without any flash load I am getting repeating messages of: rst:0x10 (RTCWDT_RTC_RESET),boot:0x12 (SPI_FAST_FLASH_BOOT) invalid header: 0xffffffff This is what you would expect for a chip in "flash boot" mode when the flash has no contents(all 0xFF). What do you...
by ESP_Angus
Tue Aug 11, 2020 4:29 am
Forum: Hardware
Topic: Unknown chip type value from ESP32-WROOM-32U
Replies: 5
Views: 455

Re: Unknown chip type value from ESP32-WROOM-32U

Hi Luke,

Thanks for being patient while someone got back to you. I've replied on the GitHub issue here: https://github.com/espressif/esptool/issues/548

Angus
by ESP_Angus
Mon Aug 10, 2020 3:21 am
Forum: General Discussion
Topic: Mixed Secure Boot v1 & v2
Replies: 2
Views: 352

Re: Mixed Secure Boot v1 & v2

Hi pctj, 1) Does ESP32-ECO3 NOT support the old v1 AES signing? ESP32 V3 supports both Secure Boot methods, you can configure this in the menuconfig for the project . The hardware Secure Boot V1 in V3 has more mitigations for fault injection compare to previous ESP32 revisions as well. However we st...
by ESP_Angus
Wed Aug 05, 2020 12:06 am
Forum: General Discussion
Topic: Safe to update a v3.3 generated app to v4.0.1 via OTA only?
Replies: 3
Views: 388

Re: Safe to update a v3.3 generated app to v4.0.1 via OTA only?

Hi Korstiaan, Yes, this is something ESP-IDF supports. The only thing which is not supported is booting an older app on a newer bootloader (for example, if the bootloader was from IDF v4.0.1 and the app is from IDF v3.3 then this may not work. But the other way around should always work.) Need to ma...
by ESP_Angus
Tue Aug 04, 2020 1:10 am
Forum: ESP-IDF
Topic: UART bootloader security
Replies: 2
Views: 305

Re: UART bootloader security

Hi devanl, For example, if someone were to use their own RAM flash programming stub, would it be able to read out the decrypted flash contents, or would it still be limited to seeing the encrypted flash the same way as the UART bootloader itself? This particular method doesn't work. With the DISABLE...
by ESP_Angus
Tue Aug 04, 2020 12:57 am
Forum: ESP-IDF
Topic: Get SHA256 of SPIFFS partition?
Replies: 15
Views: 2017

Re: Get SHA256 of SPIFFS partition?

The bug linked on GitHub was an issue introduced in ESP-IDF v4.1 development (regression when we added support for ESP32-S2 Beta), so it shouldn't be a bug in v3.x at all. I cant agree: (snip) Of course it may be platformio problem. I can't reproduce this on ESP-IDF v3.3.2. The ESP-IDF version numb...

Go to advanced search