Page 1 of 1

wifi socket error

Posted: Sat May 27, 2017 3:34 am
by luxluka
When I use wifi socket connection, around 30 minutes later ESP32 is reboot.

This is error log

Guru Meditation Error: Core 1 panic'ed (abort)

Backtrace: 0x400847a7:0x3ffdbf70 0x400d0fcd:0x3ffdbf90 0x40111624:0x3ffdbfb0

Re: wifi socket error

Posted: Tue May 30, 2017 4:26 am
by ESP_igrr
If you use 'make monitor' tool in ESP-IDF, you can get the readable backtrace (file names/line numbers). What happened here is that some code has terminated the program by calling 'abort()'. The backtrace can give you a hint what could be the reason for that.

Re: wifi socket error

Posted: Wed May 31, 2017 6:31 am
by luxluka
The error occurs

C:/Dev/esp-idf/components/freertos/tasks.c:1386 (vTaskDelay)- assert failed!
abort() was called at PC 0x40084f95 on core 1
Guru Meditation Error: Core 1 panic'ed (abort)

Backtrace: 0x40084f77:0x3ffdc660 0x400d113d:0x3ffdc680 0x40111d28:0x3ffdc6a0

What's problems in freeRTOS and vTaskDelay???

Re: wifi socket error

Posted: Wed May 31, 2017 10:17 am
by Nelapsi
Hi,

Not all the freeRTOS functions are avaliable yet, last time I tried vTaskDelayUntil(), it wasn't. But, check if you have the last esp-idf version because vTaskDelay() works fine.
vTaskDelay(tics), with default settings vTaskDelay(1000 / portTICK_RATE_MS); if you want a 1 sec delay.