Hi All,
I understand System Stack is used by HWi's and Swi's and is given the exact number in .cfg file. I went through various [memory related] docs in keystone series [including sys-bios]. I understand ROV and its working. what i wanted is "getting snapshot/statistics of the system stack usage in run time" [plz note that this dsp does not have any access to JTAG, its built in release mode and run on .eth image....ROV is ruled out..mm.also let me know if there is a possibility under such situations].
the way memory snapshot/statistics are available for heap usage and task stack, is there any API where i can get the following information.
current usage, max usage, total size...etc
also i understand that this system stack is to be roughly pre-calculated [based on possible number of Hwi's and Swi's used in system] and given the correct number. but, still i wanted a wayto estimate the stats of it [dynamically].
My questions are
1. is there any API readily available as part of Ti sysbios or Ti packges [MCSDK installation].
2. or do I need to write my own API. If so how to get memory start address of the system stack to poll for a known pattern [like 0xDEADBEEF or 0xBEBEBEBE] and calculate/compute. please let me know more on this.
Thanks
RC Reddy