When use the example from TI: erad_ex3_stack_overflow_detect
In the CMD file
RAMM1 : origin = 0x000400, length = 0x0003F8 /* on-chip RAM block M1 */
.stack : > RAMM1
Length is 0x0003F8(1016 *2= 2032 bytes)
I suppose the addr_params.address shall be 2032-10=2022.
But as below debug window shows that the value is 2030.
Another question is When first enter into the RTOSISR Interrupt.
Take the above debug infotmation, addr_params.addres =2030(3F7)
The start address of stack is 0x000400.
So I suppose when SP more than 0x400+0x3F7= 7F7, it shall enter into the RTOSISR Interrupt.
I suppose when first enter into the RTOSISR Interrupt, the SP value shall be 0X7F7+0X06=0X7FD. Not the 0x806.
Is must be something wrong with my understand.
Hoep TI expert can help