Part Number: TMS570LS1224
Same as title.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TMS570LS1224
Same as title.
For checking static stack usage, there is a Stack Usage view available in Code Composer Studio. The information for this view is generated on project build. It does not provide run-time analysis, and it will not provide information on a per task basis.
For TMS570 devices, one method for detecting runtime stack overflow using MPU is described in this post.
If you are working with an RTOS based system, the RTOS provider may also have tooling that provides stack usage at runtime.
For heap, there is no static way to determine heap usage like there is with stack. It can only be determined at run time and there isn't a specific tool from TI that can help with this. Here is a related thread that could be helpful: https://e2e.ti.com/support/microcontrollers/hercules/f/312/t/364106
For measuring performance, from a tooling standpoint you could try the event counter or profile clock:
http://dev.ti.com/tirex/explore/node?node=ACh7aaTRwDWC-8ORL0EHMg__FUz-xrs__LATEST
Also check out this application note that describes some methods for measuring code execution through software implementation: http://www.ti.com/lit/spna138a
Hope this helps.