Page 1 of 1

how to use xTaskCreatePinnedToCore?

Posted: Sun Aug 30, 2020 8:10 pm
by mazorsk
calling it with stack depth of 1 - 2048 causes:
***ERROR*** A stack overflow in task atask has been detected.

calling it with stack depth of 2048 - some_high_value causes:
abort() was called at PC 0x400874b7 on core 0

what can i do to make you help me with this?
i am trying to do a patch over a patch (over a patch) since i cannot seem to read the data returning from an http request...
thanks in advance.

Re: how to use xTaskCreatePinnedToCore?

Posted: Sun Aug 30, 2020 8:58 pm
by ESP_Sprite
The stack overflow is exactly what it sounds like. It's more likely that the abort() is something else, but without seeing your code or a backtrace, it's impossible to know what it was.

Re: how to use xTaskCreatePinnedToCore?

Posted: Mon Aug 31, 2020 10:01 am
by chegewara
Its probably not the case, but do you have task in infinite loop or does it end with vTaskDelete? Task cant exit.