Search found 7 matches

by GeorgesLab
Mon Dec 12, 2022 1:28 pm
Forum: IDEs for ESP-IDF
Topic: Eclipse/ESP IDE tools installation error
Replies: 0
Views: 2553

Eclipse/ESP IDE tools installation error

Hello, I tried everything, but failed. During any version of IDE I got this error during tools installation. Python 3.9.16 pip 22.3.1 from C:\Espressif\python_env\idf4.3_py3.9_env\lib\site-packages\pip (python 3.9) Requirement already satisfied: pip in c:\espressif\python_env\idf4.3_py3.9_env\lib\si...
by GeorgesLab
Thu Jan 17, 2019 2:17 pm
Forum: General Discussion
Topic: Binary size with enabled flash encryption
Replies: 1
Views: 2767

Binary size with enabled flash encryption

Hello, I'm just curious why is flash binary size changed when I enable secure boot and flash encryption on boot in security features? I thought that all code overhead for encryption and secure boot will be in bootloader code, and not in application? Normal binary size is 1 013 120B and with secure o...
by GeorgesLab
Wed Jan 09, 2019 10:24 am
Forum: General Discussion
Topic: ESP_ERR_NVS_INVALID_LENGTH
Replies: 7
Views: 10950

Re: ESP_ERR_NVS_INVALID_LENGTH

After modification accoridng to your instructions everything works perfectly, thank you once again.
by GeorgesLab
Wed Jan 09, 2019 7:44 am
Forum: General Discussion
Topic: ESP_ERR_NVS_INVALID_LENGTH
Replies: 7
Views: 10950

Re: ESP_ERR_NVS_INVALID_LENGTH

Excellent, thank you very much for help. I will implement changes and return back with result to finish issue.
by GeorgesLab
Tue Jan 08, 2019 5:57 pm
Forum: General Discussion
Topic: ESP_ERR_NVS_INVALID_LENGTH
Replies: 7
Views: 10950

Re: ESP_ERR_NVS_INVALID_LENGTH

Thank you I will try that. What is purpose of this approach? Why I need to declare how large is target buffer to read function? I understand that for malloc is necessary to know how large data are, so nvs_get with NULL parameter is logical. But when I know how large is stored value and I have static...
by GeorgesLab
Tue Jan 08, 2019 12:13 pm
Forum: General Discussion
Topic: ESP_ERR_NVS_INVALID_LENGTH
Replies: 7
Views: 10950

Re: ESP_ERR_NVS_INVALID_LENGTH

uint32_t nvs_read_str(const char* key, char * value) { esp_err_t err; size_t required_size; // Open nvs_handle my_handle; err = nvs_open("storage", NVS_READWRITE, &my_handle); if (err != ESP_OK) { printf("Error (%s) opening NVS handle!\n", esp_err_to_name(err)); } else { // Read *value = 0; // valu...
by GeorgesLab
Tue Jan 08, 2019 10:35 am
Forum: General Discussion
Topic: ESP_ERR_NVS_INVALID_LENGTH
Replies: 7
Views: 10950

ESP_ERR_NVS_INVALID_LENGTH

Hello, I have some problems with NVS, when trying to restore more values from NVS then some of them returns error : Error (ESP_ERR_NVS_INVALID_LENGTH) reading pe_0 size 15! size is value of size_t required_size; variable. NVS statistics Count: UsedEntries = (74), FreeEntries = (2194), AllEntries = (...