wifi socket error

luxluka
Posts: 2
Joined: Sat May 27, 2017 3:14 am

wifi socket error

Postby luxluka » Sat May 27, 2017 3:34 am

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

ESP_igrr
Posts: 2067
Joined: Tue Dec 01, 2015 8:37 am

Re: wifi socket error

Postby ESP_igrr » Tue May 30, 2017 4:26 am

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.

luxluka
Posts: 2
Joined: Sat May 27, 2017 3:14 am

Re: wifi socket error

Postby luxluka » Wed May 31, 2017 6:31 am

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???

Nelapsi
Posts: 6
Joined: Wed May 10, 2017 10:13 am

Re: wifi socket error

Postby Nelapsi » Wed May 31, 2017 10:17 am

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.

Who is online

Users browsing this forum: Google [Bot] and 114 guests