Please help me.
This message is meaningless for me!
The error happens in the beginning of code execution.
void setup()
{
Serial.begin(115200);
...
xTaskCreatePinnedToCore(
Core0_Setup,
"Core 0 Setup",
10000,
NULL,
1,
&Core0_Setup_hdl,
0);
...
}
The task comprehends:
void Core0_Setup(void *pvParameters)
{
Serial.printf("\n\t[Core %u]: CORE 0 SETUP em %lums.", xPortGetCoreID(), millis());
startTimer();
vQ_1s000 = xQueueCreate(10, sizeof(unsigned long));
vTaskDelete(NULL);
};
Function startTimer:
void startTimer()
{
timer = timerBegin(0, 80, true);
timerAttachInterrupt(timer, &Contagem, true);
timerAlarmWrite(timer, base_de_tempo, true);
timerAlarmEnable(timer);
}
And the complete failure message:
"
[Core 0]:duino-lib-builder/esp32-arduino-lib-builder/esp-idf/compone
xQueue "nts/freertos/queue.c:1442 (xQueueGenericReceive)- assert failed!
abort() was called at PC 0x40086d39 on core 0
ELF file SHA256: 0000000000000000
Backtrace: 0x40085d80:0x3ffc6980 0x40085ffd:0x3ffc69a0 0x40086d39:0x3ffc69c0 0x400d1810:0x3ffc6a00 0x4008700e:0x3ffc6a30
Rebooting…
"
What should I check first?
Thank you.
Regards,
Ciro.