Anonymous
Not applicable
Feb 14, 2016
03:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 14, 2016
03:33 AM
Hi,
How can I debug the stack usage of my application? I read that I should fill the stack with an arbitrary value and then observe how it changes in time by debugging but how can I fill the stack?
Necdet
Labels
- Labels:
-
PSoC 5LP
1 Reply
Feb 14, 2016
04:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 14, 2016
04:02 AM
You could set the memory manually when debugging. Furthermore you can watch the SP register to get a rough estimation when halting at a deep nested or local memory consuming function.
Bob