Hi Max,
Thanks for your script, I'll try it later.
I think printf/scanf contributes most part of the problem. The code stops crashing after I increase stack size, but it doesn't produce expected outputs until I apply the aligned(8) fix.
Another thing I'd like to try it to move params io to another low priority task, which only gets executed when it's requested to read/write params. In this case, the stack of other tasks can be reduced.
Regards,
Ye