Search found 300 matches

by mbratch
Mon Jun 21, 2021 2:13 am
Forum: ESP32 Arduino
Topic: IP suddenly stops responding after several hours running
Replies: 6
Views: 80234

Re: AsyncWebServer suddenly stops responding to http requests after a couple of hours running

Possibly a memory leak? You may want to print the amount of free memory (using e.g. heap_caps_get_free_size(MALLOC_CAP_8BIT)) to see if that consistently goes down. Possibly. Although I'm sending packets to one ESP32 at double the rate that I'm sending them to the other, yet they stop responding at...
by mbratch
Mon Jun 21, 2021 12:16 am
Forum: ESP32 Arduino
Topic: IP suddenly stops responding after several hours running
Replies: 6
Views: 80234

IP suddenly stops responding after several hours running

I have two separate ESP32 Pico kits running a simple REST API server. The applications are identical in function. One is written with the Arduino framework. The other I ported to ESP-IDF. I am using 'curl' on a Linux server in a script to generate REST API calls to each of the ESP32's every second j...
by mbratch
Sun Jun 20, 2021 12:56 am
Forum: ESP-IDF
Topic: where is the "Preprocessor Include Paths" in my eclipse IDE ?
Replies: 9
Views: 8707

Re: where is the "Preprocessor Include Paths" in my eclipse IDE ?

Has this question been resolved? I have the same issue. I installed the Eclipse IDE per the instructions at the Espressif website. I also did an update of Eclipse from the Eclipse menu. I'm currently running Version: 2021-03 (4.19.0). From what I can tell, the ESP-IDF plugin(s) do something special ...
by mbratch
Sun Jun 13, 2021 4:44 pm
Forum: Hardware
Topic: ESP32 Pico Kit v4.1 Memory Map
Replies: 11
Views: 9870

Re: ESP32 Pico Kit v4.1 Memory Map

The other 3M are not being used. What we have discussed there is a default partition table. If your application is bigger than 1M or need partitions for other purposes then you can define your own partition table, see https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/partition-...
by mbratch
Sun Jun 13, 2021 11:33 am
Forum: Hardware
Topic: ESP32 Pico Kit v4.1 Memory Map
Replies: 11
Views: 9870

Re: ESP32 Pico Kit v4.1 Memory Map

RIght. But if I read the current partition table, shouldn't I see what the total space is allocated to in terms of existing partitions? Such information would be redundant in the partition table. You can calculate the total space basing on the offset and size of individual partitions. I understand ...
by mbratch
Sat Jun 12, 2021 4:02 pm
Forum: Hardware
Topic: ESP32 Pico Kit v4.1 Memory Map
Replies: 11
Views: 9870

Re: ESP32 Pico Kit v4.1 Memory Map

The total size of all the partitions is up to the application developer who should fit it into flash available on the board (but does not need to take all available space). RIght. But if I read the current partition table, shouldn't I see what the total space is allocated to in terms of existing pa...
by mbratch
Sat Jun 12, 2021 11:53 am
Forum: Hardware
Topic: ESP32 Pico Kit v4.1 Memory Map
Replies: 11
Views: 9870

Re: ESP32 Pico Kit v4.1 Memory Map

Hi ESP_krzychb, thanks for the reply. It's helpful to know what a correct output should look like. Interesting... I have two ESP32 products. One is a Pico Devkit v4.1 and the other an ESP32 Mini D1. The 'read_partition' function works fin on the Mini, but does not yield a size on the Pico. I was abl...
by mbratch
Sat Jun 12, 2021 2:50 am
Forum: Hardware
Topic: ESP32 Pico Kit v4.1 Memory Map
Replies: 11
Views: 9870

Re: ESP32 Pico Kit v4.1 Memory Map

I just learned about parttool.py and tried using it. I ran the following command: parttool.py --port COM12 get_partition_info --partition-name=factory --info size And I got the following output, but I'm not really sure how to interpret the size from this. Running C:\Users\...\python.exe C:\Users\..\...
by mbratch
Sat Jun 12, 2021 2:25 am
Forum: Hardware
Topic: ESP32 Pico Kit v4.1 Memory Map
Replies: 11
Views: 9870

Re: ESP32 Pico Kit v4.1 Memory Map

Thanks for the reply.

I'm using PlatformIO plugin with VS Code and the Arduino framework. I haven't explicitly done any configuration of the partition table, so I do not know how it is configured, or how to find out exactly. I can research that.
by mbratch
Fri Jun 11, 2021 2:13 pm
Forum: Hardware
Topic: ESP32 Pico Kit v4.1 Memory Map
Replies: 11
Views: 9870

ESP32 Pico Kit v4.1 Memory Map

I recently purchased an ESP32 Pico Kit v4.1. So far it works very well for my application. I am trying to understand memory capacity. Specifications I see for the ESP32 Pico indicate 4MB of flash capacity. However, when I do a compile and link, it says there is 1MB flash available for code. I can't ...