Hi,
I tried to monitor stack usage by tasks during run time. In the RTOS kernel manual, there is some example code to do. It basically calls Task_Stat() function to return a data struct named Task_stat which contains fields named "used" and "stackSize". Both the example code and the online document for RTOS kernel say clearly the purpose of these two fields, ie. "used to give stack usage, and "stackSize" is for allowed stack size. But after I ran the code, it returns "used" as 0 and "stackSIze" as stack size used. I was wondering if anyone else encountered the same issue. Do we have the source code for function "Task_Stat()" so maybe I can verify?