I've been working with the XMEGA for the last four years, but I have never really dived "under the hood" with debugging or memory examination (until today).... which means I've been worried about stack overflow for that entire time.
I am using an XMEGA128A4U with 8KB of SRAM. After compiling, the output window says I am using 49% of my data memory. So I installed Dean's Stack Monitor extension today and went and exercised every feature/menu/capability of my embedded application.
Afterwards, the Stack Monitor says I was using ~400 of 4160 bytes for about 10% usage.
!!! WHAT a relief, thank you Dean. !!!
So my question is, can I calmly storm ahead and keep on pushing until that Stack Monitor figure is 80%? 90%? Or.... are there other ways that excessive data memory usage can run me into a fatal barrier?
Thanks for your insights
Mike in Alaska