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
wifi socket error
Re: wifi socket error
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
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???
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
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.
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: No registered users and 68 guests