Search found 6 matches

by atlaste
Tue Apr 30, 2024 10:01 am
Forum: ESP-IDF
Topic: Minimum ESP32-S2 build for testing
Replies: 2
Views: 502

Minimum ESP32-S2 build for testing

Hi, I've been attempting to make a minimum build configuration for the ESP32-S2 so we can just test a single device. Basically what I'm trying to do is get UART up and running and some driver (say, SPI) and then remove everything else from the build so that I can iterate development more quickly. So...
by atlaste
Tue Feb 13, 2024 1:58 pm
Forum: ESP-IDF
Topic: ESP32-S2 memory leak
Replies: 2
Views: 693

Re: ESP32-S2 memory leak

Well, for anyone else bumping into this. The issue was that lwip_recv callbacks need to do a pbuf_free. The stack traces just make this confusing.

Anyways, problem solved.
by atlaste
Tue Feb 06, 2024 12:13 pm
Forum: ESP-IDF
Topic: ESP32-S2 memory leak
Replies: 2
Views: 693

Re: ESP32-S2 memory leak

For the record, this leak consistently occurs when we accept a connection with LWIP, do some send/recv operations on the socket and then close it (close / abort). We then wait for a few seconds for TCP FIN to occur before checking the heap status, and find that 1.6 KB is gone. We can reproduce the p...
by atlaste
Mon Feb 05, 2024 3:56 pm
Forum: ESP-IDF
Topic: ESP32-S2 memory leak
Replies: 2
Views: 693

ESP32-S2 memory leak

Hi, We're using LWIP to do async TCP/IP connections. During the development, we've found two memory leaks that we cannot explain; one of them roughly 16 bytes, the other one roughly 1.6 KB Here are the relevant stack traces: Lost ptr=3FFE43B8 size=1696 heap_caps_malloc_base C:/Espressif/frameworks/e...
by atlaste
Fri Jun 23, 2023 7:03 am
Forum: Hardware
Topic: Using ESP32-S2 without WiFi
Replies: 3
Views: 4001

Re: Using ESP32-S2 without WiFi

First off, thank you for the very informative reply! I assume you advice that we never initialize the wifi stack to ensure that the IC won't be damaged. From your comment I also assume that not initializing it means that the LNA_IN/RF pin won't be used at all (until `coax_init` is called I suppose)....
by atlaste
Thu Jun 22, 2023 1:51 pm
Forum: Hardware
Topic: Using ESP32-S2 without WiFi
Replies: 3
Views: 4001

Using ESP32-S2 without WiFi

Hi there, I've been wondering for some time now how I can make an ESP32-S2 module without any WiFi functionality. I have some real life applications for this. https://www.espressif.com/sites/default/files/documentation/esp32-s2_hardware_design_guidelines_en.pdf gives an overview of the hardware desi...