Search found 63 matches

by dizcza
Mon Jun 22, 2026 5:21 pm
Forum: ESP-IDF
Topic: Failed to read NVS security cfg after migration 5.1->5.5
Replies: 2
Views: 99

Re: Failed to read NVS security cfg after migration 5.1->5.5


Hi @dizcza ,

The IDF 5.2 has added one more indirection inside the nvs security. The concept is called nvs_security_provider.

The on-flash format is identical — read_security_cfg_flash_enc() in 5.2 ultimately calls the same nvs_flash_read_security_cfg() against the same nvs_keys partition. So if ...
by dizcza
Tue Jun 16, 2026 5:40 am
Forum: ESP-IDF
Topic: Failed to read NVS security cfg after migration 5.1->5.5
Replies: 2
Views: 99

Failed to read NVS security cfg after migration 5.1->5.5

I have lots of nvs: Failed to read NVS security cfg: [0x102] (ESP_ERR_INVALID_ARG) after I migrated from v5.1 to v5.5 with security enabled (both full release and development).


(622) quad_psram: This chip is ESP32-D0WD
I (622) esp_psram: Found 8MB PSRAM device
I (622) esp_psram: Speed: 40MHz
I ...
by dizcza
Mon Mar 03, 2025 6:52 pm
Forum: ESP-IDF
Topic: Example of a TCP socket with SSL?
Replies: 4
Views: 4088

Re: Example of a TCP socket with SSL?

I'm returning to the same question in two years. At first, I thought what a smart guy asked the thing - I'm surprised it was me.

The link posted by MicroController does not mention any TCP.

Has anyone succeeded?
by dizcza
Thu Feb 27, 2025 9:08 am
Forum: ESP-IDF
Topic: Failed to disable ROM download mode
Replies: 3
Views: 1559

Re: Failed to disable ROM download mode

Thanks for the clarification, ESP_Mahavir.

I hope your next esp-idf release will mind the ESP32 V3 revision and call the esp_efuse_disable_rom_download_mode before write-protecting FLASH_CRYPT_CNT.

Either way, I find keeping the source code in the development mode (both flash encryption and ...
by dizcza
Sat Feb 22, 2025 6:29 pm
Forum: ESP-IDF
Topic: Failed to disable ROM download mode
Replies: 3
Views: 1559

Re: Failed to disable ROM download mode

All right, I managed to manually burn the relevant eFuses. Here is what I did. Firstly, I enable Secure Boot V2 and Flash Encryption Development mode. Then


idf.py erase-flash -p $PORT
idf.py bootloader
esptool.py --chip esp32 --port=$PORT --before=default_reset --after=no_reset write_flash ...
by dizcza
Sat Feb 22, 2025 4:19 pm
Forum: ESP-IDF
Topic: Failed to disable ROM download mode
Replies: 3
Views: 1559

Failed to disable ROM download mode


I enabled Secure Boot v2 and Flash Encryption in development mode.
I ran idf.py bootloader-flash and then idf.py flash only once. Confirmed it works with monitor.
I reconfigured the app to Flash Encryption Release mode, uploaded it to the server and did OTA upgrade to upgrade the app Flash ...
by dizcza
Thu Feb 20, 2025 4:56 pm
Forum: ESP-IDF
Topic: Arduino as a component adds lots of unnecessary dependencies
Replies: 0
Views: 690

Arduino as a component adds lots of unnecessary dependencies


Create a new project
idf.py add-dependency "espressif/arduino-esp32^3.0.7"


Look at dependencies.lock:


dependencies:
chmorgan/esp-libhelix-mp3:
component_hash: cbb76089dc2c5749f7b470e2e70aedc44c9da519e04eb9a67d4c7ec275229e53
dependencies:
- name: idf
require: private
version: '>=4.1.0 ...
by dizcza
Sat Nov 02, 2024 6:23 pm
Forum: ESP-IDF
Topic: Help in Decoding Wifi W (223029) wifi:[ADDBA]rx delba, code:37, delete tid:0
Replies: 3
Views: 6871

Re: Help in Decoding Wifi W (223029) wifi:[ADDBA]rx delba, code:37, delete tid:0


This is the A-MPDU related feature introduced into Wi-Fi since Wi-Fi4.
W (223029) wifi:[ADDBA]rx delba, code:37, delete tid:0


Can you give a link to all A-MPDU related codes? I'm getting

W (12755) wifi:[ADDBA]rx delba, code:1, delete tid:0

for the first time I connect esp_http_client_handle ...
by dizcza
Sun Jan 21, 2024 9:05 am
Forum: Hardware
Topic: ADS1256 with ESP32 idf
Replies: 3
Views: 10395

Re: ADS1256 with ESP32 idf

Hi e2738729, can you please share your final code?
I'm also searching for ADS1256 ESP-IDF and found no solutions.
Thanks.
by dizcza
Tue Jun 06, 2023 7:19 pm
Forum: ESP-IDF
Topic: Example of a TCP socket with SSL?
Replies: 4
Views: 4088

Example of a TCP socket with SSL?

I already have a TCP client running on an ESP32 but I'd like to make it secure with SSL.

I found something similar for Arduino: https://github.com/khoih-prog/AsyncTCP_SSL. But, firstly, it's on Arduino and, secondly, the project is no longer maintained.

On the documentation page of ESP-IDF, I ...

Go to advanced search