Hi experts,
My customer is using STL_SPC_DETECT_setUpSpcDetect to detect stack pointer corruption, and we need to know the principle.
Why the address below can set the hardware watch point?
// Analysis Watchpoint Register definitions
#define STL_SPC_DETECT_WPR1_MASK_LOW (volatile uint16_t *)(uint16_t)0x0828U
#define STL_SPC_DETECT_WPR1_MASK_HIGH (volatile uint16_t *)(uint16_t)0x0829U
#define STL_SPC_DETECT_WPR1_REF_LOW (volatile uint16_t *)(uint16_t)0x082AU
#define STL_SPC_DETECT_WPR1_REF_HIGH (volatile uint16_t *)(uint16_t)0x082BU
#define STL_SPC_DETECT_WPR1_CTRL (volatile uint16_t *)(uint16_t)0x082EU
#define STL_SPC_DETECT_WPR1_ID (volatile uint16_t *)(uint16_t)0x082FU
How to set up the hardware watch point? Is there any document to introduce it?
BR
Jim