Task with stack in RTC memory crashes when writing to flash
Posted: Mon Dec 16, 2024 12:59 am
I have attempted to use RTC FAST memory as a task's stack, and it works, until the task attempts to do a flash write operation, which causes a crash, but the printed stack dump has only one frame and is flagged as corrupted. I didn't find any information about limitations when using RTC memory as stack, or any evidence that someone has tried it. So, is it actually possible to write to flash from code in RTC memory, and are there any caveats when using RTC memory as stack?