4 Replies Latest reply on May 22, 2019 4:24 AM by user_100009800

    How to trace stack overflow in running mode?

    user_100009800

      Hi Everyones!

       

           I have encountered a stack overflow problem due to the allocation of large arrays in some of my functions.

           Does anyone know how to check the stack usage in running mode?  Or how to access the SP(stack pointer) register in running mode?

       

           BTW, the MCU that I am using now is a CY8C6347.

       

           Any hint or code snippet will be appreciated!

       

       

      Sean Wang