Search found 2181 matches

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: 11
Views: 881

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: 11
Views: 881

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

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

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

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

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: ESP32 IDF
Topic: UART bootloader security
Replies: 2
Views: 270

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: ESP32 IDF
Topic: Get SHA256 of SPIFFS partition?
Replies: 15
Views: 1899

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...
by ESP_Angus
Tue Aug 04, 2020 12:55 am
Forum: ESP32 IDF
Topic: Get SHA256 of SPIFFS partition?
Replies: 15
Views: 1899

Re: Get SHA256 of SPIFFS partition?

Hi dmaxben,

At the moment we've only merged this to the master branch. Will see about backporting to v3.3, sorry I didn't get back to you about this earlier.

Angus
by ESP_Angus
Wed Jul 29, 2020 8:43 am
Forum: ESP32 IDF
Topic: How to implement custom bootloader
Replies: 2
Views: 292

Re: How to implement custom bootloader

Hi ukrsms, Sorry for the hassle, this is a limitation in CMake trying to track the state of the build. "idf.py fullclean" (which deletes the entire build directory including CMake metadata), followed by a build, should fix it. Will add this to the documentation, and also update the source file name ...

Go to advanced search