Search found 4 matches

by monyster
Wed Jun 07, 2023 6:57 am
Forum: ESP-IDF
Topic: A stack overflow in task w5500_tsk has been detected
Replies: 8
Views: 3842

Re: A stack overflow in task w5500_tsk has been detected

-- MY PROBLEM SOLVED -- Thank you for your help. I solved the problem by changing the initialization order. Updated main function: void app_main(void) { ESP_ERROR_CHECK(esp_event_loop_create_default()); ESP_ERROR_CHECK(nvs_flash_init()); ESP_ERROR_CHECK(esp_netif_init()); vTaskDelay(pdMS_TO_TICKS(20...
by monyster
Fri Jun 02, 2023 2:19 pm
Forum: ESP-IDF
Topic: A stack overflow in task w5500_tsk has been detected
Replies: 8
Views: 3842

Re: A stack overflow in task w5500_tsk has been detected

I didn`t find where to use this function in my code (spi_device_polling_transmit). I fixed the stack overflow by setting the stack size to LWIP -> tcp/ip -> 8190. But still new problem: E (1266562) w5500.mac: w5500_write(75): spi transmit failed E (1266562) w5500.mac: w5500_write_buffer(174): write ...
by monyster
Thu Jun 01, 2023 11:49 am
Forum: ESP-IDF
Topic: A stack overflow in task w5500_tsk has been detected
Replies: 8
Views: 3842

Re: A stack overflow in task w5500_tsk has been detected

Features: - 16 MB internal flash memory and 8 MB PSRAM (80 MHz) - SPI W5500 (5MHZ) - SD CARD (10MHZ) SPIFFS for html, js, css, webp and user database. W5500 for http server. SD-CARD for sqlite3 log database. esp_err_t spiffs_mount(void) { esp_vfs_spiffs_conf_t conf = { .base_path = SPIFFS_MOUNT_POIN...
by monyster
Wed May 31, 2023 7:37 am
Forum: ESP-IDF
Topic: A stack overflow in task w5500_tsk has been detected
Replies: 8
Views: 3842

Re: A stack overflow in task w5500_tsk has been detected

Hi! Did you solve this problem because I have the same one? Using: - ESP-IDF 5. - ESP32-S3. E (1479766) w5500.mac: w5500_read(98): spi transmit failed E (1479766) w5500.mac: w5500_read_buffer(193): read RX buffer failed E (1479766) w5500.mac: emac_w5500_receive(576): read payload failed, len=316, of...