Search found 5 matches

by Timmwardion
Sun May 26, 2024 2:37 am
Forum: ESP-IDF
Topic: (SOLVED)ESP-IDF: E (588) wifi:failed to post WiFi event=40 ret=259
Replies: 7
Views: 1574

Re: (SOLVED)ESP-IDF: E (588) wifi:failed to post WiFi event=40 ret=259

I can confirm that I added the event loop line above:

Code: Select all

 ESP_ERROR_CHECK(esp_event_loop_create_default());
And also changed

Code: Select all

err = esp_wifi_set_mode(WIFI_MODE_STA);
to

Code: Select all

err = esp_wifi_set_mode(WIFI_MODE_NULL);
Errors have stopped completely.

Thanks CraftyZA
by Timmwardion
Tue Apr 30, 2024 2:25 pm
Forum: ESP-IDF
Topic: Tracking down cause of Guru Meditation Error in Wifi related to wifi_malloc
Replies: 1
Views: 276

Tracking down cause of Guru Meditation Error in Wifi related to wifi_malloc

I'm getting a Guru Meditation Error that seems to be related to Wifi. But I can't figure out the cause of it. The Wifi task seems incredibly hard to get info on or to tweak in terms of stack size etc. So I'm a bit stumped and wondering if any of you have any ideas. Here is my register dump and backt...
by Timmwardion
Wed Apr 24, 2024 4:03 am
Forum: IDEs for ESP-IDF
Topic: On Chip Debugging of Memory (stack/heaps/etc) in VScode
Replies: 1
Views: 1882

On Chip Debugging of Memory (stack/heaps/etc) in VScode

Over the past few weeks I've been getting a crazy number of memory errors as I evolve my code, so I finally bit the bullet and dug into getting JTAG and IDF debugging working. Clearly I need to get into the weeds on how memory is being allocated. Now - code-level debugging is working just fine, but ...
by Timmwardion
Wed Nov 29, 2023 2:31 am
Forum: ESP-IDF
Topic: SPI with two external boards on ESP32-C6
Replies: 1
Views: 1057

SPI with two external boards on ESP32-C6

Hi all, I'm struggling with connecting two ESP32 boards (sensors) onto a master receiver (ESP32-C6). The documentation here: https://docs.espressif.com/projects/esp-idf/en/v5.1.2/esp32c6/api-reference/peripherals/spi_master.html On the C6, SPI0 and SPI1 are used internally to access the ESP32-C6’s a...