Search found 188 matches
- Wed Sep 27, 2023 6:35 am
- Forum: ESP-IDF
- Topic: How to enable SHA256 in image footer
- Replies: 1
- Views: 1173
Re: How to enable SHA256 in image footer
Hello, Any chance you have enabled `CONFIG_ESPTOOLPY_HEADER_FLASHSIZE_UPDATE` config option? If yes, then it would disable appending the SHA256 checksum to the image. Please see the migration guide section regarding this: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/migration-guides/r...
- Wed Sep 27, 2023 4:28 am
- Forum: ESP-IDF
- Topic: Secure boot v2 and flash encryption failed in development mode with ESP-WROOM 32
- Replies: 8
- Views: 2057
Re: Secure boot v2 and flash encryption failed in development mode with ESP-WROOM 32
Hello, Apologies for the delayed response here. Looking at the efuse summary, device has both flash encryption and secure boot (v2) enabled. Hence, it is expecting encrypted artifacts (e.g. bootloader, partition-table etc.). Flashing plain-text bootloader won't help here and it will result in the er...
- Tue Sep 26, 2023 4:59 am
- Forum: ESP-IDF
- Topic: ESP32 Flash Encryption Error
- Replies: 4
- Views: 1691
Re: ESP32 Flash Encryption Error
Hello, Relevant discussion pointer: https://github.com/espressif/esp-idf/issues/11888#issuecomment-1637872304 This is a known limitation and it has been highlighted in the docs at following locations: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/security/secure-boot-v2.html#restrictio...
- Wed Sep 20, 2023 7:53 am
- Forum: ESP-IDF
- Topic: ALPN protos causing HTTPS server to crash
- Replies: 2
- Views: 716
Re: ALPN protos causing HTTPS server to crash
Please ensure that `alpn_protos` resides in the global memory and not declared locally on stack. This problem could occur if the buffer is placed on stack and then it goes out of the scope. Quick fix could be to add `static` attribute to its definition and see if it helps. If this does not help then...
- Fri Aug 25, 2023 9:10 am
- Forum: ESP-IDF
- Topic: need help with NVS_KEYS
- Replies: 1
- Views: 409
Re: need help with NVS_KEYS
Hello Roman,
Your understanding is correct regarding generation of the NVS keys for NVS encryption scheme. Both the options are documented in detail here: https://docs.espressif.com/projects/esp ... -partition
Hope this helps!
Your understanding is correct regarding generation of the NVS keys for NVS encryption scheme. Both the options are documented in detail here: https://docs.espressif.com/projects/esp ... -partition
Hope this helps!
- Fri Jul 21, 2023 8:42 am
- Forum: ESP-IDF
- Topic: OTA firmware update error
- Replies: 37
- Views: 69307
Re: OTA firmware update error
How do i configure ota to flash 4096 bytes (1 sector) at a time ? Please try setting `buffer_size` field to 4096 value from `esp_http_client_config_t` structure during OTA updates initialization. Ref: https://github.com/espressif/esp-idf/blob/cbce221e88d52665523093b2b6dd0ebe3f1243f1/examples/system...
- Tue May 02, 2023 6:15 am
- Forum: ESP-IDF
- Topic: Download mode disabled, flash encryption failed
- Replies: 2
- Views: 875
Re: Download mode disabled, flash encryption failed
Hello, Yes, the download mode will get disabled during secure boot workflow in the bootloader. The startup code that you pointed out is an additional protection kept to disable the download mode through the application (if not already disabled). during the assembly process they have been temporary b...
- Thu Apr 27, 2023 6:11 am
- Forum: ESP-IDF
- Topic: Split firmware.
- Replies: 8
- Views: 3029
Re: Split firmware.
Wow, this looks interesting. I currently have a 1.6MB firmware OTA update, and it takes 20~40s to upload from a mobile app to ESP32 via WiFi. I wish it was faster and sometimes the Wifi connection drops in the middle of the process. There are some timing numbers in the PR here: https://github.com/e...
- Thu Apr 13, 2023 5:00 am
- Forum: ESP-IDF
- Topic: Split firmware.
- Replies: 8
- Views: 3029
Re: Split firmware.
Fyi, we do have a component for the delta compressed OTA updates feature: https://github.com/espressif/idf-extra- ... _delta_ota.
- Thu Apr 13, 2023 4:58 am
- Forum: ESP-IDF
- Topic: ESP32 WROVER reboots on heap_caps_calloc(MALLOC_CAP_IRAM_8BIT)
- Replies: 2
- Views: 956
Re: ESP32 WROVER reboots on heap_caps_calloc(MALLOC_CAP_IRAM_8BIT)
Hello,
It is possible to allocate memory from ESP32 IRAM region in FreeRTOS unicore mode with certain performance penalty. Please refer to https://docs.espressif.com/projects/esp ... ble-memory.
It is possible to allocate memory from ESP32 IRAM region in FreeRTOS unicore mode with certain performance penalty. Please refer to https://docs.espressif.com/projects/esp ... ble-memory.