On-Chip Emulation Analysis Block:
Online Stack Overflow Detection
Emulation analysis registers are accessible to code as well!
Configure a watchpoint to monitor for writes near the end of
the stack
Watchpoint triggers maskable RTOSINT interrupt
Works with DSP/BIOS and non-DSP/BIOS
See TI application report SPRA820 for implementation details
Data Memory
Monitor for data
writes in region near
the end of the stack
Region of
memory
occupied
by the
stack
Stack grows
towards higher
memory
addresses