Search found 3 matches
- Wed Aug 30, 2023 12:31 pm
- Forum: ESP-IDF
- Topic: xTaskCreatePinnedToCore doesn't return after starting task
- Replies: 4
- Views: 2024
Re: xTaskCreatePinnedToCore doesn't return after starting task
No, nothing. Everything just hangs. The only reason I knew it wasn't really "hung" was I put a print inside the loop and it merrily printed. It's as though it got stuck so hard in the loop that xTaskCreatePinnedToCore wasn't able to detach itself. I added another print immediately after that call an...
- Tue Aug 29, 2023 2:13 pm
- Forum: ESP-IDF
- Topic: xTaskCreatePinnedToCore doesn't return after starting task
- Replies: 4
- Views: 2024
Re: xTaskCreatePinnedToCore doesn't return after starting task
It still perplexes me why a compiler change apparently trigged this error, but I have fixed it. I added a vTaskDelay(1) into the loop in task_LowLevelRX. Apparently with that task set at a relatively high priority, the scheduler never interrupted it. Putting even a single tick delay in allows the sc...
- Sat Aug 26, 2023 3:19 am
- Forum: ESP-IDF
- Topic: xTaskCreatePinnedToCore doesn't return after starting task
- Replies: 4
- Views: 2024
xTaskCreatePinnedToCore doesn't return after starting task
I have a really odd story I need help with. I'm using an ESP32 with CAN Bus to emulate a CAN Bus device in my truck so that I can do development on a different board without having to buy two of the expensive vehicle boxes. It has been working great for the past 18 months. For the CAN stuff I've bee...