You are here

Stack Usage | Cypress Semiconductor

Stack Usage

Summary: 1 Reply, Latest post by Bob Marlowe on 14 Feb 2016 04:02 AM PST
Verified Answers: 1
Last post
Log in to post new comments.
necdetalpmen_1437776's picture
11 posts


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?


user_1377889's picture
9294 posts

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.



Log in to post new comments.