Search found 2217 matches

by ESP_Angus
Tue Nov 24, 2020 6:48 am
Forum: ESP-IDF
Topic: Can ECDSA signing key be changed when secure boot is enabled?
Replies: 1
Views: 231

Re: Can ECDSA signing key be changed when secure boot is enabled?

Hi Andras, You're essentially correct. To change the ECDSA signing key, you need to compile and a flash a new bootloader with the new ECDSA public key compiled into it. Reflashing the bootloader requires re-generating the bootloader digest, and generating the bootloader digest requires knowledge of ...
by ESP_Angus
Tue Nov 24, 2020 6:40 am
Forum: ESP-IDF
Topic: Problem with xPortGetFreeHeapSize()/heap_caps_get_free_size()
Replies: 9
Views: 603

Re: Problem with xPortGetFreeHeapSize()/heap_caps_get_free_size()

Hi Rob, Thanks for the extra info. I can't reproduce this on the master branch, could you please give some more information about which ESP-IDF version you're using and the exact arguments being passed to uart_driver_install() and uart_driver_delete() each time? Do both functions return ESP_OK each ...
by ESP_Angus
Fri Nov 20, 2020 5:16 am
Forum: ESP-IDF
Topic: Problem with xPortGetFreeHeapSize()/heap_caps_get_free_size()
Replies: 9
Views: 603

Re: Problem with xPortGetFreeHeapSize()/heap_caps_get_free_size()

Hi Rob, The issue as I understand it is that the overhead in the allocation system, the mysterious four bytes, is not per "user allocation" it is per "block of contiguous user allocations". As there are more separated sets of these contiguous user allocations the number of these four byte overheads,...
by ESP_Angus
Thu Nov 19, 2020 11:43 pm
Forum: ESP-IDF
Topic: #include gives no such file or directory (IDFGH-4287)
Replies: 3
Views: 204

Re: #include gives no such file or directory (IDFGH-4287)

This solution work, thanks you for your help. Regarding include from esp idf component, which relative file i'm suppose to be in. am i starting in ../esp-idf/components/any file/include? Am i calling #include <driver/gpio.h>? You shouldn't have to pass any relative paths like this. If your componen...
by ESP_Angus
Thu Nov 19, 2020 11:37 pm
Forum: ESP-IDF
Topic: Problem with xPortGetFreeHeapSize()/heap_caps_get_free_size()
Replies: 9
Views: 603

Re: Problem with xPortGetFreeHeapSize()/heap_caps_get_free_size()

EDIT: I think the issue here is simply that heap_caps_get_free_size(MALLOC_CAP_8BIT) reports the wrong number some of the time. Here's a really simple example to illustrate the problem: Hi Rob, I think what you are measuring here is the cost of heap fragmentation. To give an overly simplified examp...
by ESP_Angus
Thu Nov 19, 2020 6:55 am
Forum: ESP-IDF
Topic: Google IoT client's memory limiter conflicts with ESP-IDF heap corruption detector
Replies: 2
Views: 195

Re: Google IoT client's memory limiter conflicts with ESP-IDF heap corruption detector

Hi dastoned,

Thanks for the detailed report.

I see you've posted about the same issue on GitHub: https://github.com/espressif/esp-google-iot/issues/18

Someone will reply to you there soon.
by ESP_Angus
Wed Nov 18, 2020 11:52 pm
Forum: ESP-IDF
Topic: Flash Encryption
Replies: 8
Views: 338

Re: Flash Encryption

Hi Denty, Yes. We used to document this in ESP-IDF v3.x, but it was replaced when "Development mode" was introduced as that method is actually easier to do (fully integrated with the build system, so less fiddling around pre-encrypting all the binaries on the host). You can see the steps for generat...
by ESP_Angus
Wed Nov 18, 2020 11:48 pm
Forum: ESP-IDF
Topic: #include gives no such file or directory (IDFGH-4287)
Replies: 3
Views: 204

Re: #include gives no such file or directory

Hi Veelox, Each component needs to declare the other components that it depnds on (requires). So in this case the "sensor" component needs to have "REQUIRES stc3115_drivers" added to the idf_component_register arguments list. For more details see https://docs.espressif.com/projects/esp-idf/en/v4.1/a...
by ESP_Angus
Wed Nov 18, 2020 4:22 am
Forum: ESP-IDF
Topic: Change Reflashable to One-Time Flash
Replies: 3
Views: 205

Re: Change Reflashable to One-Time Flash

Hi Andras, I'm glad the explanation was helpful, I appreciate some of these concepts are a bit unusual. wow, thank you for the fast and detailed explanation, that makes a lot of things clear. However, there are two things I don't understand. In "reflashable method" you can also generate a new bootlo...
by ESP_Angus
Wed Nov 18, 2020 3:13 am
Forum: ESP-IDF
Topic: Flash Encryption
Replies: 8
Views: 338

Re: Flash Encryption

Hi lildenty, That's correct. In ESP-IDF V4.0 and newer we have something called " Development mode ", which does allow reflashing of the binary even without knowing the key. However this setup is for debugging a firmware with flash encryption enabled, it's not suitable for production (because someon...

Go to advanced search