Search found 4 matches
- Tue Sep 07, 2021 7:32 am
- Forum: ESP32 Arduino
- Topic: InstrFetchProhibited when using xTaskCreatePinnedToCore
- Replies: 7
- Views: 5121
Re: InstrFetchProhibited when using xTaskCreatePinnedToCore
0x400e2979: _vfiprintf_r at ../../../.././newlib/libc/stdio/vfprintf.c line 859 Is suggesting you are having some printf, sprintf or similar functions (maybe ESP_IDFx) in your task, and the snippet shows that task stack size is only 2000, which is not enough in that case. You need at least 3-3.5kB ...
- Tue Sep 07, 2021 2:27 am
- Forum: ESP32 Arduino
- Topic: InstrFetchProhibited when using xTaskCreatePinnedToCore
- Replies: 7
- Views: 5121
Re: InstrFetchProhibited when using xTaskCreatePinnedToCore
Thanks for the feedback. I cant find an overflow anywhere in the code... The last test was conducted with main loop having 32kb stack size and each additional task having 5kb. I was monitoring the free stack space using uxTaskGetStackHighWaterMark() in each task and none of them came close to overfl...
- Mon Sep 06, 2021 11:09 am
- Forum: ESP32 Arduino
- Topic: InstrFetchProhibited when using xTaskCreatePinnedToCore
- Replies: 7
- Views: 5121
Re: InstrFetchProhibited when using xTaskCreatePinnedToCore
Hi,
Thanks for your response.. I have tried updating the task stack size but I don't think the issue is related to it. Increasing the task stack size didn't solve the problem either..
Thanks for your response.. I have tried updating the task stack size but I don't think the issue is related to it. Increasing the task stack size didn't solve the problem either..
- Mon Sep 06, 2021 6:45 am
- Forum: ESP32 Arduino
- Topic: InstrFetchProhibited when using xTaskCreatePinnedToCore
- Replies: 7
- Views: 5121
InstrFetchProhibited when using xTaskCreatePinnedToCore
Have been trying to solve this issue for a while, Still no luck! My code is working fine when I am running everything from the main loop but it crashes (after an hour) when I run a part of it from a second Task running on core 0. I am using Arduino IDE for sketching. The error is: Guru Meditation Er...