Hello,
I have numerous tasks and some global variables defined as volatile. I have added a new task and declared a quite large array statically in the new task. The size is around 512Byte. Somehow I see the global variable is overwritten when the new task is added to the program. (when this task is not started everything is fine)
I would say, my problem is very similar to this post:

But I am not sure what to do to solve it.
I have increase the new task stack size over 8192 Byte but the problem still exists (anyway the stackPeak is far below the stackSIze in ROV.
Another question, when I declare an array statically in a task which stack will be used?
Looking forward any help,
thank you.