Search found 188 matches
- Thu Apr 06, 2023 5:59 am
- Forum: ESP-IDF
- Topic: Migration from 4.1.1 to 4.4.4 IRAM usage increases over 175%
- Replies: 3
- Views: 1556
Re: Migration from 4.1.1 to 4.4.4 IRAM usage increases over 175%
Hello, Would it be possible for you to compare any IDF example that is close to your use-case and compare its memory numbers against 4.1.1 and 4.4.4 release? Please share the application and sdk configuration, I will take a look.. Note: Tool `idf_size.py` also supports `--diff` command where it can ...
- Sun Apr 02, 2023 4:27 pm
- Forum: ESP-IDF
- Topic: Using read protected AES keys from application code
- Replies: 9
- Views: 4262
Re: Using read protected AES keys from application code
Hello, Is there a way do something similar for general purpose AES crypto through mbedtls or even direct ROM calls? For example, I'd like to set BLOCK_KEY5 to a USER key, and read and write protect it, then be able to tell the AES ROM to load that key. Read (and write) protection is available only f...
- Sun Apr 02, 2023 3:48 pm
- Forum: ESP-IDF
- Topic: Migration from 4.1.1 to 4.4.4 IRAM usage increases over 175%
- Replies: 3
- Views: 1556
Re: Migration from 4.1.1 to 4.4.4 IRAM usage increases over 175%
Are there any compilation options or settings that can quickly minimize the use of IRAM ??
We have a guide to optimize on the IRAM usage: https://docs.espressif.com/projects/esp ... iram-usage
- Mon Mar 20, 2023 6:58 am
- Forum: ESP-IDF
- Topic: Does Partition.bin also need to be signed when using SecureBoot V2
- Replies: 4
- Views: 2729
Re: Does Partition.bin also need to be signed when using SecureBoot V2
What is the rationale behind not signing the partition table? Primary reason was to speed up the bootup time with secure boot enabled case. Additionally, alteration to partition table with flash encryption enabled case is difficult, because the contents (along with integrity check) are encrypted on...
- Mon Mar 06, 2023 3:36 am
- Forum: ESP-IDF
- Topic: ESP32 Flash Encryption Error
- Replies: 4
- Views: 1802
Re: ESP32 Flash Encryption Error
Hello, FLASH_CRYPT_CNT (BLOCK0): Flash encryption mode counter = 0 R/W (0b0000000) It appears like your device has flash encryption key programmed but flash encryption itself not enabled (based on the count value above). Ideally, this situation should not occur, unless the first boot workflow where ...
- Mon Mar 06, 2023 3:18 am
- Forum: ESP-IDF
- Topic: [SOLVED] ESP_ERR_INVALID_ARG during OTA update
- Replies: 4
- Views: 2060
Re: ESP_ERR_INVALID_ARG during OTA update
This could be specific to the download URL embedded in the example, please confirm that URL is direct download link. Please check this issue: https://github.com/espressif/esp-idf/issues/8581
- Fri Mar 03, 2023 3:53 pm
- Forum: ESP-IDF
- Topic: [Solved] Secure boot signature verification failed
- Replies: 16
- Views: 7445
Re: Secure boot signature verification failed
Aha, I understood the problem. Simple solution could be to use `build/<project>-unsigned.bin` file for the manual signing purpose (instead of `project.bin`) Alternatively with docker based approach you could add `sdkconfig.defaults` file to the project with the line `CONFIG_SECURE_BOOT_BUILD_SIGNED_...
- Fri Feb 24, 2023 3:29 am
- Forum: ESP-IDF
- Topic: [Solved] Secure boot signature verification failed
- Replies: 16
- Views: 7445
Re: Secure boot signature verification failed
I am still not quite clear on what you mean by the resign here? So here is my analysis based on the information you shared so far: 1. Device has secure boot (v2) and flash encryption enabled as per EFuse settings 2. Secure signing is done on the image and then its further pre-encrypted before hostin...
- Thu Feb 23, 2023 8:21 am
- Forum: ESP-IDF
- Topic: [Solved] Secure boot signature verification failed
- Replies: 16
- Views: 7445
Re: Secure boot signature verification failed
Hi,
Could you please elaborate on what issue you discovered in the signing tool here?
Could you please elaborate on what issue you discovered in the signing tool here?
- Wed Feb 22, 2023 3:01 am
- Forum: ESP-IDF
- Topic: [Solved] Secure boot signature verification failed
- Replies: 16
- Views: 7445
Re: Secure boot signature verification failed
Hello,
- Can you please share the instructions you used to sign and encrypt the firmware binary?
- Can you please share the EFuse summary on the device? `espefuse.py --chip esp32 summary`
- Can you please share the instructions you used to sign and encrypt the firmware binary?
- Can you please share the EFuse summary on the device? `espefuse.py --chip esp32 summary`