Search found 163 matches

by davdav
Mon May 20, 2019 1:23 pm
Forum: ESP32 IDF
Topic: [Solved] Can RTC IO output state be retained in hibernation mode?
Replies: 3
Views: 1408

Re: [Solved] Can RTC IO output state be retained in hibernation mode?

Thanks @ESP_igrr! Works great from both main program (using rtc_gpio_hold_en / dis) and from ULP (using individual registers and bits). EDIT: A short description how to use hold enable / disable functionality together with an ULP program is available under https://github.com/krzychb/ulp-loop Hi @kr...
by davdav
Tue May 07, 2019 11:49 am
Forum: General Discussion
Topic: [SOLVED] mDNS
Replies: 2
Views: 121

Re: mDNS

Thanks @WiFive. Got it.
by davdav
Tue May 07, 2019 10:57 am
Forum: General Discussion
Topic: [SOLVED] mDNS
Replies: 2
Views: 121

[SOLVED] mDNS

Hi eveybody, I'm testing mDNS component and I have setup it using this simple code: //initialize mDNS service esp_err_t err = mdns_init(); if (err) { ESP_LOGW(TAG_WIFI, "MDNS Init failed: 0x%X\n", err); } else { //set hostname mdns_hostname_set("avior"); //set default instance mdns_instance_name_set...
by davdav
Mon Apr 29, 2019 12:42 pm
Forum: General Discussion
Topic: flash encryption (pre-generated key) procedure flow
Replies: 13
Views: 1293

Re: flash encryption (pre-generated key) procedure flow

Thanks @ESP_Angus for confirmation.

I will go through the proposed solution.

Thank you.
by davdav
Sat Apr 27, 2019 4:48 pm
Forum: General Discussion
Topic: ADC_VREF already calibrated on ESP32_WROOM_32D
Replies: 6
Views: 448

Re: ADC_VREF already calibrated on ESP32_WROOM_32D

I flashed the "adc" example in ESP-IDF which route to GPIO26 the Vref. I was expected to find 1114mV, but in reality I measure 1100mV (the "per-design" reference voltage). A difference of 114mV seems abnormal. Are you sure you're measurement equipment is correct? Could you also call espefuse.py sum...
by davdav
Fri Apr 26, 2019 8:49 pm
Forum: General Discussion
Topic: flash encryption (pre-generated key) procedure flow
Replies: 13
Views: 1293

Re: flash encryption (pre-generated key) procedure flow

Hello @ESP_Angus, Thank for informations and explanation. Just a question: Let's imagine application is running on ota_0 partition and it should be upgraded to ota_1 partition. What if (for any reason), the upgrade pre-encrypted "ota_0" bin file is written on "ota_1" partition? When the device is re...
by davdav
Fri Apr 26, 2019 7:54 pm
Forum: General Discussion
Topic: ADC_VREF already calibrated on ESP32_WROOM_32D
Replies: 6
Views: 448

Re: ADC_VREF already calibrated on ESP32_WROOM_32D

How much do you trust your voltage meter vs factory equipment? The calibrated error is listed as +-23mV for 0dB and your readings are within this margin. Well, I have measured the Vref with 3 different multimeters..and difference between result was +-1mV. Anyway, I have found what you stated (+-23m...
by davdav
Thu Apr 25, 2019 1:30 pm
Forum: General Discussion
Topic: flash encryption (pre-generated key) procedure flow
Replies: 13
Views: 1293

Re: flash encryption (pre-generated key) procedure flow

I'm at this point myself and obviously want to avoid having multiple firmware files depending on the flash address. Hello @boarchuz, I was thinking the same workaround (expect the last one) you wrote down. I think that first option is probably the most straightforward: when the device contact the s...
by davdav
Wed Apr 24, 2019 9:48 pm
Forum: General Discussion
Topic: flash encryption (pre-generated key) procedure flow
Replies: 13
Views: 1293

Re: flash encryption (pre-generated key) procedure flow

Fantastic, glad you were able to figure out the problem. Hello Angus, I have to retrieve this post to understand if I can apply a fw upgrade between two OTA partitions using pre-generated key encrypted firmware. I resume our current state: -we have ESP_wroom_32 module with 4MB flash. Because we nee...
by davdav
Wed Apr 24, 2019 9:20 am
Forum: General Discussion
Topic: ADC_VREF already calibrated on ESP32_WROOM_32D
Replies: 6
Views: 448

Re: ADC_VREF already calibrated on ESP32_WROOM_32D

Hello, I have perfomed some other test on different samples of ESP32_WROOM_32D modules. I noted some differences between the efuse Vref value and the one measured on GPIO26. This results in error of measured voltage. I report here my results on 6 samples: Vapplied is the voltage applied to AD1_CHANN...

Go to advanced search