Search found 515 matches

by Baldhead
Tue May 12, 2026 2:21 am
Forum: ESP-IDF
Topic: ESP ENCRYPTED OTA HMAC PROBLEM
Replies: 6
Views: 183

Re: ESP ENCRYPTED OTA HMAC PROBLEM

I replaced esp_restart() with below command, which solved the lcd issue.

SET_PERI_REG_MASK(RTC_CNTL_OPTIONS0_REG, RTC_CNTL_SW_SYS_RST); // Reboot (software reset like hardware reset).

Are there any drawbacks ?
by Baldhead
Mon May 11, 2026 9:01 pm
Forum: ESP-IDF
Topic: ESP ENCRYPTED OTA HMAC PROBLEM
Replies: 6
Views: 183

Re: ESP ENCRYPTED OTA HMAC PROBLEM


I think I was following the rsa-3072 scheme which could use the esp_secure_cert.bin file in the esp_secure_cert partition.
However, I want to use the ECIES-P256 scheme.
From what I understand, it's not possible to use this logic in the ECIES-P256 scheme only in RSA-3072 scheme, so:

Subject ...
by Baldhead
Mon May 11, 2026 4:55 pm
Forum: ESP-IDF
Topic: ESP ENCRYPTED OTA HMAC PROBLEM
Replies: 6
Views: 183

Re: ESP ENCRYPTED OTA HMAC PROBLEM

Is there no espressif expert to shed some light on this ?
by Baldhead
Sun May 10, 2026 3:02 am
Forum: ESP-IDF
Topic: ESP ENCRYPTED OTA HMAC PROBLEM
Replies: 6
Views: 183

Re: ESP ENCRYPTED OTA HMAC PROBLEM

Header says you need to set CONFIG_PRE_ENCRYPTED_OTA_USE_RSA.
Then, read your file containing a 3072 bit RSA private key in PEM format, and set the rsa_priv_key (and len) in cfg. You could also embed the key in your firmware as a literal string.
But I want to use the ECIES-P256 scheme.
by Baldhead
Sat May 09, 2026 9:17 pm
Forum: ESP-IDF
Topic: ESP ENCRYPTED OTA HMAC PROBLEM
Replies: 6
Views: 183

Re: ESP ENCRYPTED OTA HMAC PROBLEM

I think I was following the rsa-3072 scheme which could use the esp_secure_cert.bin file in the esp_secure_cert partition.
However, I want to use the ECIES-P256 scheme.
From what I understand, it's not possible to use this logic in the ECIES-P256 scheme only in RSA-3072 scheme, so:

Subject ...
by Baldhead
Sat May 09, 2026 3:14 am
Forum: ESP-IDF
Topic: ESP ENCRYPTED OTA HMAC PROBLEM
Replies: 6
Views: 183

ESP ENCRYPTED OTA HMAC PROBLEM

Hi,

I am trying to implement ENCRYPTED OTA using this doc:
https://github.com/espressif/idf-extra-components/tree/master/esp_encrypted_img

I am using ECIES-P256.
I wanted to read the esp_secure_cert.bin file from the esp_secure_cert partition of the flash memory, without needing to burn an Efuse ...
by Baldhead
Fri Mar 20, 2026 1:53 am
Forum: ESP-IDF
Topic: Lvgl custom external malloc implementation / linking
Replies: 3
Views: 228

Re: Lvgl custom external malloc implementation / linking

It seems that this solved it (It compiled and linked, but I haven't tested it on the hardware yet).

Necessary functions (only .c file, the function interface(.h file), the lvgl library already provides):
lv_malloc_core()
lv_realloc_core()
lv_free_core()
lv_mem_init()

Optional functions (only .c ...
by Baldhead
Thu Mar 19, 2026 1:24 am
Forum: ESP-IDF
Topic: Lvgl custom external malloc implementation / linking
Replies: 3
Views: 228

Lvgl custom external malloc implementation / linking

Hi,

What do you want to achieve ?
I want to create custom functions for Lvgl memory allocator and that compilation and linking work.

What have you tried so far ?
I downloaded Lvgl from “ESP Component Registry”.

In esp-idf menuconfig, inside Lvgl component config , i select the option ...
by Baldhead
Fri Feb 06, 2026 8:33 pm
Forum: ESP-IDF
Topic: Websocket Async Messages
Replies: 12
Views: 3256

Re: Websocket Async Messages

I found the problem, in the function .handler = get_clients_message_handler, still need to check:


if (req->method == HTTP_GET)
{
ESP_LOGI(TAG, "Handshake done, the new connection was opened");
ESP_LOGI(TAG, LOG_USER("New Connection Socket: %d\n"), httpd_req_to_sockfd(req));
return ESP_OK ...

Go to advanced search