Search found 55 matches

by Alberk
Sun Oct 06, 2024 1:04 am
Forum: ESP-IDF
Topic: ESP32 SPI Flash Read Write
Replies: 1
Views: 1578

ESP32 SPI Flash Read Write

I would like to confirm if execution of Task is also blocked for the duration of an internal (Built-in) SPI Flash Read. The statememt below in the Espressif documentation only mention Write. https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/performance/speed.html Task execution ...
by Alberk
Thu Sep 26, 2024 7:32 am
Forum: ESP-IDF
Topic: ESP Flash Speed
Replies: 2
Views: 755

Re: ESP Flash Speed

Thanks.
Does that mean it does not matter if I use the esptool parameter to flash the firmware ? assuming the firmware is built with the speed configurations.
by Alberk
Thu Sep 26, 2024 4:14 am
Forum: ESP-IDF
Topic: ESP Flash Speed
Replies: 2
Views: 755

ESP Flash Speed

I have the ESP32 WROVER E (Rev 3) development board and a bit confused with the the esptool commands The sdkconfig has the following option compiled. CONFIG_ESPTOOLPY_FLASHMODE_QIO=y CONFIG_ESPTOOLPY_FLASHFREQ_80M=y CONFIG_SPIRAM_SPEED_80M=y What is the purpose of the esptool flash_mode ? esptool.py...
by Alberk
Sun May 12, 2024 7:40 am
Forum: ESP-IDF
Topic: SNTP with DHCP Static and Dynamic Host
Replies: 0
Views: 719

SNTP with DHCP Static and Dynamic Host

Hi, I would like to understand with is going on with the following code. With the macro ESP_NETIF_SNTP_DEFAULT_CONFIG(CONFIG_SNTP_TIME_SERVER); it should be creating single entry (position zero), then the config.index_of_first_server = 1 points to position one, that should crash on setup? Can someon...
by Alberk
Fri May 10, 2024 9:50 am
Forum: ESP-IDF
Topic: IP_EVENT Value
Replies: 0
Views: 493

IP_EVENT Value

Hi, I would like to know how is the IP_EVENT and WIFI_EVENT value derived?. In my program, is it possible to register and deregister the esp_event_handler_register and esp_event_loop_create_default() multiple times ? esp_netif_init(); esp_event_loop_create_default(); esp_netif_create_default_wifi_st...
by Alberk
Tue Jan 23, 2024 1:29 am
Forum: ESP-IDF
Topic: ESP32 Ethernet with WIFI STA
Replies: 1
Views: 1025

ESP32 Ethernet with WIFI STA

Hi, I am looking if this is possible and if there is an example code around? 1) The Ethernet (W5500) connects to a device and provides DHCP (DHCP server running on Ethernet port). 2) Data received from Ethernet is processed. 3) Data is then sent out through the WIFI STA (DHCP is from AP). Device <--...
by Alberk
Wed Oct 18, 2023 9:23 am
Forum: ESP-IDF
Topic: Largest contiguous RAM for HEAP
Replies: 16
Views: 8960

Re: Largest contiguous RAM for HEAP

If you are going to use the IRAM memory there are limitation that you must be aware off. https://esp32.com/viewtopic.php?t=23891#p94825
by Alberk
Wed Oct 18, 2023 9:10 am
Forum: ESP-IDF
Topic: Largest contiguous RAM for HEAP
Replies: 16
Views: 8960

Re: Largest contiguous RAM for HEAP

These are good strategies, I guess there are no possibilities to change the heap allocation strategy of malloc to first get D/IRAM and then switch to DRAM, reason ist that the DRAM section is larger than the D/IRAM section. So if malloc would first allocate from D/IRAM, the large contiguous block fr...
by Alberk
Wed Oct 18, 2023 9:03 am
Forum: ESP-IDF
Topic: Largest contiguous RAM for HEAP
Replies: 16
Views: 8960

Re: Largest contiguous RAM for HEAP

That's a good resource for heap analysis. Unfortunately nothing is said about heap fragmentation and how to best avoid it in order to get a large as possible contiguous block. Any more ideas? :) This should get the largest free block for the different memory types. size_t heap_caps_get_largest_free...