Search found 784 matches

by ESP_igrr
Fri Sep 22, 2017 4:43 am
Forum: ESP32 SDK
Topic: ESP32 Wifi Station Modem Sleep Delay
Replies: 2
Views: 24

Re: ESP32 Wifi Station Modem Sleep Delay

This was (is) a feature which made its way from the ESP8266, which had cases of packet loss in modem sleep mode early on, which caused some cases of lost DHCP replies, which in turn caused longer times until IP was obtained. On the ESP32 it seems to be unnecessary. We do have a work in progress bran...
by ESP_igrr
Fri Sep 22, 2017 4:28 am
Forum: General Discussion
Topic: Example sd card speed problem?
Replies: 1
Views: 21

Re: Example sd card speed problem?

Which IDF version are you using? High speed mode support was added in IDF master branch in July, in commit 6baf8195 . If you are using ESP-IDF v2.1, high speed mode is not supported there, sorry. In IDF sdmmc driver, clock frequencies used for default speed and high speed mode are 20 and 40 MHz, res...
by ESP_igrr
Fri Sep 22, 2017 3:04 am
Forum: ESP32 SDK
Topic: Crash when waking up from light sleep
Replies: 4
Views: 61

Re: Crash when waking up from light sleep

Thanks for the report again, i was able to reproduce the issue. We will have it fixed shortly. In the meantime, you may enable dual core mode as a workaround (the issue only happens in single core mode).
by ESP_igrr
Thu Sep 21, 2017 7:27 am
Forum: ESP32 SDK
Topic: Crash when waking up from light sleep
Replies: 4
Views: 61

Re: Crash when waking up from light sleep

It looks like the flash chip is not waking up fast enough after sleep. Can you try increasing CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY even further? (i see that you have it set to 1500 already).
by ESP_igrr
Thu Sep 21, 2017 4:22 am
Forum: General Discussion
Topic: How to get hibernate?
Replies: 2
Views: 65

Re: How to get hibernate?

Hi, can you tell which IDF commit ID you are using? With the latest version of master branch, the following code esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_SLOW_MEM, ESP_PD_OPTION_OFF); esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_FAST_MEM, ESP_PD_OPTION_OFF); esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_P...
by ESP_igrr
Wed Sep 20, 2017 6:52 pm
Forum: ESP32 SDK
Topic: Looking for help with component.mk warnings in libesphttpd
Replies: 4
Views: 43

Re: Looking for help with component.mk warnings in libesphttpd

1. Usage of undefined variables now triggers warnings, ifdef/ifndef should be used to check variables before usage: http://esp-idf.readthedocs.io/en/latest/api-guides/build-system.html#warning-on-undefined-variables 2. $(Q) needs to be replaced with $(summary) (as in https://github.com/espressif/esp...
by ESP_igrr
Wed Sep 20, 2017 5:33 pm
Forum: ESP32 SDK
Topic: Looking for help with component.mk warnings in libesphttpd
Replies: 4
Views: 43

Re: Looking for help with component.mk warnings in libesphttpd

All these warnings are harmless, but the component.mk file needs to be updated to take latest IDF changes into account.
by ESP_igrr
Tue Sep 19, 2017 12:13 am
Forum: General Discussion
Topic: Timer group performance
Replies: 10
Views: 135

Re: Timer group performance

You may find SystemView helpful for debugging such issues. It offers a graphical representation of program events, such as interrupts and task switches. It should be easy to see what "gets in the way" of your refresh routine. http://esp-idf.readthedocs.io/en/latest/api-guides/app_trace.htm...
by ESP_igrr
Mon Sep 18, 2017 10:35 am
Forum: ESP32 SDK
Topic: some questions about spi_flash_mmap
Replies: 3
Views: 77

Re: some questions about spi_flash_mmap

Is it possible to save data in area which is not supportted now (unused area, not in partitions) using spi_flash_write_encrypted and read them using spi_flash_mmap? All area of the flash chip is supported , in the sense that it can be accessed via spi_flash_* APIs and esp_partition_* APIs (in the l...
by ESP_igrr
Mon Sep 18, 2017 4:08 am
Forum: ESP32 SDK
Topic: some questions about spi_flash_mmap
Replies: 3
Views: 77

Re: some questions about spi_flash_mmap

Memory-mapped reads from flash are always decrypted if flash encryption is on, that is how the flash MMU is designed.
Therefore you can't use memory mapping to read from unencrypted partitions in flash, if flash encryption is on. (Or rather, you can, but such reads will produce garbage)

Go to advanced search